"use client"; import Link from "next/link"; import { ArrowRight } from "lucide-react"; import { motion } from "framer-motion"; import { CONTENT_PREVIEW_ITEMS } from "~/lib/data"; const TAG_COLORS: Record = { 城市: "bg-blue-50 text-blue-700", 专题: "bg-emerald-50 text-emerald-700", 工具: "bg-amber-50 text-amber-700", 活动: "bg-rose-50 text-rose-700", 学习路径: "bg-violet-50 text-violet-700", 会员: "bg-neutral-100 text-neutral-700", }; export function ContentPreview() { return (
本周精选 城市、专题、工具、活动,持续更新
{CONTENT_PREVIEW_ITEMS.map((item, i) => ( {item.tag}

{item.title}

{item.summary}

查看详情
))}
); }