Repository navigation
Conversation
Add the Site Chrome chapter: global settings for the site title and logo, the header and navigation, the footer, breadcrumbs, and a temporary site-chrome.css that the Styling chapter replaces. Add it to the sidebar and link to it from Getting Started.
- Tie global settings to the Core concepts pattern in Getting Started - Trim the demo comparison callout now that Getting Started introduces the demo - Replace the copied demo footer with a short footer that reads the site title from global settings - Build the header in three steps (logo, navigation, mobile menu), each showing where the code goes, with the complete file in a collapsed block - Add a builders example and links to the Deeper navigation tip - Name the Update button in the global settings steps - Add screenshot placeholders - Point Next steps at Creating Pages
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.
Draft: don't merge yet. This is Chapter 1 of PRO-10216. It's stacked on #590 (Chapter 0) and targets that branch, not the series branch. Once #590 merges, I'll retarget this PR to
bob/pro-10216-astro-tutorials.site-chrome.md. It adds global settings for the site title and logo, then builds the header and navigation, a footer, and breadcrumbs, with a smallsite-chrome.cssto make them usable until the Styling chapter.Notes for review:
TODO(screenshot)comments and will be added before this is final.Please indicate which branch this PR should merge into:
Check one
Summary
Summarize the changes briefly, including which issue/ticket this resolves. If it closes an existing Github issue, include "Closes #[issue number]"
Chapter 1 (Site Chrome) of PRO-10216, stacked on #590. Doesn't close the ticket.
What are the specific steps to test this change?
npm run devand check that the tutorials sidebar lists "Site Chrome" after "Getting Started" under the Astro series./tutorials/astro/getting-started.htmland confirm that the "next chapter" link in "Next steps" goes to Site Chrome./tutorials/astro/site-chrome.htmlin a project you finished Getting Started with. Confirm that the header, navigation, footer, and breadcrumbs appear, and that the steps in "Try it" behave as described.What kind of change does this PR introduce?
(Check at least one)
Make sure the PR fulfills these requirements:
If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Other information: