import { Link } from "@/i18n/navigation"; import { getTranslations } from "next-intl/server"; import { Mail, Rss, SquareArrowOutUpRight } from "lucide-react"; import { siteConfig } from "@/lib/site-config"; /** * 社交链接图标。 * * 注意:lucide-react v1.x 已移除品牌图标(Github / Twitter 等), * 因此这里使用通用图标,由 `label` 文本承载具体含义—— * 图标仅作装饰(aria-hidden),可访问性不依赖它。 */ const SOCIAL_ICONS = { github: SquareArrowOutUpRight, twitter: Rss, mail: Mail, } as const; /** * 站点页脚。 * * DESIGN.md 的 footer-region:白底上一道 hairline 顶边,多列分组, * 分栏标题用 body-sm-medium 深色,链接用 body-sm 灰色。 */ export async function SiteFooter() { const t = await getTranslations("Footer"); const tNav = await getTranslations("Nav"); const year = new Date().getFullYear(); return ( ); }