Chrome · @csdr/chrome
Masthead & Footer
The shared chrome. Layouts include it; pages never do.
- Import
import Masthead from '@csdr/chrome/Masthead.astro'- Use on
- all
The masthead and footer are rendered by SiteLayout, ReportLayout and the Starlight Header/Footer overrides. Pages never import them. The masthead is server-rendered HTML with a native <details> mobile menu; the only script sets its open state per viewport width.
Wordmark
See the top of this page.
Code
import Wordmark from '@csdr/chrome/Wordmark.astro';
<Wordmark /> // mark + CSDR + descriptor
<Wordmark compact /> // mark + CSDRThe ledger mark is CSDR's own; PatternFly and Red Hat names/logos are not licensed for branding.
Internal-site notice (D11)
Internal — not for distribution
Code
// Layouts pass this automatically when CSDR_AUDIENCE=internal — never by hand.
<Masthead nav={site.nav} notice={{ label: 'Internal — not for distribution', short: 'Internal' }} />
<Footer … notice="Internal — not for distribution" />The internal deployment (pnpm build:internal) wears this badge on every surface — site, reports and docs — plus a footer line, an (internal) title suffix, noindex and a Disallow-all robots.txt. Internal reports add a banner, an INTERNAL print watermark and the label in the PDF footer and HTML export. See /docs/building/deploy/.