mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
feat(navbar) update navbar
This commit is contained in:
7 files changed
+173
-47
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
const Archive = () => {
|
||||
return (
|
||||
<div>
|
||||
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Archive;
|
||||
@@ -4,7 +4,7 @@ import Generate from '@/app/blog/post/[id]/generate';
|
||||
function BlogReader({ params }: { params: { id: string } }) {
|
||||
|
||||
return (
|
||||
<div className={ `mx-7 my-7 w-full` }>
|
||||
<div className={ `w-full` }>
|
||||
<Generate id={ params.id } />
|
||||
</div>
|
||||
);
|
||||
|
||||
+3
-1
@@ -3,6 +3,7 @@ import './globals.css';
|
||||
import React from 'react';
|
||||
import { ThemeProvider as NextThemesProvider } from 'next-themes';
|
||||
import Navbar from '@/components/Navbar';
|
||||
import Footer from '@/components/Footer';
|
||||
|
||||
|
||||
export const metadata: Metadata = {
|
||||
@@ -21,8 +22,9 @@ export default function RootLayout({
|
||||
<NextThemesProvider attribute="class" defaultTheme="dark">
|
||||
<div className={ `justify-center flex flex-row w-full` }>
|
||||
<Navbar />
|
||||
<div className={ `flex-auto max-w-[1024px]` }>
|
||||
<div className={ `flex flex-col flex-auto max-w-[1024px]` }>
|
||||
{ children }
|
||||
<Footer />
|
||||
</div>
|
||||
</div>
|
||||
</NextThemesProvider>
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
const Search = () => {
|
||||
return (
|
||||
<div>
|
||||
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Search;
|
||||
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
const Tags = () => {
|
||||
return (
|
||||
<div>
|
||||
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Tags;
|
||||
Reference in new issue
Block a user