feat(Templates): Base Page — eerste paginatemplate#168
Merged
jeffreylauwers merged 3 commits intomainfrom Apr 17, 2026
Merged
Conversation
Voegt de nieuwe Storybook-categorie 'Templates' toe met het Basic Page template: een complete, toegankelijke paginastructuur van Body + SkipLink + PageLayout + PageHeader + PageBody + PageFooter. Twee stories: Default en Inverse (colorScheme="inverse" op header en footer). Documentatie beschrijft de verantwoordelijkheidsverdeling per laag, waarom <main> in het template zit (niet in PageBody), en de skip-link vereiste (WCAG 2.4.1). Sluit #165. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…er door inline padding - BasicPage → BasePage (bestanden, titels, Storybook-route) - Container verwijderd: padding nu direct op <main> als inline style via tokens: paddingBlock var(--dsn-space-block-6xl) (64px), paddingInline var(--dsn-space-inline-xl) (16px) - Documentatie uitgebreid met uitleg waarom inline style en niet een herbruikbare klasse Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
De Grid inside PageFooter had een dubbele padding-inline: de eigen --dsn-grid-margin (24px) bovenop de --dsn-page-footer-padding-inline (16px) van de __inner wrapper. Via een scoped custom property override op .dsn-page-footer valt de Grid-margin weg en lijnt het logo uit met de paginainhoud. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 tasks
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.
Sluit #165.
Summary
Voegt de nieuwe Storybook-categorie Templates toe met het Base Page template.
Base Page(default) enBase Page: InverseContainer— padding staat direct als inline style op<main>via tokens:paddingBlock: var(--dsn-space-block-6xl)(64px) enpaddingInline: var(--dsn-space-inline-xl)(16px). Template-specifiek bewust niet via een herbruikbare klasse.<main>in het template zit (niet inPageBody), de padding-keuze, en de skip-link vereiste (WCAG 2.4.1)Test plan
pnpm --filter storybook exec tsc --noEmit)pnpm lint)accent-1-inversefooter zichtbaarIntroduction.mdxbijgewerkt met Templates-categorie🤖 Generated with Claude Code