chore: 官网拆分 homepage + 关于页瘦身 + 端口 5175(当前可用状态基线)

This commit is contained in:
Logan.Li committed 2026-10-14 20:31:51 +08:00
1 parent 5eb11826db
commit be151cb68f
85 files changed
+4420 -1530

No files matched your search

+4
View File
@@ -29,4 +29,8 @@ describe('settings migration', () => {
const settings = normalizeAppSettings({ language: 'fr-FR' })
expect(isAppLanguage(settings.language)).toBe(true)
})
it('rejects unsupported saved themes', () => {
expect(normalizeAppSettings({ theme: 'invalid' }).theme).toBe('dark')
expect(normalizeAppSettings({ theme: 'system' }).theme).toBe('system')
})
})