diff --git a/src/web/public-site.ts b/src/web/public-site.ts index 5a55189..a1692a2 100644 --- a/src/web/public-site.ts +++ b/src/web/public-site.ts @@ -71,7 +71,7 @@ function renderLandingPage(title: string, body: string, fontDataUrl: string): st diff --git a/test/authenticated-proxy.test.ts b/test/authenticated-proxy.test.ts index b56dad1..b4a6954 100644 --- a/test/authenticated-proxy.test.ts +++ b/test/authenticated-proxy.test.ts @@ -190,6 +190,11 @@ describe("authenticated inspector proxy", () => { expect(landingHtml).toContain("A private feed for Cameron and the agents working with him."); expect(landingHtml).toContain('
'); expect(landingHtml).toContain(''); + expect(landingHtml).toMatch(/\.landing-main h1\{[^}]*text-align:center\}/); + expect(landingHtml).toContain(".login-form{margin-top:28px;text-align:center}"); + expect(landingHtml).toContain( + ".landing-footer{padding:16px 0 0;border-top:1px solid var(--border);font-size:12px;text-align:center}", + ); expect(landingHtml).toContain('href="https://tangled.org/@cameron.stream/thought-stream">code'); expect(landingHtml).toContain("data:font/woff2;base64,"); expect(landingHtml).not.toContain('href="/docs"');