domaino/packages/shared/src/blocks
agent 91e3e916d8 Shop block: share item loading with the admin preview, never render blank
The admin preview never received items/slots/events, so Shop and Upcoming
calendar blocks were empty there. loadShopData() (shared) now feeds both
the public layout and a new /preview loader.

A Shop block with nothing to show (no active items, a filter matching
none, or commerce data unavailable because POCKETBASE_ADMIN_* is unset)
now says so instead of rendering an empty section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KgF3Kf47LjPGHKQHszpUAv
2026-10-06 12:06:05 +00:00
..
BackgroundWrapper.svelte moved shared code to the shared package 2026-08-19 19:18:31 +02:00
BlockRenderer.svelte moved shared code to the shared package 2026-08-19 19:18:31 +02:00
ButtonBlock.svelte moved shared code to the shared package 2026-08-19 19:18:31 +02:00
CheckoutBlock.svelte moved shared code to the shared package 2026-08-19 19:18:31 +02:00
HeroBlock.svelte moved shared code to the shared package 2026-08-19 19:18:31 +02:00
ImageTextBlock.svelte moved shared code to the shared package 2026-08-19 19:18:31 +02:00
ShopBlock.svelte Shop block: share item loading with the admin preview, never render blank 2026-10-06 12:06:05 +00:00
SpacerBlock.svelte moved shared code to the shared package 2026-08-19 19:18:31 +02:00
TestimonialsBlock.svelte moved shared code to the shared package 2026-08-19 19:18:31 +02:00
TextBlock.svelte moved shared code to the shared package 2026-08-19 19:18:31 +02:00
TimelineBlock.svelte moved shared code to the shared package 2026-08-19 19:18:31 +02:00
UpcomingCalendarBlock.svelte moved shared code to the shared package 2026-08-19 19:18:31 +02:00