<.shop_layout {layout_assigns(assigns)} active_page="error" error_page>
<.hero_section variant={:error} pre_title={@error_code} title={@error_title} description={@error_description} cta_text="Go to Homepage" cta_page="home" cta_href="/" secondary_cta_text="Browse Products" secondary_cta_page="collection" secondary_cta_href="/collections/all" mode={@mode} /> <.product_grid columns={:fixed_4}> <%= for product <- Enum.take(assigns[:products] || [], 4) do %> <.product_card product={product} theme_settings={@theme_settings} mode={@mode} variant={:minimal} /> <% end %>