import { Code2, Terminal, Workflow, Layers } from "lucide-react"; import { ToolCard } from "@/components/tool-card"; import { LocaleLink } from "@/components/locale-link"; import { SectionHeader } from "../shared/section"; import { getHomeDataSafe } from "../shared/home-data"; import type { ThemeModule } from "../types"; /** Niche:垂直行业目录(AI for Developers) */ const brand = { name: "DevAI.tools", tagline: "AI tools for developers — curated, tested, ranked by the community.", headline: "AI tools for developers", subheadline: "Code assistants, DevOps automation, testing copilots and everything else you ship with.", }; const navItems = [ { label: "Tools", href: "/tools" }, { label: "Workflows", href: "/best" }, { label: "Use Cases", href: "/ai-tools-for" }, { label: "Rankings", href: "/rankings" }, { label: "Submit", href: "/submit" }, ]; const footerGroups = [ { title: "Directory", links: [ { label: "All Tools", href: "/tools" }, { label: "Rankings", href: "/rankings" }, { label: "Use Cases", href: "/ai-tools-for" }, ], }, { title: "Build", links: [ { label: "Workflows", href: "/best" }, { label: "Submit a Tool", href: "/submit" }, { label: "Blog", href: "/blog" }, ], }, { title: "Legal", links: [ { label: "Terms", href: "/terms" }, { label: "Privacy", href: "/privacy" }, ], }, ]; async function NicheHome({ locale }: { locale: string }) { const data = await getHomeDataSafe(6); return (
${" "} find-ai-tools --for developer
{brand.subheadline}
{locale === "zh" && col.introZh ? col.introZh : col.introEn}