diff --git a/app/page.tsx b/app/page.tsx index 4954a54f..3694f3c1 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -9,9 +9,9 @@ import { Parole } from "@/components/parole"; export default function Home() { return ( -
+
{/* First row */} -
+
@@ -27,7 +27,7 @@ export default function Home() {
{/* Second row */} -
+
diff --git a/components/email.tsx b/components/email.tsx index 29891a96..5bef9213 100644 --- a/components/email.tsx +++ b/components/email.tsx @@ -100,24 +100,24 @@ export function Email() { - + {error ? (

{error}

) : ( -
+
{emails.length === 0 ? (

No emails available

) : ( emails.map((email) => (
-
- {email.sender.name} -
+
+ {email.sender.name} +
{email.isUnread && ( - + )} {email.date}
diff --git a/components/news.tsx b/components/news.tsx index bcef357e..e51ef7b5 100644 --- a/components/news.tsx +++ b/components/news.tsx @@ -78,22 +78,22 @@ export function News() { - + {error ? (

{error}

) : ( -
+
{news.length === 0 ? (

No news available

) : ( news.map((item) => (
-
- {item.date} - +
+ {item.date} + {item.category}