From a90e009da8eaef97e2b94f364565579afd182274 Mon Sep 17 00:00:00 2001 From: tianma-if Date: Sun, 25 Oct 2026 10:22:38 +0800 Subject: [PATCH] style(site): unify hero action button shapes and refine github stats pill --- apps/site/src/components/hero.astro | 36 ++++++++++++++++------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/apps/site/src/components/hero.astro b/apps/site/src/components/hero.astro index e7976d89..9ab26c5f 100644 --- a/apps/site/src/components/hero.astro +++ b/apps/site/src/components/hero.astro @@ -1,7 +1,6 @@ --- import { Picture } from "astro:assets"; import heroProductImage from "@/assets/edgeever-hero-product.png"; -import Link from "@/components/ui/link.astro"; import { Icon } from "astro-icon/components"; import { Meteors } from "@/components/magicui/meteors"; import { getLocalizedPath, getSiteLocale, siteCopy } from "@/i18n"; @@ -48,39 +47,44 @@ const copy = siteCopy[locale].hero;
- - + {copy.demo} - + - -
- - + + + GitHub + + + + + -- - - + + + -- -
+
- + class="inline-flex h-11 gap-2 items-center justify-center px-5 bg-brand/5 border border-brand/20 hover:border-brand/40 text-brand-text hover:bg-brand/10 transition-all duration-300 rounded-full font-semibold text-sm hover:-translate-y-0.5 w-full sm:w-auto text-center" + > + {copy.agentInstall}