Repository navigation
feat(web): the page wears GeoSuite's design and favicon - #6
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 ofTryGeoSuite/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.web/worker.js: GeoSuite's official favicon (PNG) at/favicon.png,/favicon.ico,/apple-touch-icon.pngand the old/favicon.svg; engine logos at/logos/*.svg(wrangler "Text" rule added).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.