import Image from "next/image"; import { Github, PanelsTopLeft, Podcast, Server } from "lucide-react"; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faBlog, faBook } from '@fortawesome/free-solid-svg-icons'; import { faDiscord, faQq, faTelegram } from '@fortawesome/free-brands-svg-icons'; interface Server { name: string; description: string; version_type: string; version_range?: string; image?: string; links?: { downloads?: string[]; "icon-GitHub"?: string; "icon-website"?: string; "icon-blog"?: string; "icon-wiki"?: string; "icon-discord"?: string; "icon-QQ"?: string; "icon-telegram"?: string; "icon-shequ"?: string; }; } interface ServerProps { server: Server; theme: string; } export default function ServerCard({ server, theme }: ServerProps) { return (
{server.version_type}
{server.description}
版本范围: {server.version_range || "无"}
暂无下载链接
)}