Add footer
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
const Footer = () => {
|
||||
return <footer className="w-full mt-8"></footer>;
|
||||
};
|
||||
|
||||
export default Footer;
|
||||
@@ -4,6 +4,7 @@ import Navbar from '../components/navbar';
|
||||
import { useCurrentUser } from '../hooks/api/useCurrentUser';
|
||||
import type { User } from '../api/types/user';
|
||||
import { getToken } from '../utils/credentials';
|
||||
import Footer from '../components/Footer';
|
||||
|
||||
interface PageProps {
|
||||
title: string;
|
||||
@@ -41,6 +42,7 @@ const Page = ({ children, title, className, requireAuth = true }: PropsWithChild
|
||||
<main className={`max-w-(--breakpoint-xl) mx-auto px-4 ${className || ''}`}>
|
||||
{children}
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user