Repository navigation
Microsoft To Do: move the call to action into the header - #172
Merged
Merged
Conversation
…header A quiet nav link just before Try the demo (from 1200 px) and the last link of the menu below 960 px, on every page, in the page's language, until 2027-06-30. The home page line is gone. One component (src/components/MsTodoLink.astro), two lines in SiteHeader.astro, one CSS block (.header-ms-todo). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0187cnkXBm72ZSggGvrvUMKW
Contributor
|
Preview: download the built site for e6f5318, unzip it and run |
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.
Moves the Microsoft To Do call to action out of the home page hero and into the header, as the owner asked.
What changes
/blog/leaving-microsoft-to-do/; translated pages carryhreflang="en".<details>menu): the link is the menu's last link, after Star on GitHub. The header row stays brand, Try the demo, menu button. No sideways scroll at 360 px.How to remove it
src/components/MsTodoLink.astro.<MsTodoLink … />lines insrc/components/SiteHeader.astro..header-ms-todoblock insrc/styles/site.css.tests/no-js.spec.ts.Spec
openspec/changes/ms-todo-home-noticeis rewritten for the header link: proposal, tasks and the spec delta (three requirements).openspec validate ms-todo-home-notice --strictpasses.Checks
npm run check,npm test(118),npm run build,npm run check:dist,npm run test:browser(415 passed, including the updated no-JS test at 1280 px and at 360 px with the menu open).No new dependency, no script, about 150 bytes of HTML per page.
Generated by Claude Code