This commit is contained in:
biss committed 2026-07-18 09:13:04 +08:00
1 parent 271f0c4efd
commit 8bbc9da1e5
62 files changed
+2048 -9

No files matched your search

File diff suppressed because it is too large. Load diff
+26
View File
@@ -0,0 +1,26 @@
export type ArticleCategory = "班级记忆" | "毕业时刻" | "节日来信" | "考试升学" | "校园通知";
export interface WechatArticle {
title: string;
date: string;
displayDate: string;
sourceUrl: string;
cover: string;
excerpt: string;
category: ArticleCategory;
fileName: string;
}
import articleData from "./articles.generated.json";
export const articles = articleData as WechatArticle[];
export const articleCategories: ArticleCategory[] = [
"班级记忆",
"毕业时刻",
"节日来信",
"考试升学",
"校园通知"
];
export const featuredArticles = articles.slice(0, 3);
+5 -2
View File
@@ -1,10 +1,11 @@
import type { PhotoTopic } from "../photo-types";
import { wechatPhoto } from "./wechat-photo";
export const candidTopic: PhotoTopic = {
slug: "candid",
title: "没被摆拍的瞬间",
text: "走廊、食堂、晚霞和笑场。真正会让人停下来的,常常是不太整齐的照片。",
cover: "",
cover: "/assets/wechat-archive/wechat-499.webp",
photos: [
{
title: "走廊偶遇",
@@ -25,6 +26,8 @@ export const candidTopic: PhotoTopic = {
title: "笑场",
caption: "最不端正的照片,往往最像我们。",
image: ""
}
},
wechatPhoto(490, "恶魔角合照", "没有正式站姿,反而最像我们真实的青春。"),
wechatPhoto(499, "草地上的伙伴", "坐下来聊聊天,晚风把时间吹得很慢。")
]
};
Loaded 3 of 62 files, more files were not shown because too many files have changed in this diff. Show more