mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
feat(footer) add footer
This commit is contained in:
3 files changed
+16
-5
No files matched your search
@@ -0,0 +1,9 @@
|
||||
'use client';
|
||||
export default function Footer() {
|
||||
return (
|
||||
<div className={ `bottom-0 mt-5 content-center h-fit bg-slate-800/95` }>
|
||||
<p className={ `text-center my-2` }>©2024-{ new Date().getFullYear() } <a
|
||||
href={ 'https://github.com/lumither' }>Lumither Tao</a></p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -6,6 +6,7 @@ import { cn } from '@/lib/utils';
|
||||
import React from 'react';
|
||||
import { ThemeProvider } from '@/components/theme-provider';
|
||||
import Navbar from '@/app/navbar';
|
||||
import Footer from '@/app/footer';
|
||||
|
||||
|
||||
const fontSans = FontSans({
|
||||
@@ -39,6 +40,7 @@ export default function RootLayout({
|
||||
<div className={ 'mt-20 overflow-scroll' }>
|
||||
{ children }
|
||||
</div>
|
||||
<Footer />
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
|
||||
+5
-5
@@ -2,11 +2,11 @@ export default function Home() {
|
||||
let info = new Array(200).fill(<p> test </p>);
|
||||
return (
|
||||
<main>
|
||||
<ul>
|
||||
{ info.map((item, id) => (
|
||||
<li key={ id }> { item } </li>
|
||||
)) }
|
||||
</ul>
|
||||
<ul>
|
||||
{ info.map((item, id) => (
|
||||
<li key={ id }> { item } </li>
|
||||
)) }
|
||||
</ul>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user