berrypod/lib/simpleshop_theme_web/components/shop_components.ex

24 lines
835 B
Elixir
Raw Normal View History

defmodule SimpleshopThemeWeb.ShopComponents do
@moduledoc """
Facade module for shop/storefront UI components.
`use SimpleshopThemeWeb.ShopComponents` imports all sub-modules:
- `Base` themed inputs, buttons, cards
- `Layout` header, footer, mobile nav, shop_layout wrapper
- `Cart` cart drawer, cart items, order summary
- `Product` product cards, gallery, variant selector, hero sections
- `Content` rich text, responsive images, contact form, reviews
"""
defmacro __using__(_opts \\ []) do
quote do
import SimpleshopThemeWeb.ShopComponents.Base
import SimpleshopThemeWeb.ShopComponents.Cart
import SimpleshopThemeWeb.ShopComponents.Content
import SimpleshopThemeWeb.ShopComponents.Layout
import SimpleshopThemeWeb.ShopComponents.Product
end
end
end