Remove dashboard from header

This commit is contained in:
Nicolas Mowen 2024-02-07 12:23:37 -07:00
parent 5976de8324
commit 474bdbca65
2 changed files with 4 additions and 11 deletions

View File

@ -4,7 +4,6 @@ import { useState } from "react";
import Wrapper from "@/components/Wrapper";
import Sidebar from "@/components/Sidebar";
import Header from "@/components/Header";
import Dashboard from "@/pages/Dashboard";
import Live from "@/pages/Live";
import History from "@/pages/History";
import Export from "@/pages/Export";
@ -32,8 +31,7 @@ function App() {
<Sidebar sheetOpen={sheetOpen} setSheetOpen={setSheetOpen} />
<div id="pageRoot" className="overflow-x-hidden px-4 py-2 w-screen">
<Routes>
<Route path="/" element={<Dashboard />} />
<Route path="/live" element={<Live />} />
<Route path="/" element={<Live />} />
<Route path="/history" element={<History />} />
<Route path="/export" element={<Export />} />
<Route path="/storage" element={<Storage />} />

View File

@ -66,26 +66,21 @@ function HeaderNavigation() {
const navbarLinks = [
{
id: 1,
title: "Dashboard",
title: "Live",
url: "/",
},
{
id: 2,
title: "Live",
url: "/live",
},
{
id: 3,
title: "History",
url: "/history",
},
{
id: 4,
id: 3,
title: "Export",
url: "/export",
},
{
id: 5,
id: 4,
title: "UI Playground",
url: "/playground",
dev: true,