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/ReadArticles.tsx | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'frontend/src/pages/ReadArticles.tsx') diff --git a/frontend/src/pages/ReadArticles.tsx b/frontend/src/pages/ReadArticles.tsx index ccbd2dc..f90c3c9 100644 --- a/frontend/src/pages/ReadArticles.tsx +++ b/frontend/src/pages/ReadArticles.tsx @@ -11,19 +11,27 @@ export function ReadArticles() { }); if (fetching) { - return
Loading read articles...
; + return ( +
+

Loading read articles...

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

Read Articles

+
+

Read

{data?.readArticles && ( -

+

{data.readArticles.length} article {data.readArticles.length !== 1 ? "s" : ""}

-- cgit v1.2.3-70-g09d2