mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Remove dashboard from header
This commit is contained in:
parent
5976de8324
commit
474bdbca65
@ -4,7 +4,6 @@ import { useState } from "react";
|
|||||||
import Wrapper from "@/components/Wrapper";
|
import Wrapper from "@/components/Wrapper";
|
||||||
import Sidebar from "@/components/Sidebar";
|
import Sidebar from "@/components/Sidebar";
|
||||||
import Header from "@/components/Header";
|
import Header from "@/components/Header";
|
||||||
import Dashboard from "@/pages/Dashboard";
|
|
||||||
import Live from "@/pages/Live";
|
import Live from "@/pages/Live";
|
||||||
import History from "@/pages/History";
|
import History from "@/pages/History";
|
||||||
import Export from "@/pages/Export";
|
import Export from "@/pages/Export";
|
||||||
@ -32,8 +31,7 @@ function App() {
|
|||||||
<Sidebar sheetOpen={sheetOpen} setSheetOpen={setSheetOpen} />
|
<Sidebar sheetOpen={sheetOpen} setSheetOpen={setSheetOpen} />
|
||||||
<div id="pageRoot" className="overflow-x-hidden px-4 py-2 w-screen">
|
<div id="pageRoot" className="overflow-x-hidden px-4 py-2 w-screen">
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route path="/" element={<Dashboard />} />
|
<Route path="/" element={<Live />} />
|
||||||
<Route path="/live" element={<Live />} />
|
|
||||||
<Route path="/history" element={<History />} />
|
<Route path="/history" element={<History />} />
|
||||||
<Route path="/export" element={<Export />} />
|
<Route path="/export" element={<Export />} />
|
||||||
<Route path="/storage" element={<Storage />} />
|
<Route path="/storage" element={<Storage />} />
|
||||||
|
|||||||
@ -66,26 +66,21 @@ function HeaderNavigation() {
|
|||||||
const navbarLinks = [
|
const navbarLinks = [
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
title: "Dashboard",
|
title: "Live",
|
||||||
url: "/",
|
url: "/",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 2,
|
id: 2,
|
||||||
title: "Live",
|
|
||||||
url: "/live",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 3,
|
|
||||||
title: "History",
|
title: "History",
|
||||||
url: "/history",
|
url: "/history",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 4,
|
id: 3,
|
||||||
title: "Export",
|
title: "Export",
|
||||||
url: "/export",
|
url: "/export",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 5,
|
id: 4,
|
||||||
title: "UI Playground",
|
title: "UI Playground",
|
||||||
url: "/playground",
|
url: "/playground",
|
||||||
dev: true,
|
dev: true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user