mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 17:45:38 +01:00
New menu layout.
This commit is contained in:
parent
0cfee43814
commit
1c22c18de5
17 changed files with 103 additions and 47 deletions
|
|
@ -19,6 +19,7 @@ export function App({ children }) {
|
|||
|
||||
if (error) {
|
||||
window.location.href = `${process.env.basePath || ''}/login`;
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!user || !config) {
|
||||
|
|
@ -30,7 +31,7 @@ export function App({ children }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<Grid height="100vh" width="100%" columns="auto 1fr" rows="auto 1fr" overflow="hidden">
|
||||
<Grid height="100vh" width="100%" columns="auto 1fr" rows="auto 1fr">
|
||||
<Nav gridColumn="1 / 2" gridRow="1 / 3" />
|
||||
<MenuBar gridColumn="2 / 3" gridRow="1 / 2" />
|
||||
<Column
|
||||
|
|
@ -39,6 +40,7 @@ export function App({ children }) {
|
|||
alignItems="center"
|
||||
overflow="auto"
|
||||
backgroundColor="2"
|
||||
position="relative"
|
||||
>
|
||||
<Page>
|
||||
{children}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue