This commit is contained in:
2024-03-31 07:36:24 +03:00
parent 98a6dee996
commit 6328ac877a
38 changed files with 385 additions and 106 deletions

View File

@@ -10,5 +10,4 @@
.container {
padding: rem(20);
display: flex;
//min-height: 100vh;
}

View File

@@ -14,20 +14,17 @@ const PageWrapper: FC<Props> = ({children}) => {
<AppShell
layout={"alt"}
navbar={{width: rem('80px'), breakpoint: "sm"}}
// header={{height:rem(60)}}
>
{/*<AppShell.Header>*/}
{/* <Header/>*/}
{/*</AppShell.Header>*/}
<AppShell.Navbar>
<Navbar/>
{authState.isAuthorized &&
<Navbar/>
}
</AppShell.Navbar>
<AppShell.Main className={styles['main-container']}>
<div className={styles['container']}>
{children}
</div>
</AppShell.Main>
</AppShell>
)