Repository navigation
refactor(tools): move methodology disclosure below the tool widget - #27
Merged
Merged
Conversation
Users land directly on the interactive widget without having to scroll past a collapsed prose block. The <details> SEO disclosure remains in the DOM after the widget, keeping all content indexable, but no longer gates access to the tool on page load. mb-6 replaced with mt-12 for adequate visual separation below the widget.
|
🚀 Preview deployed to: https://a27572a3.gemmology-dev.pages.dev |
This branch was successfully deployed
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.
Summary
<details>SEO prose block from above the React tool widget to below it on all 7 tool pages (/tools,/tools/measurement,/tools/optical,/tools/lab,/tools/identification,/tools/advanced,/tools/conversions).<details>block relocates.mb-6withmt-12on each<details>element for visual separation below the widget.The prose content stays in the DOM and remains fully indexable by search engines. Users now land directly on the interactive tool rather than scrolling past a collapsed disclosure block to reach it.
Test plan
npm run buildpasses (912 pages, no errors)<details>character offset >astro-islandcharacter offset (confirmed for all 7)aria-label="Tool categories"remains 0 occurrences on/tools/(duplicate-nav fix not regressed)