All modules, configs, paths, and references updated. 836 tests pass, zero warnings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
927 B
Plaintext
34 lines
927 B
Plaintext
<.shop_layout {layout_assigns(assigns)} active_page="error" error_page>
|
|
<main
|
|
id="main-content"
|
|
class="error-main"
|
|
>
|
|
<div class="page-container error-container">
|
|
<.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 %>
|
|
</.product_grid>
|
|
</div>
|
|
</main>
|
|
</.shop_layout>
|