mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
add websiteheader to share page. Fix overview WebsiteNav Bug
This commit is contained in:
parent
c3dad5b7ef
commit
c7a0d65590
2 changed files with 21 additions and 18 deletions
|
|
@ -8,6 +8,7 @@ import { WebsiteNav } from './WebsiteNav';
|
|||
|
||||
export function WebsiteLayout({ websiteId, children }: { websiteId: string; children: ReactNode }) {
|
||||
return (
|
||||
<Column backgroundColor="2">
|
||||
<WebsiteProvider websiteId={websiteId}>
|
||||
<Grid columns={{ xs: '1fr', lg: 'auto 1fr' }} width="100%" height="100%">
|
||||
<Column
|
||||
|
|
@ -26,5 +27,6 @@ export function WebsiteLayout({ websiteId, children }: { websiteId: string; chil
|
|||
</PageBody>
|
||||
</Grid>
|
||||
</WebsiteProvider>
|
||||
</Column>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ export function SharePage({ shareId, path = '' }: { shareId: string; path?: stri
|
|||
<WebsiteProvider websiteId={websiteId}>
|
||||
<ShareHeader whiteLabel={whiteLabel} />
|
||||
<Column>
|
||||
<WebsiteHeader showActions={false} />
|
||||
<PageComponent websiteId={websiteId} />
|
||||
</Column>
|
||||
<ShareFooter whiteLabel={whiteLabel} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue