From afdc982863b6cca573f1db58e1795aa8c45fabca Mon Sep 17 00:00:00 2001
From: schererleander <leander@schererleander.de>
Date: Fri, 30 May 2025 01:01:17 +0200
Subject: rewrite site

---
 src/App.tsx | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 src/App.tsx

(limited to 'src/App.tsx')

diff --git a/src/App.tsx b/src/App.tsx
new file mode 100644
index 0000000..c6e88bd
--- /dev/null
+++ b/src/App.tsx
@@ -0,0 +1,31 @@
+import { Routes, Route } from 'react-router-dom';
+import Navbar from './components/Navbar';
+import GearPage from './pages/Gear';
+import HomePage from './pages/Home';
+import ProjectsPage from './pages/Projects';
+import HomelabPage from './pages/Homelab';
+import Footer from './components/Footer';
+import PrintingPage from './pages/Printing';
+import NotFoundPage from './pages/404Page';
+
+function App() {
+
+  return (
+    <>
+      <Navbar />
+      <section className="max-w-xl mx-auto py-5 px-4">
+        <Routes>
+          <Route path="/" element={<HomePage />} />
+          <Route path="/gear" element={<GearPage />} />
+          <Route path='/projects' element={<ProjectsPage />} />
+          <Route path='/homelab' element={<HomelabPage />} />
+          <Route path='/printing' element={<PrintingPage />} />
+          <Route path='*' element={<NotFoundPage />} />
+        </Routes>
+      </section>
+      <Footer />
+    </>
+  );
+}
+
+export default App
-- 
cgit v1.3.1

