Skip to content

fix(demo): host the Apple sample template hero image permanently - #544

Merged
adeelraza merged 1 commit into
masterfrom
fix/apple-sample-hero-image
Oct 25, 2026
Merged

adeelraza merged 1 commit into
masterfrom
fix/apple-sample-hero-image

Conversation

@ivoIturrieta

Copy link
Copy Markdown
Contributor

Problem

The MacBook Pro hero in the demo's Apple sample template (demo/src/example/sample.json) pointed at https://assets.unlayer.com/projects/167/_magic_images/de92eee8-….jpg. That's a temporary AI-generated image: those files are deleted 7 days after they're generated, so the hero is broken on https://react-email-editor-demo.netlify.app/.

Change

The template now uses the same M5 MacBook Pro image, uploaded as a regular asset that doesn't expire:
https://assets.unlayer.com/projects/139/1792954848102-macbook-pro-m5-hero.jpg

It's 701×433, about the same width as the template's other images. One URL changes.

Validation

  • The new URL returns 200.
  • sample.json parses and loads in the builder with the hero rendering, including the M5 Pro and M5 Max chips.

The MacBook Pro hero in the demo's Apple sample template pointed at a
temporary AI-generated image URL (_magic_images/). Those files are
deleted 7 days after they are generated, so the hero stopped loading.

Point it at the same image, uploaded as a regular asset that does not
expire.

Co-Authored-By: Claude Code (claude-opus-5-5 xhigh) <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.43%. Comparing base (3e115b2) to head (308a6d9).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #544   +/-   ##
=======================================
  Coverage   97.43%   97.43%           
=======================================
  Files           2        2           
  Lines          78       78           
  Branches       20       20           
=======================================
  Hits           76       76           
  Partials        2        2           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@adeelraza
adeelraza merged commit c4b4399 into master Oct 25, 2026
15 checks passed
@adeelraza
adeelraza deleted the fix/apple-sample-hero-image branch October 25, 2026 19:10
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