Restructures navigation into a components folder and adds Over mij route
Moves AppShell out of src/shared into a top-level components folder alongside the new Footer and NavigationBar, replaces the about page with over-mij.tsx, and drops the unused counter.ts.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { Outlet } from '@tanstack/react-router';
|
||||
import NavigationBar from './NavigationBar/NavigationBar';
|
||||
import Footer from './Footer';
|
||||
|
||||
export default function AppShell() {
|
||||
return (
|
||||
<>
|
||||
<NavigationBar />
|
||||
<Outlet />
|
||||
<Footer />
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
export default function Footer() {
|
||||
return (
|
||||
<footer className="p-2 text-center">
|
||||
<p className="text-sm text-gray-500">
|
||||
© {new Date().getFullYear()} Andrea Slop Fotografie. All
|
||||
rights reserved.
|
||||
</p>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user