feat: initial class history template

This commit is contained in:
hanyixuanten committed 2026-10-25 11:23:17 +00:00
commit 92fa0f8f37
33 files changed
+10714

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
文章引用的静态资源(封面图、照片、音视频等)放在这个目录,正文里以 `/pages/static/文件名` 引用。
投稿表单上传的封面图也会由后端提交到这个目录(路径见 `functions/api/submit.ts` 的 `MEDIA_DIR`)。
+11
View File
@@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="500" viewBox="0 0 1200 500">
<defs>
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#171b2b"/>
<stop offset="1" stop-color="#0d1020"/>
</linearGradient>
</defs>
<rect width="1200" height="500" fill="url(#g)"/>
<text x="600" y="245" text-anchor="middle" font-family="sans-serif" font-size="48" fill="#e6c068">封面占位图</text>
<text x="600" y="300" text-anchor="middle" font-family="sans-serif" font-size="22" fill="#96a0b8">把图片放到 public/pages/static/ 后替换本文件</text>
</svg>

After

Width:  |  Height:  |  Size: 623 B