2022-12-09 11:48:15 +00:00
|
|
|
|
import { IconButton, useTheme } from "@mui/material";
|
|
|
|
|
import SectionWrapper from "../SectionWrapper";
|
|
|
|
|
import MenuIcon from "@mui/icons-material/Menu";
|
2023-05-07 14:01:03 +00:00
|
|
|
|
import PenaLogo from "@ui_kit/PenaLogo";
|
2022-12-09 11:48:15 +00:00
|
|
|
|
|
|
|
|
|
interface Props {
|
2023-12-31 02:53:25 +00:00
|
|
|
|
isLoggedIn: boolean;
|
2022-12-09 11:48:15 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default function NavbarCollapsed({ isLoggedIn }: Props) {
|
2023-12-31 02:53:25 +00:00
|
|
|
|
const theme = useTheme();
|
2022-12-09 11:48:15 +00:00
|
|
|
|
|
2023-12-31 02:53:25 +00:00
|
|
|
|
return (
|
|
|
|
|
<SectionWrapper
|
|
|
|
|
component="nav"
|
|
|
|
|
maxWidth="lg"
|
|
|
|
|
outerContainerSx={{
|
|
|
|
|
backgroundColor: theme.palette.navbarbg.main,
|
|
|
|
|
position: "sticky",
|
|
|
|
|
top: 0,
|
|
|
|
|
zIndex: 1,
|
|
|
|
|
// borderBottom: "1px solid #E3E3E3",
|
|
|
|
|
}}
|
|
|
|
|
sx={{
|
|
|
|
|
height: "51px",
|
|
|
|
|
py: "6px",
|
|
|
|
|
display: "flex",
|
|
|
|
|
justifyContent: "space-between",
|
|
|
|
|
alignItems: "center",
|
|
|
|
|
}}
|
|
|
|
|
>
|
2024-01-03 19:41:41 +00:00
|
|
|
|
я подписан как навбар коллапсед
|
2023-12-31 02:53:25 +00:00
|
|
|
|
<PenaLogo width={100} />
|
|
|
|
|
<IconButton
|
|
|
|
|
sx={{
|
|
|
|
|
p: 0,
|
|
|
|
|
height: "30px",
|
|
|
|
|
width: "30px",
|
|
|
|
|
color: theme.palette.primary.main,
|
|
|
|
|
}}
|
|
|
|
|
>
|
|
|
|
|
<MenuIcon sx={{ height: "30px", width: "30px" }} />
|
|
|
|
|
</IconButton>
|
|
|
|
|
</SectionWrapper>
|
|
|
|
|
);
|
|
|
|
|
}
|