diff --git a/client/src/pages/category.tsx b/client/src/pages/category.tsx index 5d71cbf..daefe7d 100644 --- a/client/src/pages/category.tsx +++ b/client/src/pages/category.tsx @@ -149,46 +149,30 @@ export default function CategoryPage() { ) : data && data.articles.length > 0 ? ( <> -
+
{data.articles.flatMap((article, index) => { const items = [
-
-
- {article.title} -
+
+ {article.title}
-
-
- {article.author} - · - {format(new Date(article.publishedAt), "d. MMMM yyyy", { locale: de })} -
-

+
+

{article.title}

-

- {article.excerpt} -

-
- - - {article.views.toLocaleString()} - - -
+ + {format(new Date(article.publishedAt), "d. MMMM yyyy", { locale: de })} +

,