From 77ccaa21abeaaa32c77ee23462218707ecba9f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aron=20Sch=C3=BCler?= Date: Thu, 7 Mar 2024 11:07:50 +0100 Subject: [PATCH] feat: link to existing features from dashboard --- src/views/Dashboard.tsx | 10 ++++++++++ src/views/NewLayout.tsx | 12 ++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/views/Dashboard.tsx b/src/views/Dashboard.tsx index 082e3a3..acf4489 100644 --- a/src/views/Dashboard.tsx +++ b/src/views/Dashboard.tsx @@ -1,8 +1,18 @@ +import { Link } from "react-router-dom"; import { BasePageLayout } from "../components/base/BasePageLayout"; +import { dashboardRoutes } from "../routes"; export const Dashboard = () => (

Dashboard

Welcome to the dashboard.

+
+ + Go to visualizations + + + See imported sessions + +
); diff --git a/src/views/NewLayout.tsx b/src/views/NewLayout.tsx index 24f4364..bd98cb1 100644 --- a/src/views/NewLayout.tsx +++ b/src/views/NewLayout.tsx @@ -28,9 +28,9 @@ const navigation: NavType[] = [ icon: HomeIcon, }, { - name: "Goals", - href: dashboardRoutes.goals, - icon: ArrowTrendingUpIcon, + name: "Visualization", + href: dashboardRoutes.visualization, + icon: ChartBarSquareIcon, }, { name: "Sessions", @@ -38,9 +38,9 @@ const navigation: NavType[] = [ icon: FolderIcon, }, { - name: "Visualization", - href: dashboardRoutes.visualization, - icon: ChartBarSquareIcon, + name: "Goals", + href: dashboardRoutes.goals, + icon: ArrowTrendingUpIcon, }, ];