Skip to content

Commit

Permalink
feat: fix all urls
Browse files Browse the repository at this point in the history
  • Loading branch information
techemmy committed Sep 25, 2024
1 parent 18e5cc8 commit 3330454
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 12 deletions.
Binary file added public/images/sync-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/components/NavbarLarge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default function NavbarLarge({ appContext, ...props }: Props) {
{selectedNetwork === AVAILABLE_NETWORKS.zkSync && (
<NavigationMenuItem>
<NavLink
to="/explore"
to="/rewards"
className={({ isActive }) => {
return (isActive ? "text-primary " : "").concat("group");
}}
Expand All @@ -153,20 +153,20 @@ export default function NavbarLarge({ appContext, ...props }: Props) {
Trade to earn loyalty rewards
</ListItem>
<ListItem
href="/rewards"
href="/wrapper"
title="404 Wrapper"
logo={PiCodesandboxLogoBold}
>
Wrap LIBERTAS OMNIBUS NFTs
</ListItem>
<ListItem
href="/rewards"
href="/usdc-conversion"
title="USDC Conversion"
logo={MdCurrencyExchange}
>
Convert USDC.e to native USDC
</ListItem>
<ListItem href="/rewards" title="Staking" logo={FaEthereum}>
<ListItem href="/staking" title="Staking" logo={FaEthereum}>
Stake and earn rewards on your tokens
</ListItem>
</ListItemsContainer>
Expand Down
16 changes: 14 additions & 2 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ import Pool from "@/pages/pool";
import Launch from "@/pages/launch";
import Bridge from "@/pages/bridge";
import Portfolio from "@/pages/portfolio";
import Explore from "@/pages/explore";
import PoolWizard from "@/pages/pool-wizard";
import Pools from "@/pages/pools";
import PoolEarnings from "@/pages/pool-earnings";
import ExploreLoyaltyProgram from "@/pages/explore-loyalty-program";
import Explore404Wrapper from "@/pages/explore-404-wrapper";
import ExploreUSDCConversion from "@/pages/explore-usdc-conversion";
import ExploreStaking from "@/pages/explore-staking";
import BridgeMove from "@/pages/bridge-move";

const router = createBrowserRouter(
createRoutesFromElements([
Expand All @@ -27,13 +31,21 @@ const router = createBrowserRouter(
<Route path="/intro" element={<Intro />} />
<Route path="/home" element={<Home />} />
<Route index path="/swap" element={<Trade />} />

<Route path="/pool" element={<Pool />} />
<Route path="/pools" element={<Pools />} />
<Route path="/pool/wizard" element={<PoolWizard />} />
<Route path="/pool/earnings" element={<PoolEarnings />} />
<Route path="/explore" element={<Explore />} />

<Route path="/rewards" element={<ExploreLoyaltyProgram />} />
<Route path="/wrapper" element={<Explore404Wrapper />} />
<Route path="/usdc-conversion" element={<ExploreUSDCConversion />} />
<Route path="/staking" element={<ExploreStaking />} />

<Route path="/launch" element={<Launch />} />
<Route path="/dashboard" element={<Portfolio />} />

<Route path="/move" element={<BridgeMove />} />
<Route path="/bridge" element={<Bridge />} />
</Route>,
]),
Expand Down
3 changes: 3 additions & 0 deletions src/pages/bridge-move/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function BridgeMove() {
return <div>BridgeMove</div>;
}
3 changes: 3 additions & 0 deletions src/pages/explore-404-wrapper/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function Explore404Wrapper() {
return <div>Explore404Wrapper</div>;
}
3 changes: 3 additions & 0 deletions src/pages/explore-loyalty-program/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function ExploreLoyaltyProgram() {
return <>Hello</>;
}
3 changes: 3 additions & 0 deletions src/pages/explore-staking/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function ExploreStaking() {
return <div>ExploreStaking</div>;
}
3 changes: 3 additions & 0 deletions src/pages/explore-usdc-conversion/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function ExploreUSDCConversion() {
return <div>ExploreUSDCConversion</div>;
}
6 changes: 0 additions & 6 deletions src/pages/explore/index.tsx

This file was deleted.

0 comments on commit 3330454

Please sign in to comment.