+
+
+ {/* An renders whatever child route is currently active,
+ so you can think about this as a placeholder for
+ the child routes we defined above. */}
+
+
+ );
+}
diff --git a/client-tauri/src/components/NavBar.tsx b/client-tauri/src/components/NavBar.tsx
new file mode 100644
index 00000000..1f8532c0
--- /dev/null
+++ b/client-tauri/src/components/NavBar.tsx
@@ -0,0 +1,18 @@
+import { Link } from "react-router-dom";
+
+function NoMatch() {
+ /* A "layout route" is a good place to put markup you want to
+ share across all the pages on your site, like navigation. */
+ return (
+
+ );
+}
+
+export default NoMatch;
\ No newline at end of file
diff --git a/client-tauri/src/styles.css b/client-tauri/src/index.css
similarity index 100%
rename from client-tauri/src/styles.css
rename to client-tauri/src/index.css
diff --git a/client-tauri/src/main.tsx b/client-tauri/src/main.tsx
index 81da3460..dc4b2c42 100644
--- a/client-tauri/src/main.tsx
+++ b/client-tauri/src/main.tsx
@@ -1,10 +1,14 @@
import React from "react";
import ReactDOM from "react-dom/client";
-import App from "./App";
-import "./styles.css";
+import { BrowserRouter } from "react-router-dom";
-ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
+import App from "./App";
+import "./index.css";
+
+ReactDOM.createRoot(document.getElementById("root")!).render(
-
- ,
-);
+
+
+
+
+);
\ No newline at end of file
diff --git a/client-tauri/src/pages/About.tsx b/client-tauri/src/pages/About.tsx
new file mode 100644
index 00000000..c703576c
--- /dev/null
+++ b/client-tauri/src/pages/About.tsx
@@ -0,0 +1,10 @@
+
+function About() {
+ return (
+
+
About
+
+ );
+}
+
+export default About;
\ No newline at end of file
diff --git a/client-tauri/src/pages/Dashboard.tsx b/client-tauri/src/pages/Dashboard.tsx
new file mode 100644
index 00000000..5ce906f6
--- /dev/null
+++ b/client-tauri/src/pages/Dashboard.tsx
@@ -0,0 +1,10 @@
+
+function Dashboard() {
+ return (
+
+
Dashboard
+
+ );
+}
+
+export default Dashboard;
\ No newline at end of file
diff --git a/client-tauri/src/pages/Home.tsx b/client-tauri/src/pages/Home.tsx
new file mode 100644
index 00000000..6991f4b1
--- /dev/null
+++ b/client-tauri/src/pages/Home.tsx
@@ -0,0 +1,10 @@
+
+function Home() {
+ return (
+
+
Home
+
+ );
+}
+
+export default Home;
\ No newline at end of file
diff --git a/client-tauri/src/pages/NoMatch.tsx b/client-tauri/src/pages/NoMatch.tsx
new file mode 100644
index 00000000..1f3672aa
--- /dev/null
+++ b/client-tauri/src/pages/NoMatch.tsx
@@ -0,0 +1,14 @@
+import { Link } from "react-router-dom";
+
+function NoMatch() {
+ return (
+