Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
💄 Tighten auth page vertical layout
Luke Vella5952a42778a1
diff --git a/apps/web/src/app/[locale]/(auth)/components/auth-footer.tsx b/apps/web/src/app/[locale]/(auth)/components/auth-footer.tsxindex a88624d2d..ee935eb58 100644--- a/apps/web/src/app/[locale]/(auth)/components/auth-footer.tsx+++ b/apps/web/src/app/[locale]/(auth)/components/auth-footer.tsx@@ -14,7 +14,7 @@ export function AuthFooter() {return (// h-40 mirrors the header's 160px logo slot so the vertically centered// content sits at the true middle of the page- <footer className="flex h-40 items-end justify-center gap-x-4">+ <footer className="flex items-end justify-center gap-x-4"><LanguageSelectaria-label={t("language", { defaultValue: "Language" })}value={locale}diff --git a/apps/web/src/app/[locale]/(auth)/layout.tsx b/apps/web/src/app/[locale]/(auth)/layout.tsxindex b44e8998c..255addc8f 100644--- a/apps/web/src/app/[locale]/(auth)/layout.tsx+++ b/apps/web/src/app/[locale]/(auth)/layout.tsx@@ -25,19 +25,17 @@ export default async function Layout({><div className="relative flex min-h-dvh flex-col items-center justify-center bg-background"><div className="z-10 flex w-full flex-1 lg:p-4">- <div className="flex flex-1 flex-col gap-4 p-6">+ <div className="my-auto flex flex-1 flex-col gap-12 p-6"><header className="flex justify-center"><Logo size="fit" /></header>- <div className="my-auto">- <main- id="main-content"- tabIndex={-1}- className="mx-auto w-full max-w-sm"- >- {children}- </main>- </div>+ <main+ id="main-content"+ tabIndex={-1}+ className="mx-auto w-full max-w-sm"+ >+ {children}+ </main>{isQuickCreateEnabled ? (<div className="flex justify-center lg:hidden"><QuickCreateButton />diff --git a/apps/web/src/features/branding/components/logo.tsx b/apps/web/src/features/branding/components/logo.tsxindex 7503175d5..8dd8778f4 100644--- a/apps/web/src/features/branding/components/logo.tsx+++ b/apps/web/src/features/branding/components/logo.tsx@@ -23,7 +23,7 @@ export const Logo = async ({if (size === "fit") {return (<div- className={cn("flex h-40 w-50 items-center justify-center", className)}+ className={cn("flex h-32 w-48 items-center justify-center", className)}>{/* biome-ignore lint/performance/noImgElement: we don't need Image component here */}<img