From 58d132139ba8d5fa17c8681a0275047ce4cca809 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 3 Dec 2025 03:51:29 +0900 Subject: feat(frontend): design update --- frontend/src/pages/UnreadArticles.tsx | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'frontend/src/pages/UnreadArticles.tsx') diff --git a/frontend/src/pages/UnreadArticles.tsx b/frontend/src/pages/UnreadArticles.tsx index dc4c377..28cc8b5 100644 --- a/frontend/src/pages/UnreadArticles.tsx +++ b/frontend/src/pages/UnreadArticles.tsx @@ -11,21 +11,29 @@ export function UnreadArticles() { }); if (fetching) { - return
Loading unread articles...
; + return ( +
+

Loading unread articles...

+
+ ); } if (error) { - return
Error: {error.message}
; + return ( +
+ Error: {error.message} +
+ ); } return (
-
-

Unread Articles

+
+

Unread

{data?.unreadArticles && ( -

+

{data.unreadArticles.length} article - {data.unreadArticles.length !== 1 ? "s" : ""} + {data.unreadArticles.length !== 1 ? "s" : ""} to read

)}
-- cgit v1.2.3-70-g09d2