rename project from SimpleshopTheme to Berrypod
All modules, configs, paths, and references updated. 836 tests pass, zero warnings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
23
lib/berrypod_web/components/shop_components.ex
Normal file
23
lib/berrypod_web/components/shop_components.ex
Normal file
@@ -0,0 +1,23 @@
|
||||
defmodule BerrypodWeb.ShopComponents do
|
||||
@moduledoc """
|
||||
Facade module for shop/storefront UI components.
|
||||
|
||||
`use BerrypodWeb.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 BerrypodWeb.ShopComponents.Base
|
||||
import BerrypodWeb.ShopComponents.Cart
|
||||
import BerrypodWeb.ShopComponents.Content
|
||||
import BerrypodWeb.ShopComponents.Layout
|
||||
import BerrypodWeb.ShopComponents.Product
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user