mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 03:25:40 +01:00
Converted UTM report to a view.
This commit is contained in:
parent
06f76dda13
commit
d0d11225f4
24 changed files with 1815 additions and 1568 deletions
|
|
@ -2,7 +2,6 @@
|
|||
import { ReactNode } from 'react';
|
||||
import { Grid, Column } from '@umami/react-zen';
|
||||
import { WebsiteProvider } from './WebsiteProvider';
|
||||
import { WebsiteControls } from '@/app/(main)/websites/[websiteId]/WebsiteControls';
|
||||
import { WebsiteNav } from '@/app/(main)/websites/[websiteId]/WebsiteNav';
|
||||
import { PageBody } from '@/components/common/PageBody';
|
||||
import { WebsiteHeader } from '@/app/(main)/websites/[websiteId]/WebsiteHeader';
|
||||
|
|
@ -11,16 +10,15 @@ export function WebsiteLayout({ websiteId, children }: { websiteId: string; chil
|
|||
return (
|
||||
<WebsiteProvider websiteId={websiteId}>
|
||||
<PageBody>
|
||||
<WebsiteHeader />
|
||||
<Grid columns="auto 1fr" justifyContent="center" gap width="100%">
|
||||
<Column position="sticky" top="0px" alignSelf="flex-start" width="200px" paddingTop="3">
|
||||
<WebsiteNav websiteId={websiteId} />
|
||||
</Column>
|
||||
<Column>
|
||||
<WebsiteControls websiteId={websiteId} />
|
||||
{children}
|
||||
</Column>
|
||||
</Grid>
|
||||
<Column gap="6">
|
||||
<WebsiteHeader />
|
||||
<Grid columns="auto 1fr" justifyContent="center" gap="6" width="100%">
|
||||
<Column position="sticky" top="20px" alignSelf="flex-start" width="200px">
|
||||
<WebsiteNav websiteId={websiteId} />
|
||||
</Column>
|
||||
<Column>{children}</Column>
|
||||
</Grid>
|
||||
</Column>
|
||||
</PageBody>
|
||||
</WebsiteProvider>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue