Skip to content

fix(web): root metadata carries the brand positioning - #272

Merged
hibeekaey merged 4 commits into
mainfrom
fix/root-metadata-branding
Jul 23, 2026
Merged

fix(web): root metadata carries the brand positioning#272
hibeekaey merged 4 commits into
mainfrom
fix/root-metadata-branding

Conversation

@hibeekaey

Copy link
Copy Markdown
Contributor

Summary

  • web/src/app/layout.tsx: title now matches the home og/twitter card ("Expendit — See every naira. File every tax.") instead of the bare "Expendit", and the fleet-fallback description drops the placeholder "Expense tracker App" for the ratified tagline "See every naira. File every tax." (matches web/scripts/generate-brand-assets.mjs's expendit.tagline, already used for the shipped og-image, its alt text, and the home hero H1).
  • web/src/app/manifest.ts: description matches the fix above, per the file's own doc comment ("Identity mirrors the root layout metadata").
  • web/src/app/page.tsx: openGraph.description and twitter.description previously carried two different strings — unified into a single CARD_DESCRIPTION constant (mirroring the single-constant pattern used in apparule/upstat's home metadata) so the cards can't drift again.
  • web/e2e/seo.spec.ts (fleet-shared, byte-identical across repos) only asserts generic shapes (manifest name contains the product name, canonical/og-image/icons resolve) — no hardcoded copy there, so it needed no changes. No other test hardcodes the old placeholder strings.

Note: docs/pages.md's A2 row still lists the hero H1 as "Financial intelligence for modern growth", which is stale — the shipped HeroSection.tsx, web/e2e/home.spec.ts (locked), opengraph-image.alt.txt, and generate-brand-assets.mjs all agree on "See every naira. File every tax." Treated code as ground truth here rather than reverting live copy to the stale doc cell; flagging for a separate docs-currency pass.

Test plan

  • cd web && npm run lint — clean (prettier, eslint, check:boundaries)
  • cd web && npm test — 95 files / 486 tests passed
  • cd web && npm run typecheck — clean

🤖 Generated with Claude Code

…st, matched card descriptions

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@hibeekaey
hibeekaey requested a review from chordzz as a code owner July 23, 2026 13:50
hibeekaey and others added 3 commits July 23, 2026 14:51
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ooter, signin)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@hibeekaey
hibeekaey merged commit d363ed7 into main Jul 23, 2026
8 checks passed
@hibeekaey
hibeekaey deleted the fix/root-metadata-branding branch July 23, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant