Skip to content

Commit 752f395

Browse files
committed
revert websitelayout changes
1 parent c7a0d65 commit 752f395

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed

src/app/(main)/websites/[websiteId]/WebsiteLayout.tsx

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,23 @@ import { WebsiteNav } from './WebsiteNav';
88

99
export function WebsiteLayout({ websiteId, children }: { websiteId: string; children: ReactNode }) {
1010
return (
11-
<Column backgroundColor="2">
12-
<WebsiteProvider websiteId={websiteId}>
13-
<Grid columns={{ xs: '1fr', lg: 'auto 1fr' }} width="100%" height="100%">
14-
<Column
15-
display={{ xs: 'none', lg: 'flex' }}
16-
width="240px"
17-
height="100%"
18-
border="right"
19-
backgroundColor
20-
marginRight="2"
21-
>
22-
<WebsiteNav websiteId={websiteId} />
23-
</Column>
24-
<PageBody gap>
25-
<WebsiteHeader showActions />
26-
<Column>{children}</Column>
27-
</PageBody>
28-
</Grid>
29-
</WebsiteProvider>
30-
</Column>
11+
<WebsiteProvider websiteId={websiteId}>
12+
<Grid columns={{ xs: '1fr', lg: 'auto 1fr' }} width="100%" height="100%">
13+
<Column
14+
display={{ xs: 'none', lg: 'flex' }}
15+
width="240px"
16+
height="100%"
17+
border="right"
18+
backgroundColor
19+
marginRight="2"
20+
>
21+
<WebsiteNav websiteId={websiteId} />
22+
</Column>
23+
<PageBody gap>
24+
<WebsiteHeader showActions />
25+
<Column>{children}</Column>
26+
</PageBody>
27+
</Grid>
28+
</WebsiteProvider>
3129
);
3230
}

0 commit comments

Comments
 (0)