feat(footer) add footer

This commit is contained in:
lumither committed 2024-03-24 13:35:58 +08:00
1 parent cd487561d4
commit dad86cdaad
2 files changed
+11

No files matched your search

+9
View File
@@ -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>
);
}
+2
View File
@@ -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>