Skip to content

feat(examples): render the README hero from the EngineDeck banner#199

Merged
DemchaAV merged 2 commits into
developfrom
feat/readme-banner-hero
Jun 16, 2026
Merged

feat(examples): render the README hero from the EngineDeck banner#199
DemchaAV merged 2 commits into
developfrom
feat/readme-banner-hero

Conversation

@DemchaAV

Copy link
Copy Markdown
Owner

Why

The repository README hero was a portrait CV promo. The EngineDeck page-1 banner — the engine's own brand panel carrying the current version — is a better fit, and it lets the hero stay current with one rebuild instead of a hand-edited image.

What

  • New EngineDeckExample.generateBanner() renders the page-1 banner standalone on a single landscape page, painting the dark violet field as the canonical pageBackground so it fills the page edge to edge — no white frame, only the banner.
  • Overwrites assets/readme/repository_showcase_render.png with the rasterised banner (the README reference is unchanged). Bumping the shown version is now one rebuild — the banner reads VERSION / CODENAME.
  • The deck's page 1 is untouched; EngineShowcase's Javadoc now points at the new hero source.

Tests

  • EngineDeckLayoutSnapshotTest green — the banner layout is unchanged (the deck and the hero share banner()).
  • Rendered the PDF and rasterised page 1 via PdfPageRasterizer; the PNG is full-bleed dark with the full banner and no white frame.

Stacked on #197 (reuses its EngineDeck banner code); base retargets to develop after #197 merges.

The repository README hero was a portrait CV promo. Replace it with the
EngineDeck page-1 banner — the engine's own brand panel — rendered
full-bleed: a new EngineDeckExample.generateBanner() paints the dark
violet field as the canonical page background, so it fills the whole
landscape page (margins and corners included) and the rasterised PNG
carries no white frame, only the banner.

Bumping the shown version is now one rebuild — the banner reads VERSION /
CODENAME. Overwrites assets/readme/repository_showcase_render.png in
place (the README reference is unchanged); EngineShowcase's Javadoc now
points at the new hero source.
@DemchaAV DemchaAV changed the base branch from feature/flagship-showcase-document to develop June 16, 2026 20:54
@DemchaAV DemchaAV merged commit 1db0919 into develop Jun 16, 2026
11 checks passed
@DemchaAV DemchaAV deleted the feat/readme-banner-hero branch June 16, 2026 21:03
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