Skip to content

feat(web): the page wears GeoSuite's design and favicon - #6

Merged
matte97p merged 1 commit into
mainfrom
matte97p/redesign
Oct 14, 2026
Merged

matte97p merged 1 commit into
mainfrom
matte97p/redesign

Conversation

@matte97p

Copy link
Copy Markdown
Member

Why

The hosted tool still had its first look (dark-blue palette, emoji icons, pin favicon) while the hub at tools.trygeosuite.it and its /check page moved to GeoSuite's design system.

What changes

  • web/theme.js: copy of TryGeoSuite/geo-toolkit/theme.js, kept in step with it.
  • web/page.js: hub-style header (Free tools, EN/IT), hero, CLI command in a copyable box that follows the selected type, template picker, code view and validator as theme panels. Verdicts pair an icon with text; light and dark both readable. No emoji icons, no em dashes.
  • The "Built by GeoSuite" box becomes the hub's closing CTA (engines, campaign-tagged link to the free analysis); the GitHub star is a ghost link.
  • web/worker.js: GeoSuite's official favicon (PNG) at /favicon.png, /favicon.ico, /apple-touch-icon.png and the old /favicon.svg; engine logos at /logos/*.svg (wrangler "Text" rule added).
  • API, templates, validator and routes unchanged.

Verified

  • npm run lint, npm run validate, npm test: pass (5/5).
  • renderPage('en'|'it'): inline scripts parse, no U+2014, no emoji.
  • wrangler dev --local: all routes 200 with the right content types; screenshots at 1280 light/dark and 390 mobile, with valid and invalid validation results; no horizontal scroll on mobile.

The hosted tool still had its first look (dark-blue palette, emoji icons, the
pin favicon) while the hub at tools.trygeosuite.it and its /check page moved to
GeoSuite's design system. A visitor clicking through from the hub landed on
what looked like another site.

- web/theme.js is a copy of TryGeoSuite/geo-toolkit/theme.js (tokens, chrome,
  panels, CTA), kept in step with it.
- page.js uses it: bar header with the hub link and EN/IT, hero with the CLI
  command in a copyable box (it follows the selected type), the template
  picker, code view and validator restyled as panels. Verdicts pair an icon
  with text, light and dark both readable. No emoji icons, no em dashes.
- The "Built by GeoSuite" box becomes the hub's closing call to action, with
  copy written for structured data and a campaign-tagged link.
- worker.js serves GeoSuite's official favicon (PNG) at /favicon.png,
  /favicon.ico, /apple-touch-icon.png and the old /favicon.svg, and the engine
  logos the CTA shows at /logos/*.svg (wrangler "Text" rule added).

API, templates, validation and all routes are unchanged.
@matte97p
matte97p merged commit 26e7eab into main Oct 14, 2026
2 checks passed
@matte97p
matte97p deleted the matte97p/redesign branch October 14, 2026 19:06
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