// 自动生成:站点首页组件(源自底座 minimal 形态,品牌来自 @/site/brand) import { siteConfig } from "@/site/brand"; import { Search } from "lucide-react"; import { getTranslations } from "next-intl/server"; import { ToolCardGrid } from "@/components/tool-card"; import { LocaleLink } from "@/components/locale-link"; import { getHomeDataSafe } from "@/kit/home-data"; /** Minimal:极简 AI 搜索引擎(一个框,一个任务) */ const navItems = [ { label: "Search", href: "/tools" }, { label: "Use Cases", href: "/ai-tools-for" }, { label: "Rankings", href: "/rankings" }, { label: "Submit", href: "/submit" }, ]; const footerGroups = [ { title: "Search", links: [ { label: "All Tools", href: "/tools" }, { label: "Use Cases", href: "/ai-tools-for" }, { label: "Rankings", href: "/rankings" }, ], }, { title: "About", links: [ { label: "Submit a Tool", href: "/submit" }, { label: "Privacy", href: "/privacy" }, { label: "Terms", href: "/terms" }, ], }, ]; const popularSearches = [ "write a blog post", "generate video", "code assistant", "make a logo", "edit photos", "transcribe meetings", ]; async function SiteHome({ locale }: { locale: string }) { const t = await getTranslations("siteHome"); const th = await getTranslations("hero"); const data = await getHomeDataSafe(6); return (
AI tool search