import { getArticle } from "@/app/_lib/data/article" import MarkdownView from "@/app/_ui/MarkdownView" import { faArrowRight } from "@fortawesome/free-solid-svg-icons" import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" import Image from "next/image" import { MDXRemote } from 'next-mdx-remote/rsc' import Link from "next/link" const PICTURE_PREFIX = 'https://newuitab.oss-cn-hangzhou.aliyuncs.com/ai_upload/downloads/' export default async function Page({ params }: { params: Promise<{ id: string }> }) { const id = (await params).id const article = await getArticle(id) if (!article) return <> return

{article.title}

{article.description}
访问官网
}