import Stack from "@mui/material/Stack"; import Box from "@mui/material/Box"; import Typography from "@mui/material/Typography"; import { useTheme } from "@mui/material/styles"; import { useNavigate } from "react-router"; import { useTranslation } from "react-i18next"; export const Logo = ({ collapsed }: { collapsed: boolean }) => { const { t } = useTranslation(); const theme = useTheme(); const navigate = useNavigate(); return ( navigate("/")} sx={{ cursor: "pointer" }} > C {" "} {t("common.appName")} ); };