import Stack from "@mui/material/Stack"; import Typography from "@mui/material/Typography"; import Box from "@mui/material/Box"; import { BaseBox } from "@/components/design-elements"; import Background from "@/assets/images/background-grid.svg?react"; import { useTranslation } from "react-i18next"; import { useTheme } from "@mui/material/styles"; type StatusBoxProps = React.PropsWithChildren<{ children: React.ReactNode }>; export const BGBox: React.FC = ({ children }) => { const theme = useTheme(); return ( {children} ); }; const StatusBox = ({ label, n, color, }: { label: string; n: number; color: string | undefined; }) => { const theme = useTheme(); return ( {label} {n} ); }; export const UpStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ; }; export const DownStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ; }; export const PausedStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ; }; export const InitializingStatusBox = ({ n }: { n: number }) => { const theme = useTheme(); const { t } = useTranslation(); return ; };