feat: list of pages

This commit is contained in:
Ivan Rezchikov
2026-07-13 20:11:42 +03:00
parent 2e356e4c47
commit 7a7ca2d831
7 changed files with 122 additions and 68 deletions
+1 -1
View File
@@ -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>