agenda finition
This commit is contained in:
parent
3cd3833cf8
commit
91ca6f5a37
@ -701,7 +701,7 @@ export default async function CalendarPage() {
|
|||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="w-full bg-white" style={{ height: 'calc(100vh - 3rem - 52px)' }}>
|
<div className="w-full h-full bg-white">
|
||||||
<div className="w-full h-full px-4 pb-4 flex overflow-hidden">
|
<div className="w-full h-full px-4 pb-4 flex overflow-hidden">
|
||||||
<CalendarClient
|
<CalendarClient
|
||||||
initialCalendars={calendars}
|
initialCalendars={calendars}
|
||||||
|
|||||||
@ -69,6 +69,10 @@
|
|||||||
* {
|
* {
|
||||||
@apply border-border;
|
@apply border-border;
|
||||||
}
|
}
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
body {
|
body {
|
||||||
@apply bg-background text-foreground;
|
@apply bg-background text-foreground;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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" : ""}
|
className={isSignInPage ? "min-h-screen" : "flex flex-col min-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,14 +223,12 @@ 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'
|
||||||
paddingTop: '3rem', // 48px for fixed navbar
|
|
||||||
minHeight: '100vh'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onClick={!isSignInPage ? changeBackground : undefined}
|
onClick={!isSignInPage ? changeBackground : undefined}
|
||||||
>
|
>
|
||||||
<main>{children}</main>
|
<main className={isSignInPage ? "" : "flex-1 pt-12"}>{children}</main>
|
||||||
{!isSignInPage && isAuthenticated && <Footer />}
|
{!isSignInPage && isAuthenticated && <Footer />}
|
||||||
</div>
|
</div>
|
||||||
<Toaster />
|
<Toaster />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user