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} + +
+ ))}