File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ function Header() {
103103export function Layout ( { children } : { children : React . ReactNode } ) {
104104 let pathname = usePathname ( ) ;
105105 let isHomePage = pathname === '/' ;
106+ let isCommunityForumPage = pathname === '/community-forum' ;
106107
107108 return (
108109 < div className = "flex w-full flex-col" >
@@ -112,13 +113,14 @@ export function Layout({ children }: { children: React.ReactNode }) {
112113 { /* {isHomePage && <DemoLayout />} */ }
113114
114115 < div className = "relative mx-auto flex w-full max-w-8xl flex-auto justify-center sm:px-2 lg:px-8 xl:px-12" >
115- < div className = "hidden lg:relative lg:block lg:flex-none" >
116- < div className = "absolute bottom-0 right-0 top-16 hidden h-12 w-px bg-transparent dark:block" />
117- < div className = "absolute bottom-0 right-0 top-28 hidden w-px bg-transparent dark:block" />
118- < div className = "sticky top-[4.75rem] -ml-0.5 h-[calc(100vh-4.75rem)] w-64 overflow-y-auto overflow-x-hidden py-16 pl-0.5 pr-8 xl:w-72 xl:pr-16" >
119- < Navigation />
120- </ div >
121- </ div >
116+ { ! isCommunityForumPage &&
117+ < div className = "hidden lg:relative lg:block lg:flex-none" >
118+ < div className = "absolute bottom-0 right-0 top-16 hidden h-12 w-px bg-transparent dark:block" />
119+ < div className = "absolute bottom-0 right-0 top-28 hidden w-px bg-transparent dark:block" />
120+ < div className = "sticky top-[4.75rem] -ml-0.5 h-[calc(100vh-4.75rem)] w-64 overflow-y-auto overflow-x-hidden py-16 pl-0.5 pr-8 xl:w-72 xl:pr-16" >
121+ < Navigation />
122+ </ div >
123+ </ div > }
122124 { children }
123125 </ div >
124126 </ div >
You can’t perform that action at this time.
0 commit comments