diff --git a/apps/app/src/components/Navigation.tsx b/apps/app/src/components/Navigation.tsx index f778028..77f086c 100644 --- a/apps/app/src/components/Navigation.tsx +++ b/apps/app/src/components/Navigation.tsx @@ -7,7 +7,8 @@ import { CardTitle, } from '@boring.tools/ui' import { Link } from '@tanstack/react-router' -import { BellIcon, HomeIcon } from 'lucide-react' +import { BellIcon } from 'lucide-react' +import { NavigationRoutes } from '../utils/navigation-routes' export const Navigation = () => { return ( @@ -24,14 +25,17 @@ export const Navigation = () => {
@@ -39,8 +43,8 @@ export const Navigation = () => { More Infos - If you want more informations about boring.tools, visit our - documenation! + If you want more information about boring.tools, visit our + documentation! diff --git a/apps/app/src/components/NavigationMobile.tsx b/apps/app/src/components/NavigationMobile.tsx index 1a15b29..1562fd6 100644 --- a/apps/app/src/components/NavigationMobile.tsx +++ b/apps/app/src/components/NavigationMobile.tsx @@ -10,7 +10,8 @@ import { SheetTrigger, } from '@boring.tools/ui' import { Link } from '@tanstack/react-router' -import { HomeIcon, MenuIcon } from 'lucide-react' +import { MenuIcon } from 'lucide-react' +import { NavigationRoutes } from '../utils/navigation-routes' export const NavigationMobile = () => { return ( @@ -29,24 +30,27 @@ export const NavigationMobile = () => { > boring.tools - - - Dashboard - + {NavigationRoutes.map((route) => ( + + + {route.name} + + ))}
More Infos - If you want more informations about boring.tools, visit our - documenation! + If you want more information about boring.tools, visit our + documentation! diff --git a/apps/app/src/utils/navigation-routes.ts b/apps/app/src/utils/navigation-routes.ts new file mode 100644 index 0000000..eaeb012 --- /dev/null +++ b/apps/app/src/utils/navigation-routes.ts @@ -0,0 +1,9 @@ +import { HouseIcon } from 'lucide-react' + +export const NavigationRoutes = [ + { + name: 'Dashboard', + to: '/', + icon: HouseIcon, + }, +]