blocks
* "use client"; /** * Work detail pages — /work/[slug] rendering the original MDX article * markup 1:1 (from https://haoqi.design/reunimos et al.): * *
{block.items.map((q, i) => (); case "code": return ({q}
))}
{block.text}
);
default:
return null;
}
}
function Article({ slug }: { slug: string }) {
const article = WORK_ARTICLES[slug];
if (!article) {
return (
No article for this work yet.
← Home
{article.date}
{article.year}