Loading
Issue #3605910: Use the theme's own foundation images & logos across Storybook and Canvas, implement the Logo & Share Image page, and tidy component assets
Implements #3605910.
Makes Storybook a faithful example of the approved design and removes external / redundant assets.
What changed
- Logo & Share Image foundation page rebuilt to the approved design (dark/light logo, favicon sizes, real
share-image.png). - No external assets: dropped every
raw.githubusercontent.com/Vardot/varbase-assets,varbase_media_demo, andgit.drupalcode.org/.../3.0.ximage reference. Storybook stories now use the theme's own images. - Consolidated story images under
components/foundation/images/assets/(served at/components), next tobanner-*/hero-*/teaser-*. - Components default to foundation images:
.component.ymlexamples +.twigplaceholder fallbacks now reference foundation images via the Drupal theme path, so components render foundation defaults in Drupal Canvas. - Deleted 11 redundant per-component placeholder assets (avatar kept — no foundation equivalent).
- Fixed the
Layout/Section“With Background Image” story (referenced a non-existent component's asset → 404). - Moved the Media Banner story group from
MediatoOrganisms. - Fixed the CTA Storybook docs page (
cta.mdximportedREADME.mdas a component → InvalidCharacterError; rewritten to the standard autodocs blocks).
Verified (real browser)
- Storybook (main app URL): affected stories render the foundation images, 0 broken, 0 console errors.
- Drupal site: 0 broken/external images.
- Drupal Canvas: editor loads clean;
vartheme_bs5:imagerenders the foundation image; theme-path images load in the canvas preview. varbase-components:fix-versionsclean; gating pipeline green.
AI assistance: drafted with Claude Code (Anthropic), reviewed and tested by me.
Checkpoints
- File an issue about this project
- Addition/Change/Update/Fix to this project
- Testing to ensure no regression
- Automated unit/functional testing coverage
- Developer Documentation support on feature change/addition
- User Guide Documentation support on feature change/addition
- UX/UI designer responsibilities
- Accessibility and Readability
- Code review from 1 Varbase core team member
- Full testing and approval
- Credit contributors
- Review with the product owner
- Update Release Notes
- Release
Edited by Rajab Natshah