From e5c2fb7e3672fbd92c043154481ff249d9309a90 Mon Sep 17 00:00:00 2001 From: Maurice Heumann Date: Tue, 22 Apr 2025 15:18:50 +0200 Subject: [PATCH] Fix routing --- page/src/App.tsx | 6 +- page/src/LandingPage.tsx | 248 ++++++++++++++++++++------------------- 2 files changed, 129 insertions(+), 125 deletions(-) diff --git a/page/src/App.tsx b/page/src/App.tsx index 55b818ce..8aa5caec 100644 --- a/page/src/App.tsx +++ b/page/src/App.tsx @@ -1,5 +1,5 @@ import { ThemeProvider } from "@/components/theme-provider"; -import { BrowserRouter, Route, Routes } from "react-router-dom"; +import { HashRouter, Route, Routes } from "react-router-dom"; import { Playground } from "./Playground"; import { LandingPage } from "./LandingPage"; @@ -8,12 +8,12 @@ import "./App.css"; function App() { return ( - + } /> } /> - + ); } diff --git a/page/src/LandingPage.tsx b/page/src/LandingPage.tsx index 96f6dcb0..02eef848 100644 --- a/page/src/LandingPage.tsx +++ b/page/src/LandingPage.tsx @@ -9,7 +9,7 @@ import { Terminal, ExternalLink, Github, - Play + Play, } from "lucide-react"; export function LandingPage() { @@ -52,42 +52,43 @@ export function LandingPage() { ]; return ( -
- {/* Hero Section */} -
-
-
-
-

- Sogen -

-

- High-performance Windows user space emulator operating at - syscall level -

-
- - - - - - + <> +
+ {/* Hero Section */} +
+
+
+
+

+ Sogen +

+

+ High-performance Windows user space emulator operating at + syscall level +

+
-
- {/*
+ {/*
*/} -
-
-
- - {/* Key Features */} -
-
-
-

- Key Features -

-
- -
- {features.map((feature, index) => ( - - -
{feature.icon}
- {feature.title} -
- -

- {feature.description} -

-
-
- ))} -
-
-
- - {/* Video Section */} -
-
-
-

- See Sogen in Action -

-

- Watch an overview of the emulator's capabilities and see how it - can help with your research. -

-
- -
-
- -
-
-
-
-
- - {/* Footer */} -
-
-
-
-

Sogen

-

Windows User Space Emulator

-
-
-
-
-
+
+ + {/* Key Features */} +
+
+
+

+ Key Features +

+
+ +
+ {features.map((feature, index) => ( + + +
{feature.icon}
+ {feature.title} +
+ +

+ {feature.description} +

+
+
+ ))} +
+
+
+ + {/* Video Section */} +
+
+
+

+ See Sogen in Action +

+

+ Watch an overview of the emulator's capabilities and see how it + can help with your research. +

+
+ +
+
+ +
+
+
+
+
+ + {/* Footer */} + +
+ ); }