diff --git a/src/app/news/page.tsx b/src/app/news/page.tsx index 556229ec..79f54558 100644 --- a/src/app/news/page.tsx +++ b/src/app/news/page.tsx @@ -45,13 +45,28 @@ export default async function NewsPage() { className="card hover" style={{ display: "flex", flexDirection: "column" }} > -
- {formatDate(a.createdAt)} -
-{excerpt(a.shortStory, 200)}
+ {a.image ? ( ++ {formatDate(a.createdAt)} +
+{excerpt(a.shortStory, 200)}
+