Premium polish: enhanced toolbar, glass cards, Habbo bg panels, animations
This commit is contained in:
1 parent
7aec61d1a5
commit
782271a31b
3 files changed
+119
-49
No files matched your search
+45
-18
@@ -86,18 +86,39 @@ 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="flex items-center justify-end gap-2 rounded-2xl border px-4 py-2.5"
|
||||
style={{
|
||||
background: "color-mix(in srgb, var(--color-surface) 50%, transparent)",
|
||||
backdropFilter: "blur(8px)",
|
||||
WebkitBackdropFilter: "blur(8px)",
|
||||
borderColor: "color-mix(in srgb, var(--color-text-muted) 8%, transparent)",
|
||||
}}
|
||||
>
|
||||
<LanguageSwitcher />
|
||||
<ThemeSwitcher />
|
||||
<div className="relative">
|
||||
<div
|
||||
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(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
|
||||
@@ -107,13 +128,19 @@ export default async function Home() {
|
||||
borderColor: "color-mix(in srgb, var(--color-text-muted) 8%, transparent)",
|
||||
}}
|
||||
>
|
||||
<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%)",
|
||||
}}
|
||||
/>
|
||||
<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) 15%, transparent) 100%)",
|
||||
}}
|
||||
/>
|
||||
<div className="relative flex flex-col lg:flex-row items-center gap-8 lg:gap-14">
|
||||
<div className="flex-1 text-center lg:text-left">
|
||||
<div
|
||||
|
||||
Reference in new issue
Block a user