add websiteheader to share page. Fix overview WebsiteNav Bug

This commit is contained in:
Francis Cao 2026-01-27 22:17:49 -08:00
parent c3dad5b7ef
commit c7a0d65590
2 changed files with 21 additions and 18 deletions

View file

@ -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>
);
}

View file

@ -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} />