feat:加上 Vue 学习站与可嵌入机芯

站点按 bloub 三栏做自定义、动画时间线和设置,支持序列导出。
形体只留常见几种并配中文名;动画页右栏拉满时间线旁空位,滚动条隐藏。
机芯补 GROK.create / <grok-bot>,以及暂停冻结。
This commit is contained in:
Edom
2026-08-19 01:29:13 +08:00
parent 891f6ef7e7
commit 1ba126c92b
55 changed files with 8998 additions and 224 deletions
+24
View File
@@ -0,0 +1,24 @@
const PREFIXE = 'study:'
const NOMS = ['cycles', 'cycle', 'forme', 'couleur', 'expression', 'langue'] as const
export type NomStocke = (typeof NOMS)[number]
export function cle(nom: NomStocke): string {
return `${PREFIXE}${nom}`
}
export function lis(nom: NomStocke): string | null {
try {
return localStorage.getItem(cle(nom))
} catch {
return null
}
}
export function ecris(nom: NomStocke, valeur: string): void {
try {
localStorage.setItem(cle(nom), valeur)
} catch {
/* persist is optional */
}
}