revert websitelayout changes

This commit is contained in:
Francis Cao 2026-01-27 22:47:29 -08:00
parent c7a0d65590
commit 752f395d83

View file

@ -8,25 +8,23 @@ import { WebsiteNav } from './WebsiteNav';
export function WebsiteLayout({ websiteId, children }: { websiteId: string; children: ReactNode }) { export function WebsiteLayout({ websiteId, children }: { websiteId: string; children: ReactNode }) {
return ( return (
<Column backgroundColor="2"> <WebsiteProvider websiteId={websiteId}>
<WebsiteProvider websiteId={websiteId}> <Grid columns={{ xs: '1fr', lg: 'auto 1fr' }} width="100%" height="100%">
<Grid columns={{ xs: '1fr', lg: 'auto 1fr' }} width="100%" height="100%"> <Column
<Column display={{ xs: 'none', lg: 'flex' }}
display={{ xs: 'none', lg: 'flex' }} width="240px"
width="240px" height="100%"
height="100%" border="right"
border="right" backgroundColor
backgroundColor marginRight="2"
marginRight="2" >
> <WebsiteNav websiteId={websiteId} />
<WebsiteNav websiteId={websiteId} /> </Column>
</Column> <PageBody gap>
<PageBody gap> <WebsiteHeader showActions />
<WebsiteHeader showActions /> <Column>{children}</Column>
<Column>{children}</Column> </PageBody>
</PageBody> </Grid>
</Grid> </WebsiteProvider>
</WebsiteProvider>
</Column>
); );
} }