From 94c02d9ee6f72f9a5352edf20c5f0fa475c2bbcf Mon Sep 17 00:00:00 2001 From: openhands Date: Wed, 22 Jul 2026 18:31:10 +0200 Subject: [PATCH] Redesign register + login pages: glass cards, Habbo bg hero panels --- src/app/(site)/login/page.tsx | 162 ++++++++++++++++++---------------- 1 file changed, 86 insertions(+), 76 deletions(-) diff --git a/src/app/(site)/login/page.tsx b/src/app/(site)/login/page.tsx index 50957614..ce7f041b 100644 --- a/src/app/(site)/login/page.tsx +++ b/src/app/(site)/login/page.tsx @@ -13,7 +13,7 @@ export default async function LoginPage() { const t = await getTranslations("pages.login"); const th = await getTranslations("header"); const [hotelName, imagerRaw, cfg] = await Promise.all([ - siteSettings.get("hotel_name", "Hotel"), + siteSettings.get("hotel_name", "Atom"), siteSettings.get( "habbo_imaging_url", "https://www.habbo.com/habbo-imaging/avatarimage", @@ -41,62 +41,72 @@ export default async function LoginPage() { {/* Left panel */}
- Frank
- - {th("online", { count: online, hotel: "" }).trim()} + /> +
+ Frank +
+ + + + + {th("online", { count: online, hotel: "" }).trim()} +
+

+ {t("welcomeBack")} +

+

+ {t("welcomeBackSub", { hotelName: hotelName ?? "Atom" })} +

-

- {t("welcomeBack")} -

-

- {t("welcomeBackSub", { hotelName: hotelName ?? "Hotel" })} -

{recentUsers.length > 0 && (

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

@@ -105,16 +115,11 @@ export default async function LoginPage() { key={u.username} className="flex flex-col items-center gap-0.5 p-1.5 rounded-lg" style={{ - background: - "color-mix(in srgb, var(--color-primary) 4%, transparent)", + background: "color-mix(in srgb, var(--color-primary) 4%, transparent)", }} > )} -

- No account?{" "} +

+ {t("noAccount") ?? "No account?"}{" "} - Create one + {t("createOne") ?? "Create one"}

{/* Right: form */}
-
-

- {t("title")} -

-

- {t("subtitle")} -

-
- + > +
+

+ {t("title")} +

+

+ {t("subtitle")} +

+
+ +
);