in Header nut user Icon und in nave nur Übersicht,Kabelüberwachung und Meldungen
This commit is contained in:
@@ -50,27 +50,33 @@ function Header() {
|
||||
{/* Temperatur und Icons */}
|
||||
<div className="p-4 w-full lg:w-full flex flex-row gap-4 justify-between">
|
||||
{/* Temperatur und Luftfeuchtigkeit */}
|
||||
<div className="flex items-center min-w-0">
|
||||
{/*
|
||||
<div className="flex items-center min-w-0">
|
||||
<i className="bi bi-thermometer-half"></i>
|
||||
<p className="text-lg ml-1">20.5 °C</p>
|
||||
|
||||
</div>
|
||||
<div className="flex items-center min-w-0">
|
||||
<i className="bi bi-droplet"></i>
|
||||
<p className="text-lg ml-1">60%</p>
|
||||
</div>
|
||||
*/}
|
||||
|
||||
{/* Toggle Switch light and dark mode */}
|
||||
<div className="flex items-center space-x-4 min-w-0 flex-shrink">
|
||||
{/*
|
||||
<div className="flex items-center space-x-4 min-w-0 flex-shrink">
|
||||
<i className="bi bi-moon"></i>
|
||||
{/* Toggle Switch */}
|
||||
|
||||
<div className="flex items-center space-x-2">
|
||||
<i className="bi bi-toggle-off"></i>
|
||||
<i className="bi bi-brightness-high"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
*/}
|
||||
|
||||
{/* User Icon */}
|
||||
<div className="min-w-0">
|
||||
<div className="flex items-center justify-end w-full">
|
||||
<i className="bi bi-person-circle text-3xl text-black mr-7"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -16,9 +16,9 @@ function Navigation() {
|
||||
const menuItems = [
|
||||
{ name: "Übersicht", path: "/dashboard" },
|
||||
{ name: "Kabelüberwachung", path: "/kabelueberwachung" },
|
||||
{ name: "Zutrittskontrolle", path: "/access" },
|
||||
{ name: "Ein- und Ausgänge", path: "/einausgaenge" },
|
||||
{ name: "Analoge Eingänge", path: "/analogeEingaenge" },
|
||||
//{ name: "Zutrittskontrolle", path: "/access" },
|
||||
//{ name: "Ein- und Ausgänge", path: "/einausgaenge" },
|
||||
//{ name: "Analoge Eingänge", path: "/analogeEingaenge" },
|
||||
{ name: "Meldungen", path: "/meldungen" },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user