Add frontend #1

Merged
KartoffelChipss merged 50 commits from feature/frontend into main 2026-05-06 20:16:59 +02:00
2 changed files with 7 additions and 0 deletions
Showing only changes of commit ab5005f7df - Show all commits
+5
View File
@@ -0,0 +1,5 @@
const Footer = () => {
return <footer className="w-full mt-8"></footer>;
};
export default Footer;
+2
View File
@@ -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>
); );
}; };