From 087dd7d8736459d829c7997ff3fd2f200a7a0ec5 Mon Sep 17 00:00:00 2001 From: openhands Date: Thu, 27 Aug 2026 15:32:32 +0200 Subject: [PATCH] style: apply consistent professional layout to login page Reuse the SectionCard component to unify the neon section headers, center the page in a max-w-6xl container, and give the welcome panel and login card consistent rounded corners and subtle shadows, matching the home and register pages. --- src/app/(site)/login/page.tsx | 250 +++++++++++----------------------- 1 file changed, 82 insertions(+), 168 deletions(-) diff --git a/src/app/(site)/login/page.tsx b/src/app/(site)/login/page.tsx index daa549d0..999700b9 100644 --- a/src/app/(site)/login/page.tsx +++ b/src/app/(site)/login/page.tsx @@ -5,6 +5,7 @@ import Link from "next/link"; import { getTranslations } from "next-intl/server"; import { LoginForm } from "@/components/auth/login-form"; import { Clock } from "@/components/clock"; +import { SectionCard } from "@/components/home-section"; import { LanguageSwitcher } from "@/components/language-switcher"; import { Reveal } from "@/components/motion-reveal"; import { UserAvatarThumbnail } from "@/components/shared/user-avatar-thumbnail"; @@ -48,7 +49,7 @@ export default async function LoginPage() { ]); return ( -
+
{/* ── Top Bar ── */}
+ -
+
{/* Left panel */}
{recentUsers.length > 0 && ( -
-
- -

- {th("online", { count: online, hotel: "" }).trim()} -

-
-
-
- {recentUsers.map((u) => ( -
+ {recentUsers.map((u) => ( +
+ + - - - {u.username} - -
- ))} -
+ {u.username} + +
+ ))}
-
+ )} {latestUsers.length > 0 && ( -
-
- -

- Newest citizens -

-
-
-
- {latestUsers.map((u) => ( -
+ {latestUsers.map((u) => ( +
+ + - - - {u.username} - -
- ))} -
+ {u.username} + +
+ ))}
-
+ )}

-

-
+ {t("subtitle")} +

+ - -

- {t("title")} -

-
-
-

- {t("subtitle")} -

- -
-
+ nonce={nonce} + /> +