Skip to content

Commit

Permalink
feat: add KungFu and PersonalGrowth pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ndt080 committed Aug 16, 2024
1 parent f7598ec commit cc019fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/processes/navigation/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import { RoutePath } from '../values/routePath.ts';

export default [
{ path: RoutePath.Home, lazy: () => import('@pages/Home/HomePage.tsx') },
{ path: RoutePath.Article, lazy: () => import('@pages/ArticlePage/ArticlePage.tsx') },
{ path: RoutePath.Articles, lazy: () => import('@pages/ArticlesPage/ArticlesPage.tsx') },
{ path: RoutePath.Karate, lazy: () => import('@pages/BaseTextPage/BaseTextPage.tsx') },
{ path: RoutePath.KungFu, lazy: () => import('@pages/BaseTextPage/BaseTextPage.tsx') },
{ path: RoutePath.PersonalGrowth, lazy: () => import('@pages/BaseTextPage/BaseTextPage.tsx') },
{ path: RoutePath.Schedule, lazy: () => import('@pages/BaseTextPage/BaseTextPage.tsx') },
{ path: RoutePath.About, lazy: () => import('@pages/BaseTextPage/BaseTextPage.tsx') },
{ path: RoutePath.Article, lazy: () => import('@pages/ArticlePage/ArticlePage.tsx') },
{ path: RoutePath.Articles, lazy: () => import('@pages/ArticlesPage/ArticlesPage.tsx') },
] satisfies RouteObject[];
2 changes: 2 additions & 0 deletions src/processes/navigation/values/routePath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ export enum RoutePath {
Home = '/',
Karate = '/karate',
Schedule = '/schedule',
PersonalGrowth = '/personal-growth',
KungFu = '/kung-fu',
About = '/about',
Articles = '/articles',
Article = '/articles/:id',
Expand Down

0 comments on commit cc019fc

Please sign in to comment.