diff --git a/package.json b/package.json index 2bca007..17adae6 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ }, "dependencies": { "@orbs-network/ton-access": "^2.3.3", + "@radix-ui/react-icons": "^1.3.2", "@radix-ui/react-label": "^2.1.0", "@radix-ui/react-navigation-menu": "^1.2.1", "@radix-ui/react-select": "^2.1.2", diff --git a/src/App.tsx b/src/App.tsx index 075a883..7fa6edc 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -26,11 +26,17 @@ import { } from "./components/ui/select"; import { Button } from "./components/ui/button"; import { cn } from "./lib/utils"; +import { LoopIcon, OpacityIcon } from "@radix-ui/react-icons" // import { Button } from "@/components/ui/button"; // import WebApp from "@twa-dev/sdk"; // import { useCounterContract } from "./hooks/useCounterContract"; // import { useTonConnect } from "./hooks/useTonConnect"; +const ROUTES = [ + { path: "swaps", label: "Swap", isIndex: true, icon: LoopIcon }, + { path: "pools", label: "Pools", isIndex: false, icon: OpacityIcon }, +]; + const router = createBrowserRouter( [ { @@ -39,7 +45,6 @@ const router = createBrowserRouter( children: [ { index: true, - path: "swaps", element: , }, { @@ -83,90 +88,80 @@ function App() { function TopNavigator() { return ( <> + {/* Header */}
-
+
+ {/* Logo and Brand */}
-
+
- + Orbiton
-
+ + {/* Desktop Navigation */} +
+ + + {/* Connect Button */}
+ + {/* Main Content */}
+ + {/* Footer */}