Skip to content

Commit

Permalink
fix: add nft-bridge route
Browse files Browse the repository at this point in the history
  • Loading branch information
Holybasil committed Jun 14, 2023
1 parent 39610ca commit 9149a60
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 118 deletions.
58 changes: 0 additions & 58 deletions src/Portal.tsx

This file was deleted.

5 changes: 5 additions & 0 deletions src/components/Header/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const navigations = [
key: "bridge",
href: "/bridge",
},
{
label: "NFT Bridge",
key: "nft-bridge",
href: "/nft-bridge",
},
{
label: "Ecosystem",
key: "ecosystem",
Expand Down
8 changes: 8 additions & 0 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import IframeEmbedding from "@/components/IframeEmbedding"
import Bridge from "@/pages/bridge"
import Ecosystem from "@/pages/ecosystem"
import Portal from "@/pages/home"
import NFTBridge from "@/pages/nftBridge"
import RollupScanBatch from "@/pages/rollup/batch"
import RollupScanBlock from "@/pages/rollup/block"
import RollupScan from "@/pages/rollup/index"
Expand Down Expand Up @@ -52,6 +53,13 @@ const routes = [
fullPath: "/bridge",
element: <Bridge />,
},

{
name: "NFTBridge",
path: "/nft-bridge",
fullPath: "/nft-bridge",
element: <NFTBridge />,
},
{
name: "Ecosystem",
path: "/ecosystem",
Expand Down
60 changes: 0 additions & 60 deletions src/routes/portalRoutes.tsx

This file was deleted.

0 comments on commit 9149a60

Please sign in to comment.