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"; const Logo = ({ collapsed }) => { const { t } = useTranslation(); const theme = useTheme(); const navigate = useNavigate(); return ( navigate("/")} sx={{ cursor: "pointer" }} > C {" "} {t("common.appName")} ); }; export default Logo;