feat(site): smoother motion across the landing pages
- Slow Ken Burns drift on the hero artwork for cinematic depth. - Gentle breathing pulse on the brand glows behind Frank and the hero. - Silkier reveal easing (cubic-bezier .22/1/.36/1, 0.55s) site-wide. - Eased, longer hover transitions on the hero CTAs. - Smooth page scrolling, all guarded by prefers-reduced-motion.
This commit is contained in:
1 parent
bf5b9918d9
commit
efd3b00075
3 files changed
+49
-3
No files matched your search
@@ -228,6 +228,7 @@ export default async function Home() {
|
||||
fill
|
||||
priority
|
||||
sizes="100vw"
|
||||
className="ken-burns"
|
||||
style={{ objectFit: "cover", objectPosition: "center 20%" }}
|
||||
/>
|
||||
<div
|
||||
@@ -290,7 +291,7 @@ export default async function Home() {
|
||||
<div className="flex flex-wrap gap-2.5 sm:gap-3 justify-center">
|
||||
<Link
|
||||
href="/register"
|
||||
className="btn-shine inline-flex items-center gap-2 sm:gap-2.5 font-extrabold text-xs sm:text-sm px-5 sm:px-8 py-3 sm:py-4 rounded-xl transition-all duration-200 hover:scale-[1.03] active:scale-95 shadow-lg"
|
||||
className="btn-shine inline-flex items-center gap-2 sm:gap-2.5 font-extrabold text-xs sm:text-sm px-5 sm:px-8 py-3 sm:py-4 rounded-xl transition-all duration-300 ease-out hover:scale-[1.03] active:scale-95 shadow-lg"
|
||||
style={{
|
||||
background: "var(--color-primary)",
|
||||
color: "var(--color-primary-foreground)",
|
||||
@@ -309,7 +310,7 @@ export default async function Home() {
|
||||
</Link>
|
||||
<Link
|
||||
href="/login"
|
||||
className="inline-flex items-center gap-2 font-bold text-xs sm:text-sm px-5 sm:px-8 py-3 sm:py-4 rounded-xl border-2 transition-all duration-200 hover:scale-[1.03] active:scale-95 backdrop-blur-sm"
|
||||
className="inline-flex items-center gap-2 font-bold text-xs sm:text-sm px-5 sm:px-8 py-3 sm:py-4 rounded-xl border-2 transition-all duration-300 ease-out hover:scale-[1.03] active:scale-95 backdrop-blur-sm"
|
||||
style={{
|
||||
borderColor:
|
||||
"color-mix(in srgb, var(--color-text-muted) 20%, transparent)",
|
||||
|
||||
Reference in new issue
Block a user