add more react function and remove typst support

This commit is contained in:
Jiao77
2026-03-01 19:15:43 +08:00
parent 4ba51e1755
commit 4760dbafe0
12 changed files with 994 additions and 72 deletions

View File

@@ -2,12 +2,10 @@
import { getCollection, type CollectionEntry } from 'astro:content';
import PostLayout from '../../layouts/PostLayout.astro';
import Counter from '../../components/Counter.vue';
import TypstBlock from '../../components/TypstBlock.astro';
// MDX 组件映射
const mdxComponents = {
Counter,
TypstBlock,
};
// 生成所有文章的静态路径