Layout Changes
Small tweaks to the layout
This commit is contained in:
7 files changed
+81
-37
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { Scissors } from "lucide-react";
|
||||
import { getBranding } from "@/lib/business/branding";
|
||||
import { AuthHeader } from "@/features/auth/components/auth-header";
|
||||
|
||||
/**
|
||||
* Every auth page (sign-in, register, forgot-password, verify) shares
|
||||
@@ -24,14 +24,7 @@ export default async function AuthLayout({ children }: { children: React.ReactNo
|
||||
return (
|
||||
<div className="flex min-h-screen flex-col bg-stone p-6">
|
||||
<div id="main-content" className="mx-auto flex w-full max-w-md flex-1 flex-col justify-center">
|
||||
<div className="mb-8 flex h-16 w-16 items-center justify-center rounded-[1.25rem] bg-ink text-3xl text-white shadow-xl shadow-ink/20">
|
||||
{branding.logoUrl ? (
|
||||
// eslint-disable-next-line @next/next/no-img-element -- external, business-supplied URL.
|
||||
<img src={branding.logoUrl} alt="" className="h-full w-full rounded-[1.25rem] object-cover" />
|
||||
) : (
|
||||
<Scissors className="h-7 w-7" aria-hidden="true" />
|
||||
)}
|
||||
</div>
|
||||
<AuthHeader logoUrl={branding.logoUrl} />
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user