Skip to content

Commit

Permalink
Merge branch 'landing-page' into landing-hero-section
Browse files Browse the repository at this point in the history
  • Loading branch information
kpyszkowski authored Apr 22, 2024
2 parents 743a657 + 72f500c commit de68655
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dapp/src/pages/ActivityPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function ActivityPage() {

return (
<Flex direction="column" gap={4} p={6}>
<ChakraLink as={ReactRouterLink} to={routerPath.overview}>
<ChakraLink as={ReactRouterLink} to={routerPath.dashboard}>
<Icon
as={ArrowLeft}
boxSize={8}
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import TransactionHistory from "./TransactionHistory"
import { DocsCard } from "./DocsCard"
import { ActivityCarousel } from "./ActivityCarousel"

export default function OverviewPage() {
export default function DashboardPage() {
return (
<Flex direction="column" p={6}>
<HStack pb={3.5}>
Expand Down
6 changes: 3 additions & 3 deletions dapp/src/router/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from "react"
import { createBrowserRouter } from "react-router-dom"
import LandingPage from "#/pages/LandingPage"
import OverviewPage from "#/pages/OverviewPage"
import ActivityPage from "#/pages/ActivityPage"
import DashboardPage from "#/pages/DashboardPage"
import { routerPath } from "./path"

export const router = createBrowserRouter([
Expand All @@ -12,8 +12,8 @@ export const router = createBrowserRouter([
index: true,
},
{
path: routerPath.overview,
element: <OverviewPage />,
path: routerPath.dashboard,
element: <DashboardPage />,
},
{
path: `${routerPath.activity}/:activityId`,
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/router/path.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const routerPath = {
home: "/",
overview: "/overview",
dashboard: "/dashboard",
activity: "/activity-details",
}

0 comments on commit de68655

Please sign in to comment.