From 141f411b714b88516071d7dba73cec54f32d3a23 Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sat, 19 Jul 2025 17:49:48 +0000
Subject: feat(landing): The pricing page

---
 apps/landing/src/App.tsx | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

(limited to 'apps/landing/src/App.tsx')

diff --git a/apps/landing/src/App.tsx b/apps/landing/src/App.tsx
index ddf92e32..45a019c5 100644
--- a/apps/landing/src/App.tsx
+++ b/apps/landing/src/App.tsx
@@ -1,13 +1,18 @@
 import Homepage from "@/src/Homepage";
+import Pricing from "@/src/Pricing";
 import Privacy from "@/src/Privacy";
+import { BrowserRouter, Route, Routes } from "react-router";
 
 import "@karakeep/tailwind-config/globals.css";
 
 export default function App() {
-  // Poor man router
-  if (window.location.pathname === "/privacy") {
-    return <Privacy />;
-  }
-
-  return <Homepage />;
+  return (
+    <BrowserRouter>
+      <Routes>
+        <Route path="/" element={<Homepage />} />
+        <Route path="/pricing" element={<Pricing />} />
+        <Route path="/privacy" element={<Privacy />} />
+      </Routes>
+    </BrowserRouter>
+  );
 }
-- 
cgit v1.3-1-g0d28

