Skip to content

PRO-10216 (Chapter 1): Site Chrome - #600

Draft
BoDonkey wants to merge 2 commits into
bob/pro-10216-ch0-getting-startedfrom
bob/pro-10216-ch1-site-chrome
Draft

BoDonkey wants to merge 2 commits into
bob/pro-10216-ch0-getting-startedfrom
bob/pro-10216-ch1-site-chrome

Conversation

@BoDonkey

Copy link
Copy Markdown
Contributor

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.

  • Add the second chapter of the series, 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 small site-chrome.css to make them usable until the Styling chapter.
  • Add "Site Chrome" to the tutorials sidebar after Getting Started.
  • Link to the new chapter from Getting Started's "Next steps."

Notes for review:

  • The header is built in three steps: the logo, the navigation, and the mobile menu. Each step shows where the code goes and then the code to add. The complete file is in a collapsed block at the end of the section.
  • The footer is simpler than the demo's. It reads the site title from the global settings. A note in the footer section links to the demo's version.
  • Screenshots are marked with TODO(screenshot) comments and will be added before this is final.

Please indicate which branch this PR should merge into:

Check one

  • main
  • latest
  • stable
  • Check if this PR will be resubmitted against another branch

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?

  1. Run npm run dev and check that the tutorials sidebar lists "Site Chrome" after "Getting Started" under the Astro series.
  2. Open /tutorials/astro/getting-started.html and confirm that the "next chapter" link in "Next steps" goes to Site Chrome.
  3. Work through /tutorials/astro/site-chrome.html in 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)

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Build-related changes
  • Other

Make sure the PR fulfills these requirements:

  • It includes a) the existing issue ID being resolved, b) a convincing reason for adding this feature, or c) a clear description of the bug it resolves
  • The changelog is updated
  • Related documentation has been updated
  • Related tests have been updated

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:

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
@linear

linear Bot commented Nov 20, 2026

Copy link
Copy Markdown

PRO-10216

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