feat(navbar) new style, better performance

This commit is contained in:
lumither committed 2024-05-25 23:20:12 +08:00
1 parent 60a4a88246
commit d855df0d6e
7 files changed
+90 -73

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ async function Blog() {
let posts = res['posts'];
return (
// blog list
<ul className={ 'flex flex-col items-center w-full max-w-[1024px]' }>
<ul className={ 'flex flex-col items-center w-full' }>
{ posts.map((post: JSON, key: React.Key | null | undefined) => (
<li key={ key } className={ 'my-7 w-full' }>
<BlogPostCard post={ post } />