From e53a9dc83831c07b11a965bdfc86f3d85d12f448 Mon Sep 17 00:00:00 2001 From: openhands Date: Tue, 7 Jul 2026 19:29:22 +0200 Subject: [PATCH] Redesign news article cards with clean image-first layout and proper spacing --- src/app/news/page.tsx | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/app/news/page.tsx b/src/app/news/page.tsx index d22e9dd1..5580c5dc 100644 --- a/src/app/news/page.tsx +++ b/src/app/news/page.tsx @@ -44,19 +44,14 @@ export default async function NewsPage() { key={a.slug} href={`/news/${a.slug}`} className="card hover" - style={{ display: "flex", flexDirection: "column", textDecoration: "none" }} + style={{ + display: "flex", + flexDirection: "column", + textDecoration: "none", + padding: 0, + overflow: "hidden", + }} > -
- 📰 {t("title")} · {formatDate(a.createdAt)} -
{a.image ? ( ) : (
)} -
-

+
+

{a.title}

-

{excerpt(a.shortStory, 200)}

+

+ {formatDate(a.createdAt)} +

+

+ {excerpt(a.shortStory, 150)} +

))}