From 63e1e6a44e1ded1db79df52f72126a263a9e6c26 Mon Sep 17 00:00:00 2001 From: openhands Date: Tue, 7 Jul 2026 19:17:22 +0200 Subject: [PATCH] Add themed header bar and image preview to news article cards --- src/app/news/page.tsx | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/src/app/news/page.tsx b/src/app/news/page.tsx index 79f545587d..f9d01ebb8d 100644 --- a/src/app/news/page.tsx +++ b/src/app/news/page.tsx @@ -40,34 +40,41 @@ export default async function NewsPage() { ) : (
{articles.map((a) => ( -
+
+ 📰 {t("title")} · {formatDate(a.createdAt)} +
{a.image ? ( ) : (
)}
-

- {a.title} +

+ {a.title}

-

- {formatDate(a.createdAt)} -

-

{excerpt(a.shortStory, 200)}

+

{excerpt(a.shortStory, 200)}

-
+ ))}
)}