File tree Expand file tree Collapse file tree 1 file changed +18
-20
lines changed
src/app/(main)/websites/[websiteId] Expand file tree Collapse file tree 1 file changed +18
-20
lines changed Original file line number Diff line number Diff line change @@ -8,25 +8,23 @@ import { WebsiteNav } from './WebsiteNav';
88
99export 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}
You can’t perform that action at this time.
0 commit comments