Skip to content

Commit c523aa8

Browse files
Shawclaude
andcommitted
feat(homepage): SIWS sign-in, unified hover, brand chrome on dashboard
- /get-started gains a Solana Wallet method that drives the existing /api/auth/siws/{nonce,verify} endpoints; Playwright can stand in for a real wallet via window.__siwsTestSigner. - All button hover backgrounds unified to brand-black (text inverts); removes orange/blue rollover drift across CTAs, nav, and method picker. - /connected gets a top-left Eliza wordmark header so logo size and header padding stay consistent with /get-started; header is pointer- events-none so the existing avatar dropdown stays clickable. - New tests/e2e/aesthetic-audit.spec.ts enforces xs corner rounding, unified hover, logo height + nav padding parity, no console errors, and full-route screenshot capture; scripts/generate-contact-sheet.mjs composes those captures into a single review page. Exposed as bun --cwd packages/homepage run test:audit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ab91f56 commit c523aa8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/homepage/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"check:release-data": "node ../app-core/scripts/check-homepage-release-data.mjs",
1111
"test": "node --test tests/smoke.node.test.mjs",
1212
"test:e2e": "node ../app-core/scripts/write-homepage-release-data.mjs && ../../node_modules/.bin/playwright test",
13+
"test:audit": "node ../app-core/scripts/write-homepage-release-data.mjs && ../../node_modules/.bin/playwright test tests/e2e/aesthetic-audit.spec.ts && node scripts/generate-contact-sheet.mjs",
1314
"typecheck": "node ../app-core/scripts/write-homepage-release-data.mjs && tsc -b",
1415
"preview": "bun --bun vite preview --port 4444",
1516
"lint": "bunx @biomejs/biome check --write --unsafe .",

packages/homepage/src/pages/connected.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,14 @@ export default function ConnectedPage() {
250250
style={{ fontFamily: "Poppins, system-ui, sans-serif" }}
251251
>
252252
<header
253-
className="absolute top-0 inset-x-0 z-10 p-4 flex items-center justify-between"
253+
className="absolute top-0 inset-x-0 z-10 p-4 flex items-center justify-between pointer-events-none"
254254
>
255255
<Link
256256
to="/"
257257
aria-label={t("homepage_eliza.common.brandHomeAria", {
258258
defaultValue: "Eliza home",
259259
})}
260-
className="inline-flex items-center"
260+
className="inline-flex items-center pointer-events-auto"
261261
>
262262
<ElizaLogo className="h-8" />
263263
</Link>

0 commit comments

Comments
 (0)