From bb2b051979a917d9d9593fea08004b2dd5fe23bc Mon Sep 17 00:00:00 2001 From: yoma Date: Wed, 15 Jul 2026 22:59:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E5=AE=98=E7=BD=91=E6=8A=80=E6=9C=AF?= =?UTF-8?q?=E6=A0=88=E5=9B=BE=E6=A0=87=E8=A1=A5=E5=85=85=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/site/src/components/logos.astro | 37 ++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/apps/site/src/components/logos.astro b/apps/site/src/components/logos.astro index 0c70083d..f0bf000d 100644 --- a/apps/site/src/components/logos.astro +++ b/apps/site/src/components/logos.astro @@ -2,18 +2,41 @@ // @ts-ignore import { Icon } from "astro-icon/components"; import { Marquee } from "@/components/magicui/marquee"; + +const isEnglish = Astro.url.pathname === "/en" || Astro.url.pathname.startsWith("/en/"); +const heading = isEnglish + ? "Built with a modern, efficient technology stack" + : "基于现代且高效的技术栈构建"; + +const technologies = [ + { name: "React", icon: "simple-icons:react", hoverClass: "group-hover:text-indigo-600" }, + { name: "Cloudflare", icon: "simple-icons:cloudflare", hoverClass: "group-hover:text-orange-500" }, + { name: "Bun", icon: "simple-icons:bun", hoverClass: "group-hover:text-yellow-600" }, + { name: "Tailwind CSS", icon: "simple-icons:tailwindcss", hoverClass: "group-hover:text-teal-500" }, + { name: "SQLite", icon: "simple-icons:sqlite", hoverClass: "group-hover:text-blue-500" }, + { name: "Hono", icon: "simple-icons:hono", hoverClass: "group-hover:text-red-500" }, +] as const; ---
-

基于现代且高效的技术栈构建

+

{heading}

- - - - - - + {technologies.map((technology) => ( +
+ + + {technology.name} + +
+ ))}