Improved error handling, improved sidebar for mobile

This commit is contained in:
pascalyazid committed 2026-05-15 18:38:58 +02:00
1 parent 167baf9e82
commit 3135131ae4
3 files changed
+286 -134

No files matched your search

+4 -3
View File
@@ -4,9 +4,9 @@ import { getSignedAvatarUrl } from "@/utils/assets/avatars";
export default async function AuthLayout({
children,
}: {
}: Readonly<{
children: React.ReactNode;
}) {
}>) {
const supabase = await createClient();
const {
data: { user },
@@ -37,7 +37,8 @@ export default async function AuthLayout({
email={user?.email ?? ""}
avatarUrl={avatarURL}
/>
<main className="flex-1 overflow-y-auto">{children}</main>
{/* Mobile: top padding for hamburger button */}
<main className="flex-1 overflow-y-auto pt-12 md:pt-0">{children}</main>
</div>
);
}