Add frontend #1
@@ -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 { useCurrentUser } from '../hooks/api/useCurrentUser';
|
||||||
import type { User } from '../api/types/user';
|
import type { User } from '../api/types/user';
|
||||||
import { getToken } from '../utils/credentials';
|
import { getToken } from '../utils/credentials';
|
||||||
|
import Footer from '../components/Footer';
|
||||||
|
|
||||||
interface PageProps {
|
interface PageProps {
|
||||||
title: string;
|
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 || ''}`}>
|
<main className={`max-w-(--breakpoint-xl) mx-auto px-4 ${className || ''}`}>
|
||||||
{children}
|
{children}
|
||||||
</main>
|
</main>
|
||||||
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user