Premium polish: enhanced toolbar, glass cards, Habbo bg panels, animations
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m48s

This commit is contained in:
openhands committed 2026-07-22 19:30:54 +02:00
1 parent 7aec61d1a5
commit 782271a31b
3 files changed
+89 -19

No files matched your search

+16 -4
View File
@@ -48,18 +48,30 @@ export default async function LoginPage() {
return (
<div className="flex flex-col gap-6">
<div className="relative">
<div
className="flex items-center justify-end gap-2 rounded-2xl border px-4 py-2.5"
className="absolute -inset-6 rounded-full opacity-[0.06] blur-[40px]"
style={{ background: "var(--color-primary)" }}
/>
<div
className="relative flex items-center justify-between rounded-2xl border px-5 py-3"
style={{
background: "color-mix(in srgb, var(--color-surface) 50%, transparent)",
backdropFilter: "blur(8px)",
WebkitBackdropFilter: "blur(8px)",
backdropFilter: "blur(12px)",
WebkitBackdropFilter: "blur(12px)",
borderColor: "color-mix(in srgb, var(--color-text-muted) 8%, transparent)",
}}
>
<span className="text-xs font-bold uppercase tracking-[0.15em] opacity-40" style={{ color: "var(--color-text-muted)" }}>
{hotelName}
</span>
<div className="flex items-center gap-1">
<LanguageSwitcher />
<div className="w-px h-5 mx-1" style={{ background: "color-mix(in srgb, var(--color-text-muted) 12%, transparent)" }} />
<ThemeSwitcher />
</div>
</div>
</div>
<div className="flex flex-col lg:flex-row gap-10">
{/* Left panel */}
<div className="lg:w-80 shrink-0 space-y-4">
@@ -73,7 +85,7 @@ export default async function LoginPage() {
<div
className="absolute inset-0"
style={{
background: "linear-gradient(135deg, color-mix(in srgb, var(--color-surface) 85%, transparent) 0%, color-mix(in srgb, var(--color-surface) 50%, transparent) 100%)",
background: "linear-gradient(135deg, color-mix(in srgb, var(--color-surface) 85%, transparent) 0%, color-mix(in srgb, var(--color-surface) 40%, transparent) 100%)",
}}
/>
<div className="relative">
+31 -4
View File
@@ -86,19 +86,40 @@ export default async function Home() {
return (
<div className="flex flex-col gap-14 pb-14">
<style>{`
@keyframes hero-glow {
0%, 100% { opacity: 0.08; transform: scale(1); }
50% { opacity: 0.15; transform: scale(1.05); }
}
.hero-glow {
animation: hero-glow 6s ease-in-out infinite;
}
`}</style>
{/* ── Toolbar ── */}
<div className="relative">
<div
className="flex items-center justify-end gap-2 rounded-2xl border px-4 py-2.5"
className="absolute -inset-6 rounded-full opacity-[0.06] blur-[40px]"
style={{ background: "var(--color-primary)" }}
/>
<div
className="relative flex items-center justify-between rounded-2xl border px-5 py-3"
style={{
background: "color-mix(in srgb, var(--color-surface) 50%, transparent)",
backdropFilter: "blur(8px)",
WebkitBackdropFilter: "blur(8px)",
backdropFilter: "blur(12px)",
WebkitBackdropFilter: "blur(12px)",
borderColor: "color-mix(in srgb, var(--color-text-muted) 8%, transparent)",
}}
>
<span className="text-xs font-bold uppercase tracking-[0.15em] opacity-40" style={{ color: "var(--color-text-muted)" }}>
{hotelName}
</span>
<div className="flex items-center gap-1">
<LanguageSwitcher />
<div className="w-px h-5 mx-1" style={{ background: "color-mix(in srgb, var(--color-text-muted) 12%, transparent)" }} />
<ThemeSwitcher />
</div>
</div>
</div>
{/* ── 1. Hero ── */}
<div
className="relative overflow-hidden rounded-3xl border px-6 py-10 md:px-10 md:py-14 lg:py-16"
@@ -107,11 +128,17 @@ export default async function Home() {
borderColor: "color-mix(in srgb, var(--color-text-muted) 8%, transparent)",
}}
>
<div
className="absolute inset-0 hero-glow"
style={{
background: "radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--color-primary) 20%, transparent) 0%, transparent 60%)",
}}
/>
<div
className="absolute inset-0"
style={{
background:
"linear-gradient(135deg, color-mix(in srgb, var(--color-surface) 85%, transparent) 0%, color-mix(in srgb, var(--color-surface) 40%, transparent) 50%, color-mix(in srgb, var(--color-surface) 20%, transparent) 100%)",
"linear-gradient(135deg, color-mix(in srgb, var(--color-surface) 85%, transparent) 0%, color-mix(in srgb, var(--color-surface) 40%, transparent) 50%, color-mix(in srgb, var(--color-surface) 15%, transparent) 100%)",
}}
/>
<div className="relative flex flex-col lg:flex-row items-center gap-8 lg:gap-14">
File diff suppressed because it is too large. Load diff