Skip to content

fix blank tokenomics page, dead help cards, mobile-nav a11y, missing metadata - #150

Open
prerevenuefable wants to merge 5 commits into
gibwork:mainfrom
prerevenuefable:fix/broken-states
Open

fix blank tokenomics page, dead help cards, mobile-nav a11y, missing metadata#150
prerevenuefable wants to merge 5 commits into
gibwork:mainfrom
prerevenuefable:fix/broken-states

Conversation

@prerevenuefable

Copy link
Copy Markdown

Four broken states, all reproducible on www.gib.work right now:

  • /tokenomics renders only the nav bar. The page component returned <Nav /> and nothing else.
  • The three cards under "Get help from an expert" don't link anywhere, and all three images carry the same copy-pasted alt="Open Source Bounty".
  • The mobile menu has no dialog semantics: hamburger and close buttons have no accessible name, no aria-expanded, no focus handling, and Escape doesn't close it.
  • Sharing the site on X produces no card (no twitter metadata, no metadataBase), and public/sitemap.xml lists a single URL with lastmod 2024-08-28.

What changed:

  • app/tokenomics/page.tsx is now a minimal real page: $WORK summary, token address, and links to the tokenomics docs, DexScreener and CoinGecko (all sourced from docs.gib.work), plus footer and page metadata.
  • components/looking-for.tsx: Open Source Bounty links to app.gib.work/bounties/create, Simple Task to app.gib.work/tasks/create, Services to the app root (the app has no services route today — checked). Alt texts corrected; a hover border so the cards read as clickable. Note: the /explore links used in older PRs 404 now.
  • components/nav.tsx: role="dialog"/aria-modal on the overlay, aria-label/aria-expanded/aria-controls on the hamburger, labelled close button, focus moves to the close button on open and back to the toggle on close, Escape closes, background scroll is locked while the menu is open. Icon-only social links in nav and footer got aria-labels. No visual changes. Addresses Accessibility: keep keyboard focus inside the mobile navigation modal #115 and Improve mobile landing-page navigation accessibility with a focus-trapped dialog #134.
  • app/layout.tsx: metadataBase, twitter card, canonical ("./" resolves per route, verified: / and /tokenomics each render their own). components/hero.tsx: removed the flowbite-react import that was only referenced inside a commented-out block, and gave the dashboard screenshot a real alt. public/sitemap.xml: both routes, current lastmod.

npm run build passes (types + lint). Mobile menu verified with Playwright: aria-expanded toggles, focus lands on the close button, Escape closes and returns focus to the toggle.

Before/after:

before after
/tokenomics before: blank tokenomics page after: tokenomics page with content
help cards before: unlinked help cards after: help cards linked, hover border

/tokenomics rendered only the nav bar. Add minimal content: $WORK
description, token address, and links to the tokenomics docs,
DexScreener and CoinGecko (all taken from docs.gib.work), plus the
footer and page metadata.
The three cards under "Get help from an expert" didn't link anywhere.
Open Source Bounty and Simple Task now go to the live create flows on
app.gib.work; Services goes to the app (no services route exists there
yet). All three images had alt="Open Source Bounty" copy-pasted; the
hero dashboard screenshot had an empty alt.
The mobile menu overlay had no dialog role, the hamburger and close
buttons no accessible names, and Escape didn't close it. Add
role=dialog/aria-modal, aria-label + aria-expanded/aria-controls on the
toggle, move focus to the close button on open and back on close, and
close on Escape. Icon-only social links in the nav and footer get
aria-labels too.
…e import

Social embeds had no twitter card and no metadataBase for resolving
relative og URLs. The sitemap listed one URL with lastmod 2024-08-28;
add /tokenomics and update it. hero.tsx imported Clipboard from
flowbite-react for a commented-out block only, pulling the library into
the client bundle for nothing.
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

@prerevenuefable is attempting to deploy a commit to the gibwork Team on Vercel.

A member of the Team first needs to authorize it.

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