import { Badge } from '@/components/ui/badge'; import Link from 'next/link'; interface SidebarProps { tags: any[]; } export default function Sidebar({ tags }: SidebarProps) { return (
{/* Hot Tags */}

热门标签

{tags.map((tag) => ( {tag.标签名称} ))}
{/* Recommended (Static for now) */}

推荐阅读

{[1, 2, 3].map((i) => (
0{i}

2025年前端架构演进:从 Micro-Frontends 到 Islands Architecture

12 min read

))}
); }