Skip to content

Commit

Permalink
add BTEC guide page at /btec route
Browse files Browse the repository at this point in the history
  • Loading branch information
wackerow committed Feb 11, 2023
1 parent dd1b250 commit d718fab
Show file tree
Hide file tree
Showing 6 changed files with 913 additions and 6 deletions.
3 changes: 3 additions & 0 deletions src/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
Languages,
TopUpPage,
Withdrawals,
BtecGuide,
} from './pages';
import ScrollToTop from './utils/ScrollToTop';
import { Prysm } from './pages/Clients/Consensus/Prysm';
Expand Down Expand Up @@ -66,6 +67,7 @@ export enum routesEnum {
notFoundPage = '/*',
languagesPage = '/languages',
withdrawals = '/withdrawals',
btecGuide = '/btec',
}
const routes: RouteType[] = [
{
Expand Down Expand Up @@ -120,6 +122,7 @@ const routes: RouteType[] = [
{ path: routesEnum.languagesPage, exact: true, component: Languages },
{ path: routesEnum.topUpPage, exact: true, component: TopUpPage },
{ path: routesEnum.withdrawals, exact: true, component: Withdrawals },
{ path: routesEnum.btecGuide, exact: true, component: BtecGuide },
{ path: routesEnum.landingPage, exact: true, component: LandingPage },
// NOTE: this wildcard route must be the last index of the routes array
{ path: routesEnum.notFoundPage, component: NotFoundPage },
Expand Down
Loading

0 comments on commit d718fab

Please sign in to comment.