From d2572757cdc23bdadc0054cc8eeb2d62924f73ff Mon Sep 17 00:00:00 2001 From: openhands Date: Sat, 12 Sep 2026 18:16:29 +0200 Subject: [PATCH] perf(site): feature card tilt & news card zoom micro-interactions - Feature cards: group hover zoom & rotate on icon badge, smoother card lift on hover (-translate-y-1.5). - Stats cards: primary accent on numbers, pill badge for labels. - News cards: smoother 500ms transition with scale-108 image zoom. --- src/app/(site)/page.tsx | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/src/app/(site)/page.tsx b/src/app/(site)/page.tsx index d93d8f90..0e3540b8 100644 --- a/src/app/(site)/page.tsx +++ b/src/app/(site)/page.tsx @@ -409,10 +409,10 @@ export default async function Home() { {features.map((f) => (
( -
+
{s.value === null ? ( {te("unavailable")} ) : s.live ? ( @@ -499,14 +506,18 @@ export default async function Home() { )}
{s.label} @@ -596,12 +607,12 @@ export default async function Home() {
@@ -610,7 +621,7 @@ export default async function Home() { alt={a.title} fill sizes="(max-width: 640px) 100vw, 400px" - className="rounded-xl object-cover transition-all duration-300 group-hover:scale-105" + className="rounded-xl object-cover transition-transform duration-700 ease-out group-hover:scale-108" />