diff --git a/index.html b/index.html
index fd0bb43..aec7947 100644
--- a/index.html
+++ b/index.html
@@ -1,10 +1,10 @@
-
+
+
+
+
);
};
diff --git a/src/features/dashboard/components/SystemStatusCard.tsx b/src/features/dashboard/components/SystemStatusCard.tsx
index b887e7e..7d842e9 100644
--- a/src/features/dashboard/components/SystemStatusCard.tsx
+++ b/src/features/dashboard/components/SystemStatusCard.tsx
@@ -11,7 +11,7 @@ const SystemStatusCard = () => {
{stats ? (
<>
UTC: {stats["system-clock-utc"]}
-
Local: {stats["system-clock-local"]}
+
Local: {stats["system-clock-local"]}
CPU: {stats["memory-cpu-status"]}
Threads: {stats["thread-count"]}
>
diff --git a/src/types/types.ts b/src/types/types.ts
index bc491f9..3c59478 100644
--- a/src/types/types.ts
+++ b/src/types/types.ts
@@ -10,3 +10,5 @@ export type InfoBarData = {
"memory-cpu-status": string;
"thread-count": string;
};
+
+export type StatusIndicator = "neutral-quaternary" | "dark" | "info" | "success" | "warning" | "danger";
diff --git a/src/ui/CardHeader.tsx b/src/ui/CardHeader.tsx
index 027ecae..25da205 100644
--- a/src/ui/CardHeader.tsx
+++ b/src/ui/CardHeader.tsx
@@ -1,17 +1,21 @@
import clsx from "clsx";
+import StatusIndicators from "./StatusIndicators";
type CameraOverviewHeaderProps = {
title?: string;
+ status?: string;
};
-const CardHeader = ({ title }: CameraOverviewHeaderProps) => {
+const CardHeader = ({ title, status }: CameraOverviewHeaderProps) => {
+ console.log(status);
return (
-
+
{/* {icon && } */}
+ {status && }
{title}
diff --git a/src/ui/StatusIndicators.tsx b/src/ui/StatusIndicators.tsx
new file mode 100644
index 0000000..5d4d529
--- /dev/null
+++ b/src/ui/StatusIndicators.tsx
@@ -0,0 +1,9 @@
+import clsx from "clsx";
+
+type StatusIndicatorsProps = { status: string };
+
+const StatusIndicators = ({ status }: StatusIndicatorsProps) => {
+ return
;
+};
+
+export default StatusIndicators;