agenda finition
This commit is contained in:
parent
7f3269bb8c
commit
b0b0259812
@ -212,7 +212,7 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou
|
|||||||
<AuthCheck>
|
<AuthCheck>
|
||||||
{!isSignInPage && isAuthenticated && <MainNav />}
|
{!isSignInPage && isAuthenticated && <MainNav />}
|
||||||
<div
|
<div
|
||||||
className={isSignInPage ? "min-h-screen" : "flex flex-col"}
|
className={isSignInPage ? "min-h-screen" : "flex flex-col h-screen"}
|
||||||
style={
|
style={
|
||||||
isSignInPage
|
isSignInPage
|
||||||
? {} // No background style for signin page - let the page component handle it
|
? {} // No background style for signin page - let the page component handle it
|
||||||
@ -223,8 +223,7 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou
|
|||||||
backgroundRepeat: 'no-repeat',
|
backgroundRepeat: 'no-repeat',
|
||||||
backgroundAttachment: 'fixed',
|
backgroundAttachment: 'fixed',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
transition: 'background-image 0.5s ease-in-out',
|
transition: 'background-image 0.5s ease-in-out'
|
||||||
minHeight: 'calc(100vh - 3rem)' // Soustraire la hauteur de la navbar
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onClick={!isSignInPage ? changeBackground : undefined}
|
onClick={!isSignInPage ? changeBackground : undefined}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user