From 3f2d3560dc04dbee23237d896c1325389035c738 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sun, 6 Apr 2025 22:57:07 +0100
Subject: refactor: Migrate the landing page from nextjs to vite

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

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

diff --git a/apps/landing/src/App.tsx b/apps/landing/src/App.tsx
new file mode 100644
index 00000000..06a1e5b8
--- /dev/null
+++ b/apps/landing/src/App.tsx
@@ -0,0 +1,13 @@
+import Homepage from "@/src/Homepage";
+import Privacy from "@/src/Privacy";
+
+import "@hoarder/tailwind-config/globals.css";
+
+export default function App() {
+  // Poor man router
+  if (window.location.pathname === "/privacy") {
+    return <Privacy />;
+  }
+
+  return <Homepage />;
+}
-- 
cgit v1.2.3-70-g09d2

