feat(splash): simplify multi-character home layout
Docker Image / Build and Push Docker Image (push) Successful in 2m1s

This commit is contained in:
Codex
2026-07-23 13:27:16 +08:00
parent 770ce6b8fd
commit 79397af739
10 changed files with 67 additions and 65 deletions
@@ -12,7 +12,7 @@ describe("splash Tailwind components", () => {
expect(html).toContain("z-2");
expect(html).toContain("inline-flex");
expect(html).toContain("block h-auto w-auto");
expect(html).toContain("block h-auto w-[clamp(136px,38vw,158px)]");
expect(html).toContain("%2Fimages%2Fsplash%2Fic-logo-home.png");
});
@@ -30,10 +30,9 @@ describe("splash Tailwind components", () => {
it("renders SplashContent with Tailwind typography classes", () => {
const html = renderToStaticMarkup(<SplashContent characterName="Maya" />);
expect(html).toContain("flex flex-col gap-md");
expect(html).toContain("Welcome to Maya&#x27;s private world.");
expect(html).toContain("Just you and me.");
expect(html).toContain("font-(family-name:--font-athelas)");
expect(html).toContain("whitespace-pre-line");
expect(html).toContain("Welcome to Maya");
});
it("renders SplashButton as an always-ready action", () => {