Skip to content

Add host-scoped Topgear community header - #416

Merged
jmgasper merged 2 commits into
devfrom
feat/topgear-header
Oct 1, 2026
Merged

jmgasper merged 2 commits into
devfrom
feat/topgear-header

Conversation

@jmgasper

@jmgasper jmgasper commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

Topgear members need the community header when the host moves from community-app to Platform UI. Tool navigation now automatically renders the Wipro, Topcoder, and Topgear logos on exactly topgear.topcoder.com and topgear.topcoder-dev.com; integrations may also request type: 'topgear'.

Home links to https://topgear-app.wipro.com, and Challenges links to /opportunities/challenge on the current Topgear origin. The responsive header retains account controls and omits Leaderboard and the tool selector. Other hosts keep the standard navigation. The CORS template includes both environment-specific Topgear origins.

Validation: npm run lint, npm test, and the full build pass. Browser checks passed on both Topgear hosts at 1440, 768, 375, and 320 pixels, and confirmed the standard header on the Platform UI host. Added a lint script using the existing Svelte check and corrected three existing nudge type annotations so it passes.

Companion Platform UI PR #2426 removes the hero banner and adds the dev-only legacy URL redirect. Production routing remains unchanged. Base is dev as confirmed; this repository has no develop branch.

Dev deployment verified on 2026-10-02 (Australia/Hobart): the live navigation bundle matches the built artifact, CORS allows the Topgear dev origin, and the full Platform UI page renders all three logos with readable mobile branding at 375 and 320 pixels. No production bundle or routing was deployed.

CI build and type checks pass. The pre-existing Trivy workflow fails before scanning because aquasecurity/trivy-action@0.33.1 cannot be resolved; the workflow is unchanged by this PR.

@jmgasper
jmgasper merged commit c320df6 into dev Oct 1, 2026
6 of 7 checks passed
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