diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-03 03:51:29 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-04 23:27:28 +0900 |
| commit | 58d132139ba8d5fa17c8681a0275047ce4cca809 (patch) | |
| tree | 7dd18f5de496483b7d318e12e43379a51f3a6056 /frontend/src/components/ArticleList.tsx | |
| parent | aac4e9ccdebe52c156506d1899d5a38e99366f69 (diff) | |
| download | feedaka-58d132139ba8d5fa17c8681a0275047ce4cca809.tar.gz feedaka-58d132139ba8d5fa17c8681a0275047ce4cca809.tar.zst feedaka-58d132139ba8d5fa17c8681a0275047ce4cca809.zip | |
feat(frontend): design update
Diffstat (limited to 'frontend/src/components/ArticleList.tsx')
| -rw-r--r-- | frontend/src/components/ArticleList.tsx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/frontend/src/components/ArticleList.tsx b/frontend/src/components/ArticleList.tsx index 574f529..afadb25 100644 --- a/frontend/src/components/ArticleList.tsx +++ b/frontend/src/components/ArticleList.tsx @@ -30,7 +30,9 @@ export function ArticleList({ articles, isReadView }: Props) { if (visibleArticles.length === 0) { return ( - <div className="p-4 text-center text-gray-500">No articles found.</div> + <div className="py-8 text-center"> + <p className="text-sm text-stone-400">No articles found.</p> + </div> ); } @@ -54,14 +56,14 @@ export function ArticleList({ articles, isReadView }: Props) { ); return ( - <div className="space-y-6 p-4"> + <div className="space-y-8"> {Object.values(articlesByFeed).map(({ feed, articles: feedArticles }) => ( - <div key={feed.id} className="space-y-2"> - <h3 className="text-lg font-semibold text-gray-900 border-b border-gray-200 pb-2"> + <div key={feed.id} className="space-y-3"> + <h3 className="border-b border-stone-200 pb-2 text-sm font-semibold uppercase tracking-wide text-stone-900"> {feed.title} - <span className="ml-2 text-sm font-normal text-gray-500"> - ({feedArticles.length} article - {feedArticles.length !== 1 ? "s" : ""}) + <span className="ml-2 text-xs font-normal normal-case tracking-normal text-stone-400"> + {feedArticles.length} article + {feedArticles.length !== 1 ? "s" : ""} </span> </h3> <div className="space-y-1"> |
