mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
feat(navbar) new style, better performance
This commit is contained in:
7 files changed
+90
-73
No files matched your search
+1
-1
@@ -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 } />
|
||||
|
||||
Reference in new issue
Block a user