feat: Header- und Navigationskomponenten angepasst
- Header-Layout optimiert, um Temperatur und Icons korrekt anzuzeigen. - Anpassungen in der Navigation Abstand zwischen die Elemente. - Verbesserte Ausrichtung und Abstände für Header-Elemente. - Farbanpassungen und Styling-Optimierungen in der Header. -Auf verschiedene Bildschirm Auflösungen getestet (Full-HD und 2K/QHD)
This commit is contained in:
17
components/modulesStatus/Access1Status.jsx
Normal file
17
components/modulesStatus/Access1Status.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
// components/Access1Status.jsx
|
||||
import React from "react";
|
||||
|
||||
const Access1Status = () => {
|
||||
return (
|
||||
<div className="border border-gray-400 w-32 h-16 flex items-center justify-center relative">
|
||||
{/* Grüner Streifen auf der linken Seite */}
|
||||
<div className="absolute left-0 top-0 h-full w-1/6 bg-green-500"></div>
|
||||
{/* Blauer Hauptbereich */}
|
||||
<div className="bg-blue-500 flex-1 flex items-center justify-center text-white text-xl h-16">
|
||||
Access 1
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Access1Status;
|
||||
17
components/modulesStatus/Access2Status.jsx
Normal file
17
components/modulesStatus/Access2Status.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
// components/Access2Status.jsx
|
||||
import React from "react";
|
||||
|
||||
const Access2Status = () => {
|
||||
return (
|
||||
<div className="border border-gray-400 w-32 h-16 flex items-center justify-center relative">
|
||||
{/* Grüner Streifen auf der linken Seite */}
|
||||
<div className="absolute left-0 top-0 h-full w-1/6 bg-green-500"></div>
|
||||
{/* Blauer Hauptbereich */}
|
||||
<div className="bg-blue-500 flex-1 flex items-center justify-center text-white text-xl h-16">
|
||||
Access 2
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Access2Status;
|
||||
17
components/modulesStatus/CPLStatus.jsx
Normal file
17
components/modulesStatus/CPLStatus.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
// components/CPLStatus.jsx
|
||||
import React from "react";
|
||||
|
||||
const CPLStatus = () => {
|
||||
return (
|
||||
<div className="border border-gray-400 w-32 h-16 flex items-center justify-center relative">
|
||||
{/* Grüner Streifen auf der linken Seite */}
|
||||
<div className="absolute left-0 top-0 h-full w-1/6 bg-green-500"></div>
|
||||
{/* Blauer Hauptbereich */}
|
||||
<div className="bg-blue-500 flex-1 flex items-center justify-center text-white text-xl h-16">
|
||||
CPL
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CPLStatus;
|
||||
20
components/modulesStatus/Kue705_FO.jsx
Normal file
20
components/modulesStatus/Kue705_FO.jsx
Normal file
@@ -0,0 +1,20 @@
|
||||
// components/Kue705_FO.jsx
|
||||
import React from "react";
|
||||
|
||||
const Kue705_FO = () => {
|
||||
return (
|
||||
<div className="border border-gray-400 w-16 h-32 flex flex-col">
|
||||
{/* Erstes Kind, nimmt den restlichen Platz ein */}
|
||||
<div className="bg-blue-500 flex-grow flex flex-col items-center justify-center text-white text-xs">
|
||||
<div className="flex flex-col justify-start">1</div>
|
||||
<div>KÜ705</div>
|
||||
<div>FO</div>
|
||||
</div>
|
||||
{/* Die unteren Abschnitte behalten ihre festen Höhen */}
|
||||
<div className="bg-green-500 w-full h-1/6"></div>
|
||||
<div className="bg-blue-500 w-full h-1/6"></div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Kue705_FO;
|
||||
Reference in New Issue
Block a user