agenda finition
This commit is contained in:
parent
91ca6f5a37
commit
5f341b3829
@ -701,8 +701,8 @@ export default async function CalendarPage() {
|
|||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="w-full h-full bg-white">
|
<main className="w-full h-screen bg-white">
|
||||||
<div className="w-full h-full px-4 pb-4 flex overflow-hidden">
|
<div className="w-full h-full px-4 pt-12 pb-4 flex">
|
||||||
<CalendarClient
|
<CalendarClient
|
||||||
initialCalendars={calendars}
|
initialCalendars={calendars}
|
||||||
userId={session.user.id}
|
userId={session.user.id}
|
||||||
@ -713,6 +713,6 @@ export default async function CalendarPage() {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -69,10 +69,6 @@
|
|||||||
* {
|
* {
|
||||||
@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" : "flex flex-col min-h-screen"}
|
className={isSignInPage ? "min-h-screen" : "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
|
||||||
@ -228,9 +228,9 @@ export function LayoutWrapper({ children, isSignInPage, isAuthenticated }: Layou
|
|||||||
}
|
}
|
||||||
onClick={!isSignInPage ? changeBackground : undefined}
|
onClick={!isSignInPage ? changeBackground : undefined}
|
||||||
>
|
>
|
||||||
<main className={isSignInPage ? "" : "flex-1 pt-12"}>{children}</main>
|
<main>{children}</main>
|
||||||
{!isSignInPage && isAuthenticated && <Footer />}
|
|
||||||
</div>
|
</div>
|
||||||
|
{!isSignInPage && isAuthenticated && <Footer />}
|
||||||
<Toaster />
|
<Toaster />
|
||||||
|
|
||||||
{/* Notifications stack (calls and emails) */}
|
{/* Notifications stack (calls and emails) */}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user