Template Directory

Canonical reference for every page template and shared component.

2 Templates with Hero Images

Template 3 — Capability · patent-sketch-light

Pick and Pack Fulfillment

Subject

a cardboard shipping box with a FedEx-style shipping label affixed to the top, with dimension lines and patent callouts marking the box edges and label placement

Full Resolved Prompt

A wide panoramic vintage 1940s US patent illustration on solid warm cream background, exact color RGB(244,241,235). A detailed hand-drawn a cardboard shipping box with a FedEx-style shipping label affixed to the top, with dimension lines and patent callouts marking the box edges and label placement rendered with fine crosshatching, dimension lines with arrows, and numbered patent callouts. Everything drawn with thin dark ink lines, exact color RGB(26,26,26), showing cross-hatching, stippling, and careful penmanship typical of mid-century patent draftsmen. The entire composition fills the full width edge to edge. No rectangular border, no frame. The drawing should look like it was made by a human patent illustrator with a fine-point pen, not computer generated.

Edit

Subject: pick-and-pack-fulfillment-data.jsheroImage.subject

Style: edgepress.config.jsonheroImages.styles.patent-sketch-light

Template 4 — Integration · patent-sketch

Shopify Integration

Subject

Shopify shopping bag with the letter S, with connection diagrams flowing to small technical boxes

Full Resolved Prompt

A wide panoramic vintage 1940s US patent illustration on solid dark navy blue background, exact color RGB(10,22,40). A detailed hand-drawn Shopify shopping bag with the letter S, with connection diagrams flowing to small technical boxes rendered with fine crosshatching, dimension lines with arrows, and numbered patent callouts. Flowing to the right are hand-drawn connection diagrams with dashed lines leading to small technical boxes. Everything drawn with thin cream-colored ink lines showing cross-hatching, stippling, and careful penmanship typical of mid-century patent draftsmen. The entire composition fills the full width edge to edge. No rectangular border, no frame. The drawing should look like it was made by a human patent illustrator with a fine-point pen, not computer generated.

Edit

Subject: shopify-integration-data.jsheroImage.subject

Style: edgepress.config.jsonheroImages.styles.patent-sketch

Hero Image Generation

Templates 3 and 4 support auto-generated hero images via edgepress image:hero. The command reads heroImage blocks from *-data.js files, resolves the style from edgepress.config.json, calls fal.ai Flux to generate the image, and color-corrects the background to navy.

Preview

edgepress image:hero --dry-run

Shows what would be generated without calling the API or writing files.

Single page

edgepress image:hero --page shopify-integration --force

Generates (or regenerates) the hero image for one page. Use --force to overwrite an existing image.

All pages

edgepress image:hero --force

Generates hero images for every page that has a heroImage block in its data file.

Requirements

FAL_KEY environment variable must be set.

Configuration

Style templates are defined in edgepress.config.json under heroImages.styles. Each style specifies prompt structure, dimensions, and post-processing rules.

Add to a new page

Add a heroImage block to the page's data file:

heroImage: {
  src: "/images/hero/page-slug-hero.webp",
  alt: "Description of the image",
  style: "style-name",
  subject: "Subject prompt for generation"
}