Skip to content

Refactor Sandbox page layout to use CatalogueHero component#128

Merged
remigit55 merged 1 commit into
masterfrom
claude/nifty-cerf-zfisvo
Jun 15, 2026
Merged

Refactor Sandbox page layout to use CatalogueHero component#128
remigit55 merged 1 commit into
masterfrom
claude/nifty-cerf-zfisvo

Conversation

@remigit55

Copy link
Copy Markdown
Collaborator

Summary

Refactored the Sandbox page layout to use the reusable CatalogueHero component for the page header, improving consistency with other catalogue pages and reducing custom styling.

Key Changes

  • Replaced custom header markup with CatalogueHero component from @/components/site/CatalogueLayout
  • Simplified the main container styling by removing inline styles and using semantic layout classes (site-section, site-section-bordered, site-container)
  • Restructured the page layout to follow the site's standard section pattern
  • Added eyebrow string translations ("Atelier" in French, "Workshop" in English) to support the CatalogueHero component
  • Removed the doc-page and doc-page-header wrapper divs in favor of the new layout structure

Implementation Details

  • The page header now uses CatalogueHero with three props: eyebrow, title, and lead
  • Content is now wrapped in a site-section with site-section-bordered class for consistent styling
  • Maintained all existing functionality and content while improving the visual structure
  • The dark theme class is still applied to the root container for proper theming support

https://claude.ai/code/session_01JQs65JuuVFK5isPqXCiZHT

Reprend le gabarit de référence des piliers (Connecteurs / Composants /
Modules) pour la page Sandbox : hero CatalogueHero (eyebrow cyan + grand
titre display + lead) puis section bordée centrée (site-section /
site-container). Supprime le cadre gris ad hoc (doc-page + bloc
bpm-bg-secondary) au profit des tokens et gaps partagés, pour des
couleurs, titres et espacements homogènes avec le reste de la vitrine.

https://claude.ai/code/session_01JQs65JuuVFK5isPqXCiZHT
@remigit55
remigit55 merged commit bb07ab9 into master Jun 15, 2026
1 check passed
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.

2 participants