feat(web): apply Lingniu brand assets

This commit is contained in:
lingniu
2026-07-16 09:17:04 +08:00
parent 61c1bbc365
commit c3b0996698
8 changed files with 112 additions and 17 deletions

View File

@@ -15,6 +15,8 @@ describe('V2 production entry', () => {
test('renders a static boot shell and recovers when the React entry never becomes ready', () => {
expect(indexSource).toContain('id="platform-boot"');
expect(indexSource).toContain('rel="icon" type="image/svg+xml" href="/brand-mark.svg"');
expect(indexSource).toContain('class="platform-boot-logo" src="/brand-logo.svg"');
expect(indexSource).toContain("window.addEventListener('error', fail, true)");
expect(indexSource).toContain("window.addEventListener('unhandledrejection', fail)");
expect(indexSource).toContain('window.setTimeout(fail, 10_000)');