Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
add websiteheader to share page. Fix overview WebsiteNav Bug
Francis Caoc7a0d655904a
diff --git a/src/app/(main)/websites/[websiteId]/WebsiteLayout.tsx b/src/app/(main)/websites/[websiteId]/WebsiteLayout.tsxindex 7260a7ea6..06bb506a7 100644--- a/src/app/(main)/websites/[websiteId]/WebsiteLayout.tsx+++ b/src/app/(main)/websites/[websiteId]/WebsiteLayout.tsx@@ -8,23 +8,25 @@ import { WebsiteNav } from './WebsiteNav';export function WebsiteLayout({ websiteId, children }: { websiteId: string; children: ReactNode }) {return (- <WebsiteProvider websiteId={websiteId}>- <Grid columns={{ xs: '1fr', lg: 'auto 1fr' }} width="100%" height="100%">- <Column- display={{ xs: 'none', lg: 'flex' }}- width="240px"- height="100%"- border="right"- backgroundColor- marginRight="2"- >- <WebsiteNav websiteId={websiteId} />- </Column>- <PageBody gap>- <WebsiteHeader showActions />- <Column>{children}</Column>- </PageBody>- </Grid>- </WebsiteProvider>+ <Column backgroundColor="2">+ <WebsiteProvider websiteId={websiteId}>+ <Grid columns={{ xs: '1fr', lg: 'auto 1fr' }} width="100%" height="100%">+ <Column+ display={{ xs: 'none', lg: 'flex' }}+ width="240px"+ height="100%"+ border="right"+ backgroundColor+ marginRight="2"+ >+ <WebsiteNav websiteId={websiteId} />+ </Column>+ <PageBody gap>+ <WebsiteHeader showActions />+ <Column>{children}</Column>+ </PageBody>+ </Grid>+ </WebsiteProvider>+ </Column>);}diff --git a/src/app/share/[...shareId]/SharePage.tsx b/src/app/share/[...shareId]/SharePage.tsxindex 8493a4164..d61b42b72 100644--- a/src/app/share/[...shareId]/SharePage.tsx+++ b/src/app/share/[...shareId]/SharePage.tsx@@ -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} />