From 3c07db0406b07fe972bfed4d90fc6dbbff0f45fb Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Thu, 30 Apr 2026 10:27:41 +0700 Subject: [PATCH] fix: use {id, src, alt} format for image fields EmDash image fields require {id, src, alt} not {url, alt}. Runtime type: { id, src, alt, width?, height? } Co-Authored-By: Claude Opus 4.6 --- seed/seed.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/seed/seed.json b/seed/seed.json index 551f9fb..d536ea3 100644 --- a/seed/seed.json +++ b/seed/seed.json @@ -495,7 +495,8 @@ "hero_button_text": "Open Admin Panel", "hero_button_url": "/_emdash/admin", "hero_image": { - "url": "https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=1200&h=800&fit=crop", + "id": "img-0001", + "src": "https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=1200&h=800&fit=crop", "alt": "Code on a monitor" }, "features_section_title": "Everything you need", @@ -575,7 +576,8 @@ "title": "Building for the Long Term", "excerpt": "The frameworks will change. The databases will change. What survives is the clarity of your thinking.", "featured_image": { - "url": "https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=1200&h=800&fit=crop", + "id": "img-0002", + "src": "https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=1200&h=800&fit=crop", "alt": "Code on a monitor in a dark room" }, "content": [ @@ -679,7 +681,8 @@ "title": "The Case for Static", "excerpt": "Static sites aren't a step backwards. They're what you get when you take performance and simplicity seriously.", "featured_image": { - "url": "https://images.unsplash.com/photo-1499750310107-5fef28a66643?w=1200&h=800&fit=crop", + "id": "img-0003", + "src": "https://images.unsplash.com/photo-1499750310107-5fef28a66643?w=1200&h=800&fit=crop", "alt": "Laptop and coffee on a wooden table" }, "content": [ @@ -744,7 +747,8 @@ "title": "Learning in Public", "excerpt": "Writing about what you're learning is the fastest way to find out what you don't actually understand.", "featured_image": { - "url": "https://images.unsplash.com/photo-1432821596592-e2c18b78144f?w=1200&h=800&fit=crop", + "id": "img-0004", + "src": "https://images.unsplash.com/photo-1432821596592-e2c18b78144f?w=1200&h=800&fit=crop", "alt": "Notebook and pen on a desk" }, "content": [