feat: list of pages
This commit is contained in:
@@ -6,7 +6,7 @@ import { formatDate } from "@/lib/utils";
|
||||
|
||||
export function NewsCard({ news }: { news: PagePublic }) {
|
||||
return (
|
||||
<div className="flex flex-col gap-2">
|
||||
<div className="flex flex-col gap-1">
|
||||
<Link href={`/news/${news.slug}`} className="w-max">
|
||||
<h2 className="hover:underline underline-offset-8 decoration-2 hover:duration-200 cursor-pointer">{news.title}</h2>
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user