storefront-layouts 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/dist/components/auth/LoginForm.js +1 -1
  2. package/dist/components/auth/LoginSheet.js +1 -1
  3. package/dist/components/auth/login-form-core.js +2 -2
  4. package/dist/components/auth/login-sheet-registry.js +2 -2
  5. package/dist/components/auth/login-sheet-themes/booking-agenda.theme.js +1 -1
  6. package/dist/components/auth/login-sheet-themes/booking.theme.js +1 -1
  7. package/dist/components/auth/login-sheet-themes/clothing-minimal.theme.js +1 -1
  8. package/dist/components/auth/login-sheet-themes/clothing.theme.js +1 -1
  9. package/dist/components/auth/login-sheet-themes/electronics-grid.theme.js +1 -1
  10. package/dist/components/auth/login-sheet-themes/electronics.theme.js +1 -1
  11. package/dist/components/auth/login-sheet-themes/food-modern.theme.js +1 -1
  12. package/dist/components/auth/login-sheet-themes/food.theme.js +1 -1
  13. package/dist/components/auth/login-sheet-themes/index.js +9 -9
  14. package/dist/components/auth/login-sheet-themes/motivational-speaker.theme.js +1 -1
  15. package/dist/components/auth/login-sheets/StoreLoginSheetShell.js +3 -3
  16. package/dist/components/categories/category-masonry-grid.js +3 -3
  17. package/dist/components/learning/CertificateViewer.js +1 -1
  18. package/dist/components/rich-text/CategoryDescription.js +2 -2
  19. package/dist/components/rich-text/ProductDescription.js +2 -2
  20. package/dist/components/rich-text/RichTextExcerpt.js +1 -1
  21. package/dist/components/rich-text/SafeRichHtml.js +1 -1
  22. package/dist/components/shipping/ProductDeliveryInfoSection.js +2 -2
  23. package/dist/components/ui/alert-modal.js +1 -1
  24. package/dist/components/ui/guest-checkout-modal.js +2 -2
  25. package/dist/components/ui/image-skeleton.js +1 -1
  26. package/dist/components/ui/image-with-fallback.js +1 -1
  27. package/dist/components/ui/loading-skeleton-wrapper.js +1 -1
  28. package/dist/components/ui/modal.js +1 -1
  29. package/dist/components/ui/page-content-loader.js +1 -1
  30. package/dist/components/ui/product-card.d.ts.map +1 -1
  31. package/dist/components/ui/product-card.js +3 -2
  32. package/dist/components/ui/route-skeleton-loader.js +5 -5
  33. package/dist/components/ui/sheet.js +1 -1
  34. package/dist/components/ui/skeletons/index.js +5 -5
  35. package/dist/components/ui/skeletons/product-grid-skeleton.js +1 -1
  36. package/dist/editor/alignment-schemas/booking.js +1 -1
  37. package/dist/editor/alignment-schemas/clothing-minimal.js +1 -1
  38. package/dist/editor/alignment-schemas/index.js +20 -20
  39. package/dist/editor/alignment-schemas/lazy-loader.js +1 -1
  40. package/dist/editor/alignment-schemas/metadata.js +1 -1
  41. package/dist/editor/alignment-schemas/resolve-canvas-inspector-leaf.js +3 -3
  42. package/dist/editor/blocks/index.js +3 -3
  43. package/dist/editor/blocks/migrate-clothing-minimal.js +3 -3
  44. package/dist/editor/blocks/nav-outline-utils.js +2 -2
  45. package/dist/editor/blocks/registry.js +1 -1
  46. package/dist/editor/document/adapter.js +4 -4
  47. package/dist/editor/document/block-tree.js +1 -1
  48. package/dist/editor/document/index.js +6 -6
  49. package/dist/editor/document/validate.js +1 -1
  50. package/dist/editor/index.js +12 -12
  51. package/dist/editor/layout-content-loader.js +3 -3
  52. package/dist/editor/payaza-form/ArrayItemManager.js +2 -2
  53. package/dist/editor/payaza-form/EditorCanvasPreview.js +4 -4
  54. package/dist/editor/payaza-form/FieldRenderer.js +17 -17
  55. package/dist/editor/payaza-form/IframePreviewMessageBridge.js +3 -3
  56. package/dist/editor/payaza-form/PayazaFormEditor.js +29 -29
  57. package/dist/editor/payaza-form/PayazaFormEditorFullPage.js +2 -2
  58. package/dist/editor/payaza-form/SliderArrayEditor.js +2 -2
  59. package/dist/editor/payaza-form/components/ArrayField.js +1 -1
  60. package/dist/editor/payaza-form/components/BlockStylesInspector.js +1 -1
  61. package/dist/editor/payaza-form/components/BlocksField.js +8 -8
  62. package/dist/editor/payaza-form/components/ButtonField.js +3 -3
  63. package/dist/editor/payaza-form/components/CanvasGranularInspector.js +11 -11
  64. package/dist/editor/payaza-form/components/IconField.js +2 -2
  65. package/dist/editor/payaza-form/components/ImageField.js +1 -1
  66. package/dist/editor/payaza-form/components/NumberField.js +1 -1
  67. package/dist/editor/payaza-form/components/RichTextField.js +2 -2
  68. package/dist/editor/payaza-form/components/SectionSchemaInspector.js +3 -3
  69. package/dist/editor/payaza-form/components/StarRatingField.js +1 -1
  70. package/dist/editor/payaza-form/components/TextField.js +1 -1
  71. package/dist/editor/payaza-form/data-merger.js +6 -6
  72. package/dist/editor/payaza-form/data-transformer.js +3 -3
  73. package/dist/editor/payaza-form/engine.js +1 -1
  74. package/dist/editor/payaza-form/examples/custom-widgets.example.js +1 -1
  75. package/dist/editor/payaza-form/index.js +8 -8
  76. package/dist/editor/payaza-form/layout-loader.js +2 -2
  77. package/dist/editor/payaza-form/preview-message-handler.js +3 -3
  78. package/dist/editor/payaza-form/schema-bridge.js +3 -3
  79. package/dist/editor/payaza-form/widget-registry.js +1 -1
  80. package/dist/editor/shared/BlockOutlineTree.js +1 -1
  81. package/dist/editor/shared/EditorHeader.js +1 -1
  82. package/dist/editor/shared/EditorNavigator.js +1 -1
  83. package/dist/editor/shared/IframePreview.js +6 -6
  84. package/dist/editor/shared/InlineCanvasPreview.js +7 -7
  85. package/dist/editor/shared/LayoutRenderer.js +1 -1
  86. package/dist/editor/shared/ResizableSidebar.js +1 -1
  87. package/dist/editor/shared/index.js +7 -7
  88. package/dist/hooks/use-product-reviews.js +1 -1
  89. package/dist/hooks/usePreviewSlideSync.js +1 -1
  90. package/dist/index.js +143 -143
  91. package/dist/layouts/booking/components/BookingHomePage.js +1 -1
  92. package/dist/layouts/booking/components/BookingMultilineHeading.js +1 -1
  93. package/dist/layouts/booking/components/BookingTestimonialCard.js +1 -1
  94. package/dist/layouts/booking/components/booking-footer-defaults.js +2 -2
  95. package/dist/layouts/booking/index.js +8 -8
  96. package/dist/layouts/booking/pages/AboutPage.d.ts.map +1 -1
  97. package/dist/layouts/booking/pages/AboutPage.js +16 -7
  98. package/dist/layouts/booking/pages/BookPage.js +1 -1
  99. package/dist/layouts/booking/pages/CategoriesPage.js +2 -2
  100. package/dist/layouts/booking/pages/ProductDetailPage.js +3 -3
  101. package/dist/layouts/booking-agenda/components/BookingHomePageAgenda.js +3 -3
  102. package/dist/layouts/booking-agenda/index.js +8 -8
  103. package/dist/layouts/booking-agenda/pages/AboutPage.d.ts.map +1 -1
  104. package/dist/layouts/booking-agenda/pages/AboutPage.js +16 -7
  105. package/dist/layouts/booking-agenda/pages/CategoriesPage.js +1 -1
  106. package/dist/layouts/booking-agenda/pages/ProductDetailPage.js +3 -3
  107. package/dist/layouts/clothing/components/ClothingHomePage.d.ts.map +1 -1
  108. package/dist/layouts/clothing/components/ClothingHomePage.js +13 -12
  109. package/dist/layouts/clothing/index.js +7 -7
  110. package/dist/layouts/clothing/pages/AboutPage.d.ts.map +1 -1
  111. package/dist/layouts/clothing/pages/AboutPage.js +11 -5
  112. package/dist/layouts/clothing/pages/CategoriesPage.js +9 -9
  113. package/dist/layouts/clothing/pages/CategoryPage.js +7 -7
  114. package/dist/layouts/clothing/pages/ContactPage.js +3 -3
  115. package/dist/layouts/clothing/pages/ProductDetailPage.js +24 -24
  116. package/dist/layouts/clothing/pages/ProductsPage.js +17 -17
  117. package/dist/layouts/clothing/payaza-bindings.js +2 -2
  118. package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.d.ts.map +1 -1
  119. package/dist/layouts/clothing-minimal/components/ClothingHomePageMinimal.js +11 -10
  120. package/dist/layouts/clothing-minimal/components/clothing-minimal-block-render.js +7 -7
  121. package/dist/layouts/clothing-minimal/index.js +7 -7
  122. package/dist/layouts/clothing-minimal/pages/AboutPage.d.ts.map +1 -1
  123. package/dist/layouts/clothing-minimal/pages/AboutPage.js +12 -5
  124. package/dist/layouts/clothing-minimal/pages/CategoriesPage.js +8 -8
  125. package/dist/layouts/clothing-minimal/pages/CategoryPage.js +7 -7
  126. package/dist/layouts/clothing-minimal/pages/ContactPage.js +3 -3
  127. package/dist/layouts/clothing-minimal/pages/ProductDetailPage.js +24 -24
  128. package/dist/layouts/clothing-minimal/pages/ProductsPage.js +18 -18
  129. package/dist/layouts/electronics/components/ElectronicsCategoriesPage.js +3 -3
  130. package/dist/layouts/electronics/components/ElectronicsGridProductCard.d.ts.map +1 -1
  131. package/dist/layouts/electronics/components/ElectronicsGridProductCard.js +4 -3
  132. package/dist/layouts/electronics/components/ElectronicsHomePage.d.ts.map +1 -1
  133. package/dist/layouts/electronics/components/ElectronicsHomePage.js +5 -4
  134. package/dist/layouts/electronics/components/ElectronicsPageWrapper.js +2 -2
  135. package/dist/layouts/electronics/components/ElectronicsProductsPage.js +4 -4
  136. package/dist/layouts/electronics/components/ElectronicsStoreHeader.js +1 -1
  137. package/dist/layouts/electronics/index.js +18 -18
  138. package/dist/layouts/electronics/pages/AboutPage.d.ts.map +1 -1
  139. package/dist/layouts/electronics/pages/AboutPage.js +7 -2
  140. package/dist/layouts/electronics/pages/CategoriesPage.js +1 -1
  141. package/dist/layouts/electronics/pages/ProductDetailPage.js +3 -3
  142. package/dist/layouts/electronics/pages/ProductsPage.js +2 -2
  143. package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.d.ts.map +1 -1
  144. package/dist/layouts/electronics-grid/components/ElectronicsGridProductCard.js +4 -3
  145. package/dist/layouts/electronics-grid/components/ElectronicsHomePageGrid.js +2 -2
  146. package/dist/layouts/electronics-grid/index.js +14 -14
  147. package/dist/layouts/electronics-grid/pages/AboutPage.d.ts.map +1 -1
  148. package/dist/layouts/electronics-grid/pages/AboutPage.js +7 -2
  149. package/dist/layouts/electronics-grid/pages/CategoriesPage.js +1 -1
  150. package/dist/layouts/electronics-grid/pages/ProductDetailPage.js +3 -3
  151. package/dist/layouts/electronics-grid/pages/ProductsPage.js +2 -2
  152. package/dist/layouts/food/components/FoodHomePage.js +1 -1
  153. package/dist/layouts/food/index.js +8 -8
  154. package/dist/layouts/food/pages/AboutPage.d.ts.map +1 -1
  155. package/dist/layouts/food/pages/AboutPage.js +5 -1
  156. package/dist/layouts/food/pages/CategoriesPage.js +2 -2
  157. package/dist/layouts/food/pages/CategoryPage.js +2 -2
  158. package/dist/layouts/food/pages/ProductDetailPage.js +4 -4
  159. package/dist/layouts/food/pages/ProductsPage.js +2 -2
  160. package/dist/layouts/food-modern/components/FoodHomePageModern.js +3 -3
  161. package/dist/layouts/food-modern/index.js +8 -8
  162. package/dist/layouts/food-modern/pages/AboutPage.d.ts.map +1 -1
  163. package/dist/layouts/food-modern/pages/AboutPage.js +10 -3
  164. package/dist/layouts/food-modern/pages/CategoriesPage.js +1 -1
  165. package/dist/layouts/food-modern/pages/CategoryPage.js +2 -2
  166. package/dist/layouts/food-modern/pages/ProductDetailPage.js +3 -3
  167. package/dist/layouts/food-modern/pages/ProductsPage.js +2 -2
  168. package/dist/layouts/motivational-speaker/components/MotivationalSpeakerPageWrapper.js +1 -1
  169. package/dist/layouts/motivational-speaker/index.js +9 -9
  170. package/dist/layouts/motivational-speaker/pages/AboutPage.d.ts.map +1 -1
  171. package/dist/layouts/motivational-speaker/pages/AboutPage.js +9 -2
  172. package/dist/layouts/motivational-speaker/pages/ProductsPage.js +2 -2
  173. package/dist/layouts/shared/about-story-media.d.ts +27 -0
  174. package/dist/layouts/shared/about-story-media.d.ts.map +1 -0
  175. package/dist/layouts/shared/about-story-media.js +46 -0
  176. package/dist/layouts/shared/components/BaseStoreLayout.js +9 -9
  177. package/dist/layouts/shared/components/GenericPageWrapper.js +3 -3
  178. package/dist/layouts/shared/components/PdpVariationSelectors.js +2 -2
  179. package/dist/layouts/shared/components/PromoBanner.js +4 -4
  180. package/dist/layouts/shared/components/StoreCartSheet.js +9 -9
  181. package/dist/layouts/shared/components/StoreFooter.js +9 -9
  182. package/dist/layouts/shared/components/StoreHeader.js +8 -8
  183. package/dist/layouts/shared/components/headers/BookingAgendaSidebar.js +2 -2
  184. package/dist/layouts/shared/components/headers/ClothingMinimalHeader.js +9 -9
  185. package/dist/layouts/shared/components/headers/FoodModernHeader.js +7 -7
  186. package/dist/layouts/shared/index.js +22 -22
  187. package/dist/layouts/shared/pages/StoreMaintenanceScreen.js +2 -2
  188. package/dist/layouts/shared/wrappers/BookingAgendaLayout.js +16 -16
  189. package/dist/layouts/shared/wrappers/ClothingLayout.js +8 -8
  190. package/dist/layouts/shared/wrappers/ClothingMinimalLayout.js +7 -7
  191. package/dist/layouts/shared/wrappers/ElectronicsLayout.js +5 -5
  192. package/dist/layouts/shared/wrappers/FoodModernLayout.js +6 -6
  193. package/dist/layouts/shared/wrappers/MotivationalLayout.js +9 -9
  194. package/dist/layouts/shared/wrappers/StandardLayout.js +8 -8
  195. package/dist/lib/auth-context.js +2 -2
  196. package/dist/lib/layout-config-hydration.js +2 -2
  197. package/dist/lib/product-variation-utils.js +1 -1
  198. package/dist/lib/services/analytics.service.js +1 -1
  199. package/dist/lib/services/auth.service.js +1 -1
  200. package/dist/lib/services/booking.service.js +1 -1
  201. package/dist/lib/services/category.service.js +1 -1
  202. package/dist/lib/services/checkout.service.js +1 -1
  203. package/dist/lib/services/contact.service.js +1 -1
  204. package/dist/lib/services/customer.service.js +1 -1
  205. package/dist/lib/services/fees.service.js +1 -1
  206. package/dist/lib/services/index.js +13 -13
  207. package/dist/lib/services/location.service.js +1 -1
  208. package/dist/lib/services/order.service.js +1 -1
  209. package/dist/lib/services/payment.service.js +1 -1
  210. package/dist/lib/services/product.service.js +1 -1
  211. package/dist/lib/services/promo.service.js +1 -1
  212. package/dist/lib/services/review.service.js +1 -1
  213. package/dist/lib/services/service.service.js +1 -1
  214. package/dist/lib/services/shipping.service.js +1 -1
  215. package/dist/lib/services/store.service.js +1 -1
  216. package/dist/lib/store-config-utils.js +7 -7
  217. package/dist/lib/store-config.js +1 -1
  218. package/dist/lib/store-context.js +12 -12
  219. package/dist/lib/utils/asset-helpers.js +2 -2
  220. package/dist/lib/utils/editor-preview.js +3 -3
  221. package/dist/lib/utils/index.js +3 -3
  222. package/dist/lib/utils/product-images.js +1 -1
  223. package/dist/lib/utils/product-share.js +1 -1
  224. package/dist/lib/utils/url-helpers.js +1 -1
  225. package/dist/preview/LayoutPreview.js +5 -5
  226. package/dist/preview/PreviewRouter.js +2 -2
  227. package/dist/preview/canvas/PreviewCanvasEnhancer.js +8 -8
  228. package/dist/preview/canvas/preview-flush-await.js +1 -1
  229. package/dist/preview/canvas/preview-isolation.js +1 -1
  230. package/dist/preview/canvas/preview-route.js +2 -2
  231. package/dist/preview/index.js +4 -4
  232. package/package.json +30 -31
@@ -20,12 +20,12 @@ import { filterActiveProducts } from '../../../lib/utils/index.js';
20
20
  import { getAllCategoryIds, flattenCategoryTree, buildCategoryTree } from '../../../lib/utils/category-tree.js';
21
21
  import { getBannerImage, getLayoutText } from '../../../lib/utils/asset-helpers.js';
22
22
  import { shouldUseAPI } from '../../../lib/utils/demo-detection.js';
23
- import { productCategoryFilterChipClass } from '../../shared/product-category-filter-chip';
23
+ import { productCategoryFilterChipClass } from '../../shared/product-category-filter-chip.js';
24
24
  import { useCatalogPriceRange } from '../../../hooks/use-catalog-price-range.js';
25
25
  import { getApiPriceFilterActive, isWithinActivePriceRange } from '../../../lib/utils/catalog-price-bounds.js';
26
26
  import { buildFilteredProductQuery, getFilteredProductQueryKey, productMatchesCategoryIds, productMatchesCategorySlug, } from '../../../lib/utils/filtered-product-query.js';
27
27
  import { transformProductToStoreProduct } from '../../../lib/store-config-utils.js';
28
- import { ProductPriceFilterSection } from '../../shared/components/ProductPriceFilterSection';
28
+ import { ProductPriceFilterSection } from '../../shared/components/ProductPriceFilterSection.js';
29
29
  function ProductsPageContent({ storeConfig: initialConfig }) {
30
30
  const { store, addToCart } = useStore();
31
31
  const storeConfig = store || initialConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"ElectronicsGridProductCard.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics-grid/components/ElectronicsGridProductCard.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAgBjD,UAAU,+BAA+B;IACvC,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,0BAA0B,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,+BAA+B,+BA8QrH"}
1
+ {"version":3,"file":"ElectronicsGridProductCard.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics-grid/components/ElectronicsGridProductCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAgBjD,UAAU,+BAA+B;IACvC,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,0BAA0B,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,+BAA+B,+BA8QrH"}
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { hasValidCompareAtPrice } from '../../../utils/price-display.js';
3
4
  import { Button } from '../../../components/ui/button.js';
4
5
  import { ImageWithFallback } from '../../../components/ui/image-with-fallback.js';
5
6
  import { ProductRating } from '../../../components/ui/product-rating.js';
@@ -36,7 +37,7 @@ export function ElectronicsGridProductCard({ product, storeSlug, onAddToCart, in
36
37
  startPageLoading(`/${storeSlug}/products/${product.slug}`);
37
38
  };
38
39
  // Discount calculation
39
- const discountPercentage = product.compareAtPrice != null && product.compareAtPrice > product.price
40
+ const discountPercentage = hasValidCompareAtPrice(product.price, product.compareAtPrice)
40
41
  ? Math.round(((product.compareAtPrice - product.price) / product.compareAtPrice) * 100)
41
42
  : 0;
42
43
  const handleWishlistClick = async (e) => {
@@ -105,7 +106,7 @@ export function ElectronicsGridProductCard({ product, storeSlug, onAddToCart, in
105
106
  : "text-gray-400 bg-white/95 hover:text-red-500 hover:bg-red-50/50 hover:scale-110"), title: inWishlist ? "Remove from wishlist" : "Add to wishlist", "aria-label": inWishlist ? "Remove from wishlist" : "Add to wishlist", children: isLoading ? (_jsx(ButtonLoader, { className: inWishlist ? "text-red-500" : "text-gray-400" })) : (_jsx(motion.div, { animate: {
106
107
  scale: justAdded ? [1, 1.2, 1] : 1,
107
108
  rotate: justAdded ? [0, 10, -10, 0] : 0
108
- }, transition: { duration: 0.4, ease: "easeOut" }, children: _jsx(Heart, { className: cn("w-5 h-5 transition-all", inWishlist && "fill-current", justAdded && "text-red-500 fill-current") }) })) }), _jsx("div", { className: "absolute top-4 left-4 z-20 flex flex-col gap-2", children: product.compareAtPrice != null && product.compareAtPrice > product.price && (_jsxs("span", { className: "bg-slate-900 text-white text-[10px] font-bold px-3 py-1.5 rounded-full tracking-wide", children: ["-", discountPercentage, "%"] })) }), _jsx("div", { className: "hidden lg:block absolute inset-x-4 bottom-4 z-20 translate-y-full group-hover:translate-y-0 transition-transform duration-300 ease-out opacity-0 group-hover:opacity-100", children: _jsxs(Button, { onClick: (e) => {
109
+ }, transition: { duration: 0.4, ease: "easeOut" }, children: _jsx(Heart, { className: cn("w-5 h-5 transition-all", inWishlist && "fill-current", justAdded && "text-red-500 fill-current") }) })) }), _jsx("div", { className: "absolute top-4 left-4 z-20 flex flex-col gap-2", children: hasValidCompareAtPrice(product.price, product.compareAtPrice) && (_jsxs("span", { className: "bg-slate-900 text-white text-[10px] font-bold px-3 py-1.5 rounded-full tracking-wide", children: ["-", discountPercentage, "%"] })) }), _jsx("div", { className: "hidden lg:block absolute inset-x-4 bottom-4 z-20 translate-y-full group-hover:translate-y-0 transition-transform duration-300 ease-out opacity-0 group-hover:opacity-100", children: _jsxs(Button, { onClick: (e) => {
109
110
  e.preventDefault();
110
111
  if (!isOutOfStock) {
111
112
  onAddToCart(product);
@@ -118,5 +119,5 @@ export function ElectronicsGridProductCard({ product, storeSlug, onAddToCart, in
118
119
  }, children: _jsx(Plus, { className: "w-5 h-5" }) })] }), _jsxs("div", { className: "p-6 flex flex-col gap-2", children: [_jsxs("div", { className: "flex justify-between items-start gap-2", children: [_jsxs("div", { children: [_jsx("p", { className: "text-xs font-normal text-gray-400 uppercase tracking-wide mb-1.5", children: product.specifications?.Brand || 'Brand' }), _jsx(Link, { href: `/${storeSlug}/products/${product.slug}`, className: "group/title", onClick: () => {
119
120
  trackProductClick();
120
121
  startPageLoading(`/${storeSlug}/products/${product.slug}`);
121
- }, children: _jsx("h3", { className: "font-normal text-gray-900 text-base leading-tight hover:text-gray-600 transition-colors line-clamp-1", children: product.name }) })] }), _jsx(ProductRating, { rating: product.rating, reviewCount: product.reviewCount, size: "sm", showReviewCount: false, className: "shrink-0" })] }), _jsxs("div", { className: "flex items-baseline gap-2 mt-2", children: [_jsx("span", { className: "text-lg font-medium text-gray-900", children: formatCurrency(product.price, product.currency || 'USD') }), product.compareAtPrice != null && product.compareAtPrice > product.price && (_jsx("span", { className: "text-sm text-gray-400 line-through font-normal", children: formatCurrency(product.compareAtPrice, product.currency || 'USD') }))] })] })] }));
122
+ }, children: _jsx("h3", { className: "font-normal text-gray-900 text-base leading-tight hover:text-gray-600 transition-colors line-clamp-1", children: product.name }) })] }), _jsx(ProductRating, { rating: product.rating, reviewCount: product.reviewCount, size: "sm", showReviewCount: false, className: "shrink-0" })] }), _jsxs("div", { className: "flex items-baseline gap-2 mt-2", children: [_jsx("span", { className: "text-lg font-medium text-gray-900", children: formatCurrency(product.price, product.currency || 'USD') }), hasValidCompareAtPrice(product.price, product.compareAtPrice) && (_jsx("span", { className: "text-sm text-gray-400 line-through font-normal", children: formatCurrency(product.compareAtPrice, product.currency || 'USD') }))] })] })] }));
122
123
  }
@@ -16,8 +16,8 @@ import { getLayoutText, getBannerImage, getLogoUrl } from '../../../lib/utils/as
16
16
  import { toStoreHref } from '../../../lib/utils/url-helpers.js';
17
17
  import { StoreLogo } from '../../../components/ui/store-logos.js';
18
18
  import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt.js';
19
- import { PromoBanner } from '../../shared/components/PromoBanner';
20
- import { ElectronicsGridProductCard } from './ElectronicsGridProductCard';
19
+ import { PromoBanner } from '../../shared/components/PromoBanner.js';
20
+ import { ElectronicsGridProductCard } from './ElectronicsGridProductCard.js';
21
21
  import { productService } from '../../../lib/services/product.service.js';
22
22
  import { transformProductToStoreProduct } from '../../../lib/store-config-utils.js';
23
23
  const ElectronicsFilterContent = ({ categories, storeSlug }) => (_jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "bg-white border-b border-gray-100 overflow-hidden", children: [_jsxs("div", { className: "bg-white px-4 py-3 border-b border-gray-100 font-normal text-sm text-gray-900 flex justify-between items-center", children: ["Browse by ", _jsx(ChevronDown, { className: "h-4 w-4 text-gray-400" })] }), _jsx("div", { className: "py-2", children: _jsx(CategoryTree, { categories: categories, mode: "link", storeSlug: storeSlug, linkBasePath: "" }) })] }), _jsxs("div", { className: "bg-white p-6 space-y-8", children: [_jsxs("div", { children: [_jsx("h3", { className: "font-medium text-sm text-gray-900 mb-4", children: "Availability" }), _jsxs("label", { className: "flex items-center gap-2 text-sm text-gray-600 cursor-pointer hover:text-gray-900 p-2 -ml-2 transition-colors", children: [_jsx("input", { type: "checkbox", className: "rounded border-gray-300 text-gray-900 focus:ring-gray-400", defaultChecked: true }), "In Stock"] }), _jsxs("label", { className: "flex items-center gap-2 text-sm text-gray-600 cursor-pointer hover:text-gray-900 p-2 -ml-2 transition-colors mt-2", children: [_jsx("input", { type: "checkbox", className: "rounded border-gray-300 text-gray-900 focus:ring-gray-400" }), "On Sale"] })] }), _jsxs("div", { className: "border-t border-gray-100 pt-6", children: [_jsx("h3", { className: "font-medium text-sm text-gray-900 mb-4", children: "Price" }), _jsxs("div", { className: "flex items-center gap-2 mb-3", children: [_jsxs("div", { className: "relative flex-1", children: [_jsx("span", { className: "absolute left-2 top-1.5 text-gray-400 text-xs", children: "$" }), _jsx("input", { type: "number", className: "w-full pl-5 pr-2 py-1.5 text-sm border border-gray-300 rounded focus:ring-1 focus:ring-gray-400 focus:border-gray-400", placeholder: "Min" })] }), _jsx("span", { className: "text-gray-400", children: "-" }), _jsxs("div", { className: "relative flex-1", children: [_jsx("span", { className: "absolute left-2 top-1.5 text-gray-400 text-xs", children: "$" }), _jsx("input", { type: "number", className: "w-full pl-5 pr-2 py-1.5 text-sm border border-gray-300 rounded focus:ring-1 focus:ring-gray-400 focus:border-gray-400", placeholder: "Max" })] })] }), _jsx(Button, { size: "sm", variant: "outline", className: "w-full text-xs font-normal border-gray-300 text-gray-700 hover:bg-gray-50", children: "Apply Price" })] }), _jsxs("div", { className: "border-t border-gray-100 pt-6", children: [_jsx("h3", { className: "font-medium text-sm text-gray-900 mb-4", children: "Brands" }), _jsx("div", { className: "space-y-2 max-h-48 overflow-y-auto pr-1 scrollbar-thin scrollbar-thumb-gray-200", children: ['Apple'].map(brand => (_jsxs("label", { className: "flex items-center gap-2 text-sm text-gray-600 cursor-pointer hover:text-gray-900 p-2 -ml-2 transition-colors", children: [_jsx("input", { type: "checkbox", className: "rounded border-gray-300 text-gray-900 focus:ring-gray-400", defaultChecked: true }), brand] }, brand))) })] }), _jsxs("div", { className: "border-t border-gray-100 pt-6", children: [_jsx("h3", { className: "font-medium text-sm text-gray-900 mb-4", children: "Rating" }), [4, 3, 2].map(stars => (_jsxs("label", { className: "flex items-center gap-2 text-sm text-gray-600 cursor-pointer hover:text-gray-900 p-2 -ml-2 transition-colors mb-1.5", children: [_jsx("input", { type: "radio", name: "rating", className: "border-gray-300 text-gray-900 focus:ring-gray-400" }), _jsx("div", { className: "flex text-yellow-400", children: [...Array(5)].map((_, i) => (_jsx(Star, { className: `h-3 w-3 ${i < stars ? 'fill-current' : 'text-gray-200 fill-gray-200'}` }, i))) }), _jsx("span", { className: "text-xs", children: "& Up" })] }, stars)))] })] })] }));
@@ -1,15 +1,15 @@
1
1
  // Tech Grid (electronics-grid) layout — fully sandboxed exports
2
- export { ElectronicsHomePageGrid } from './components/ElectronicsHomePageGrid';
3
- export { ElectronicsGridProductCard } from './components/ElectronicsGridProductCard';
4
- export { ElectronicsGridCategoriesPage } from './pages/ElectronicsGridCategoriesPage';
5
- export { ProductsPage as ElectronicsGridProductsListingPage } from './pages/ProductsPage';
6
- export { ProductDetailPage as ElectronicsGridProductDetailPage } from './pages/ProductDetailPage';
7
- export { CategoryPage as ElectronicsGridCategoryPage } from './pages/CategoryPage';
8
- export { ElectronicsGridCategoriesListingPage } from './pages/CategoriesPage';
9
- export { AboutPage as ElectronicsGridAboutPage } from './pages/AboutPage';
10
- export { ContactPage as ElectronicsGridContactPage } from './pages/ContactPage';
11
- export { ElectronicsGridHelpCenterPage } from './pages/HelpCenterPage';
12
- export { ElectronicsGridPrivacyPolicyPage } from './pages/PrivacyPolicyPage';
13
- export { ElectronicsGridShippingReturnsPage } from './pages/ShippingReturnsPage';
14
- export { ElectronicsGridTermsPage } from './pages/TermsPage';
15
- export { ElectronicsGridTrackOrderPage } from './pages/TrackOrderPage';
2
+ export { ElectronicsHomePageGrid } from './components/ElectronicsHomePageGrid.js';
3
+ export { ElectronicsGridProductCard } from './components/ElectronicsGridProductCard.js';
4
+ export { ElectronicsGridCategoriesPage } from './pages/ElectronicsGridCategoriesPage.js';
5
+ export { ProductsPage as ElectronicsGridProductsListingPage } from './pages/ProductsPage.js';
6
+ export { ProductDetailPage as ElectronicsGridProductDetailPage } from './pages/ProductDetailPage.js';
7
+ export { CategoryPage as ElectronicsGridCategoryPage } from './pages/CategoryPage.js';
8
+ export { ElectronicsGridCategoriesListingPage } from './pages/CategoriesPage.js';
9
+ export { AboutPage as ElectronicsGridAboutPage } from './pages/AboutPage.js';
10
+ export { ContactPage as ElectronicsGridContactPage } from './pages/ContactPage.js';
11
+ export { ElectronicsGridHelpCenterPage } from './pages/HelpCenterPage.js';
12
+ export { ElectronicsGridPrivacyPolicyPage } from './pages/PrivacyPolicyPage.js';
13
+ export { ElectronicsGridShippingReturnsPage } from './pages/ShippingReturnsPage.js';
14
+ export { ElectronicsGridTermsPage } from './pages/TermsPage.js';
15
+ export { ElectronicsGridTrackOrderPage } from './pages/TrackOrderPage.js';
@@ -1 +1 @@
1
- {"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics-grid/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAShD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc,+BA6OvE"}
1
+ {"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/electronics-grid/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAchD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc,+BAiPvE"}
@@ -7,6 +7,7 @@ import { useStore } from '../../../lib/store-context.js';
7
7
  import Image from 'next/image';
8
8
  import { SafeRichHtml } from '../../../components/rich-text/SafeRichHtml.js';
9
9
  import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt.js';
10
+ import { storySectionImage, storyTeamSubtitle, storyTeamTitle, } from '../../shared/about-story-media.js';
10
11
  export function AboutPage({ storeConfig: initialConfig }) {
11
12
  const { store } = useStore();
12
13
  const storeConfig = store || initialConfig;
@@ -18,7 +19,11 @@ export function AboutPage({ storeConfig: initialConfig }) {
18
19
  const pageTitle = aboutConfig?.title || "Crafting Experiences, Delivering Joy.";
19
20
  const pageContent = aboutConfig?.content || storeConfig.description;
20
21
  const missionStatement = aboutConfig?.missionStatement;
21
- const galleryImages = aboutConfig?.gallerySection;
22
+ const storyConfig = aboutConfig?.story || aboutConfig;
23
+ const galleryImages = storyConfig?.gallerySection || aboutConfig?.gallerySection;
24
+ const storyImage = storySectionImage(storyConfig);
25
+ const storyCaptionTitle = storyTeamTitle(storyConfig);
26
+ const storyCaptionSubtitle = storyTeamSubtitle(storyConfig);
22
27
  const values = [
23
28
  {
24
29
  icon: Award,
@@ -41,7 +46,7 @@ export function AboutPage({ storeConfig: initialConfig }) {
41
46
  description: "Commitment to reduced carbon footprint and energy-efficient tech."
42
47
  }
43
48
  ];
44
- return (_jsxs("div", { className: "min-h-screen bg-white pb-20 overflow-hidden", children: [_jsxs("section", { "data-section": "hero", className: "relative h-[60vh] min-h-[500px] w-full overflow-hidden", children: [_jsxs("div", { className: "absolute inset-0", children: [_jsx(Image, { src: heroImage, alt: "About Us", fill: true, className: "w-full h-full object-cover transform scale-105 animate-pulse-slow" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-black/80 via-black/50 to-transparent" })] }), _jsx("div", { className: "absolute inset-0 flex items-center", children: _jsx("div", { className: "container mx-auto px-4 sm:px-6 lg:px-8", children: _jsxs("div", { className: "max-w-3xl animate-fade-in-up", children: [_jsxs("div", { className: "inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-white text-sm font-medium mb-6", children: [_jsx("span", { className: "w-2 h-2 rounded-full bg-white animate-pulse" }), "Est. 2024"] }), _jsx("h1", { className: "text-5xl md:text-7xl font-bold text-white mb-6 tracking-tight leading-tight", children: pageTitle }), _jsx(SafeRichHtml, { value: missionStatement || storeConfig.description, as: "div", className: "text-xl md:text-2xl text-gray-200 max-w-2xl leading-relaxed font-light [&_p]:mb-0" })] }) }) })] }), _jsxs("section", { "data-section": "story", className: "py-24 px-4 sm:px-6 lg:px-8 relative", children: [_jsx("div", { className: "absolute top-0 right-0 -mt-24 -mr-24 w-96 h-96 bg-gray-50 rounded-full blur-3xl -z-10" }), _jsx("div", { className: "container mx-auto max-w-7xl", children: _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-16 items-center", children: [_jsxs("div", { className: "relative", children: [galleryImages && galleryImages.length > 0 ? (_jsx("div", { className: "grid grid-cols-2 gap-4", children: galleryImages.slice(0, 4).map((img, i) => (_jsx("div", { className: `relative overflow-hidden rounded-2xl shadow-lg ${i === 0 ? 'col-span-2 aspect-[16/9]' : 'aspect-square'}`, children: _jsx(Image, { src: img.image, alt: img.caption || "Gallery Image", fill: true, className: "w-full h-full object-cover hover:scale-110 transition-transform duration-500" }) }, i))) })) : (_jsxs("div", { className: "relative aspect-[4/5] rounded-[2rem] overflow-hidden shadow-2xl", children: [_jsx(Image, { src: "https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2071&auto=format&fit=crop", alt: "Our Team", fill: true, className: "w-full h-full object-cover" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent opacity-60" }), _jsxs("div", { className: "absolute bottom-8 left-8 text-white", children: [_jsx("p", { className: "font-bold text-lg", children: "The Dream Team" }), _jsx("p", { className: "text-white/80 text-sm", children: "Working together to serve you better" })] })] })), _jsx("div", { className: "absolute -bottom-6 -right-6 w-24 h-24 bg-white rounded-2xl shadow-xl flex items-center justify-center p-4 animate-bounce duration-[3000ms]", children: _jsx(Heart, { className: "w-10 h-10", style: { color: primaryColor, fill: primaryColor } }) })] }), _jsxs("div", { className: "space-y-10", children: [_jsxs("div", { children: [_jsx("span", { className: "text-sm font-bold uppercase tracking-widest mb-3 block", style: { color: primaryColor }, children: "Who We Are" }), _jsx("h2", { className: "text-4xl md:text-5xl font-black text-gray-900 mb-6 tracking-tight", children: "Our Journey" }), _jsxs("div", { className: "prose prose-lg text-gray-600 leading-relaxed space-y-6", children: [pageContent?.split('\n').map((paragraph, idx) => (_jsx("p", { children: paragraph }, idx))), !pageContent && (_jsxs(_Fragment, { children: [_jsxs("p", { children: ["Founded with a bold vision to redefine excellence in the ", _jsx("span", { className: "font-semibold text-gray-900", children: storeConfig.type }), " industry, ", storeConfig.name, " has grown from a small passion project into a beloved brand. We believe in the power of quality, innovation, and community."] }), _jsx("p", { children: "Every day, we strive to bring you the best products, curated with care and delivered with a smile. Our team is dedicated to ensuring that your experience with us is nothing short of exceptional." })] }))] })] }), _jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-8", children: values.map((item, idx) => (_jsxs("div", { className: "flex gap-4 group", children: [_jsx("div", { className: "flex-shrink-0", children: _jsx("div", { className: "w-14 h-14 rounded-2xl flex items-center justify-center transition-colors group-hover:bg-gray-100", style: { backgroundColor: `${primaryColor}10` }, children: _jsx(item.icon, { className: "h-7 w-7 transition-transform group-hover:scale-110", style: { color: primaryColor } }) }) }), _jsxs("div", { children: [_jsx("h4", { className: "font-bold text-gray-900 mb-2 text-lg", children: item.title }), _jsx(RichTextExcerpt, { value: item.description, as: "p", className: "text-gray-600 text-sm leading-relaxed" })] })] }, idx))) })] })] }) })] }), _jsxs("section", { "data-section": "stats", className: "py-20 relative overflow-hidden", children: [_jsx("div", { className: "absolute inset-0 opacity-10", children: _jsx(DotPattern, { color: primaryColor, cx: 2, cy: 2, cr: 2, width: 30, height: 30 }) }), _jsx("div", { className: "absolute inset-0", style: { backgroundColor: `${secondaryColor}15` } }), _jsx("div", { className: "container mx-auto px-4 relative z-10", children: _jsx("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-8 md:gap-12", children: [
49
+ return (_jsxs("div", { className: "min-h-screen bg-white pb-20 overflow-hidden", children: [_jsxs("section", { "data-section": "hero", className: "relative h-[60vh] min-h-[500px] w-full overflow-hidden", children: [_jsxs("div", { className: "absolute inset-0", children: [_jsx(Image, { src: heroImage, alt: "About Us", fill: true, className: "w-full h-full object-cover transform scale-105 animate-pulse-slow" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-black/80 via-black/50 to-transparent" })] }), _jsx("div", { className: "absolute inset-0 flex items-center", children: _jsx("div", { className: "container mx-auto px-4 sm:px-6 lg:px-8", children: _jsxs("div", { className: "max-w-3xl animate-fade-in-up", children: [_jsxs("div", { className: "inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-white text-sm font-medium mb-6", children: [_jsx("span", { className: "w-2 h-2 rounded-full bg-white animate-pulse" }), "Est. 2024"] }), _jsx("h1", { className: "text-5xl md:text-7xl font-bold text-white mb-6 tracking-tight leading-tight", children: pageTitle }), _jsx(SafeRichHtml, { value: missionStatement || storeConfig.description, as: "div", className: "text-xl md:text-2xl text-gray-200 max-w-2xl leading-relaxed font-light [&_p]:mb-0" })] }) }) })] }), _jsxs("section", { "data-section": "story", className: "py-24 px-4 sm:px-6 lg:px-8 relative", children: [_jsx("div", { className: "absolute top-0 right-0 -mt-24 -mr-24 w-96 h-96 bg-gray-50 rounded-full blur-3xl -z-10" }), _jsx("div", { className: "container mx-auto max-w-7xl", children: _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-16 items-center", children: [_jsxs("div", { className: "relative", children: [galleryImages && galleryImages.length > 0 ? (_jsx("div", { className: "grid grid-cols-2 gap-4", children: galleryImages.slice(0, 4).map((img, i) => (_jsx("div", { className: `relative overflow-hidden rounded-2xl shadow-lg ${i === 0 ? 'col-span-2 aspect-[16/9]' : 'aspect-square'}`, children: _jsx(Image, { src: img.image, alt: img.caption || "Gallery Image", fill: true, className: "w-full h-full object-cover hover:scale-110 transition-transform duration-500" }) }, i))) })) : (_jsxs("div", { className: "relative aspect-[4/5] rounded-[2rem] overflow-hidden shadow-2xl", children: [_jsx(Image, { src: storyImage, alt: storyCaptionTitle, fill: true, className: "w-full h-full object-cover" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent opacity-60" }), _jsxs("div", { className: "absolute bottom-8 left-8 text-white", children: [_jsx("p", { className: "font-bold text-lg", children: storyCaptionTitle }), _jsx("p", { className: "text-white/80 text-sm", children: storyCaptionSubtitle })] })] })), _jsx("div", { className: "absolute -bottom-6 -right-6 w-24 h-24 bg-white rounded-2xl shadow-xl flex items-center justify-center p-4 animate-bounce duration-[3000ms]", children: _jsx(Heart, { className: "w-10 h-10", style: { color: primaryColor, fill: primaryColor } }) })] }), _jsxs("div", { className: "space-y-10", children: [_jsxs("div", { children: [_jsx("span", { className: "text-sm font-bold uppercase tracking-widest mb-3 block", style: { color: primaryColor }, children: "Who We Are" }), _jsx("h2", { className: "text-4xl md:text-5xl font-black text-gray-900 mb-6 tracking-tight", children: "Our Journey" }), _jsxs("div", { className: "prose prose-lg text-gray-600 leading-relaxed space-y-6", children: [pageContent?.split('\n').map((paragraph, idx) => (_jsx("p", { children: paragraph }, idx))), !pageContent && (_jsxs(_Fragment, { children: [_jsxs("p", { children: ["Founded with a bold vision to redefine excellence in the ", _jsx("span", { className: "font-semibold text-gray-900", children: storeConfig.type }), " industry, ", storeConfig.name, " has grown from a small passion project into a beloved brand. We believe in the power of quality, innovation, and community."] }), _jsx("p", { children: "Every day, we strive to bring you the best products, curated with care and delivered with a smile. Our team is dedicated to ensuring that your experience with us is nothing short of exceptional." })] }))] })] }), _jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-8", children: values.map((item, idx) => (_jsxs("div", { className: "flex gap-4 group", children: [_jsx("div", { className: "flex-shrink-0", children: _jsx("div", { className: "w-14 h-14 rounded-2xl flex items-center justify-center transition-colors group-hover:bg-gray-100", style: { backgroundColor: `${primaryColor}10` }, children: _jsx(item.icon, { className: "h-7 w-7 transition-transform group-hover:scale-110", style: { color: primaryColor } }) }) }), _jsxs("div", { children: [_jsx("h4", { className: "font-bold text-gray-900 mb-2 text-lg", children: item.title }), _jsx(RichTextExcerpt, { value: item.description, as: "p", className: "text-gray-600 text-sm leading-relaxed" })] })] }, idx))) })] })] }) })] }), _jsxs("section", { "data-section": "stats", className: "py-20 relative overflow-hidden", children: [_jsx("div", { className: "absolute inset-0 opacity-10", children: _jsx(DotPattern, { color: primaryColor, cx: 2, cy: 2, cr: 2, width: 30, height: 30 }) }), _jsx("div", { className: "absolute inset-0", style: { backgroundColor: `${secondaryColor}15` } }), _jsx("div", { className: "container mx-auto px-4 relative z-10", children: _jsx("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-8 md:gap-12", children: [
45
50
  { label: "Global Users", value: "100k+" },
46
51
  { label: "Gadgets", value: storeConfig.products?.length ? `${storeConfig.products.length * 15}+` : "150+" },
47
52
  { label: "Tech Awards", value: "25+" },
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
- import { ElectronicsGridCategoriesPage } from '../../electronics-grid/pages/ElectronicsGridCategoriesPage';
3
+ import { ElectronicsGridCategoriesPage } from '../../electronics-grid/pages/ElectronicsGridCategoriesPage.js';
4
4
  export function ElectronicsGridCategoriesListingPage({ storeConfig }) {
5
5
  return _jsx(ElectronicsGridCategoriesPage, { storeConfig: storeConfig });
6
6
  }
@@ -27,9 +27,9 @@ import { usePdpVariation } from '../../../hooks/use-pdp-variation.js';
27
27
  import { buildPdpBuyNowItem } from '../../../lib/pdp-cart-actions.js';
28
28
  import { assertVariationSelected } from '../../../lib/product-variation-utils.js';
29
29
  import { shippingService } from '../../../lib/services/shipping.service.js';
30
- import { ProductDeliveryInfoSection } from '../../../components/shipping/ProductDeliveryInfoSection';
31
- import { PdpVariationSelectors } from '../../shared/components/PdpVariationSelectors';
32
- import { formatDateSafe } from '../../../utils/date';
30
+ import { ProductDeliveryInfoSection } from '../../../components/shipping/ProductDeliveryInfoSection.js';
31
+ import { PdpVariationSelectors } from '../../shared/components/PdpVariationSelectors.js';
32
+ import { formatDateSafe } from '../../../utils/date.js';
33
33
  // Helper function to format date
34
34
  const formatDate = (dateString) => {
35
35
  return formatDateSafe(dateString, '—', { year: 'numeric', month: 'long', day: 'numeric' });
@@ -20,12 +20,12 @@ import { filterActiveProducts } from '../../../lib/utils/index.js';
20
20
  import { getAllCategoryIds, flattenCategoryTree, buildCategoryTree } from '../../../lib/utils/category-tree.js';
21
21
  import { getBannerImage, getLayoutText } from '../../../lib/utils/asset-helpers.js';
22
22
  import { shouldUseAPI } from '../../../lib/utils/demo-detection.js';
23
- import { productCategoryFilterChipClass } from '../../shared/product-category-filter-chip';
23
+ import { productCategoryFilterChipClass } from '../../shared/product-category-filter-chip.js';
24
24
  import { useCatalogPriceRange } from '../../../hooks/use-catalog-price-range.js';
25
25
  import { getApiPriceFilterActive, isWithinActivePriceRange } from '../../../lib/utils/catalog-price-bounds.js';
26
26
  import { buildFilteredProductQuery, getFilteredProductQueryKey, productMatchesCategoryIds, productMatchesCategorySlug, } from '../../../lib/utils/filtered-product-query.js';
27
27
  import { transformProductToStoreProduct } from '../../../lib/store-config-utils.js';
28
- import { ProductPriceFilterSection } from '../../shared/components/ProductPriceFilterSection';
28
+ import { ProductPriceFilterSection } from '../../shared/components/ProductPriceFilterSection.js';
29
29
  function ProductsPageContent({ storeConfig }) {
30
30
  const searchParams = useSearchParams();
31
31
  const categoryParam = searchParams.get('category');
@@ -11,7 +11,7 @@ import { formatCurrency } from '../../../lib/utils/index.js';
11
11
  import { getLayoutText, getBannerImage, getTextContent, normalizeStoreImageUrl } from '../../../lib/utils/asset-helpers.js';
12
12
  import { toStoreHref } from '../../../lib/utils/url-helpers.js';
13
13
  import { shouldUseAPI } from '../../../lib/utils/demo-detection.js';
14
- import { TestimonialCard } from '../../shared/components/TestimonialCard';
14
+ import { TestimonialCard } from '../../shared/components/TestimonialCard.js';
15
15
  import { SafeRichHtml } from '../../../components/rich-text/SafeRichHtml.js';
16
16
  import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt.js';
17
17
  export function FoodHomePage({ storeConfig: initialConfig }) {
@@ -1,9 +1,9 @@
1
1
  // Savory Bites (food) layout — fully sandboxed exports
2
- export { FoodHomePage } from './components/FoodHomePage';
3
- export { ProductsPage as FoodProductsPage } from './pages/ProductsPage';
4
- export { ProductDetailPage as FoodProductDetailPage } from './pages/ProductDetailPage';
5
- export { CategoryPage as FoodCategoryPage } from './pages/CategoryPage';
6
- export { FoodCategoriesPage } from './pages/CategoriesPage';
7
- export { MenuPage as FoodMenuPage } from './pages/MenuPage';
8
- export { AboutPage as FoodAboutPage } from './pages/AboutPage';
9
- export { ContactPage as FoodContactPage } from './pages/ContactPage';
2
+ export { FoodHomePage } from './components/FoodHomePage.js';
3
+ export { ProductsPage as FoodProductsPage } from './pages/ProductsPage.js';
4
+ export { ProductDetailPage as FoodProductDetailPage } from './pages/ProductDetailPage.js';
5
+ export { CategoryPage as FoodCategoryPage } from './pages/CategoryPage.js';
6
+ export { FoodCategoriesPage } from './pages/CategoriesPage.js';
7
+ export { MenuPage as FoodMenuPage } from './pages/MenuPage.js';
8
+ export { AboutPage as FoodAboutPage } from './pages/AboutPage.js';
9
+ export { ContactPage as FoodContactPage } from './pages/ContactPage.js';
@@ -1 +1 @@
1
- {"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/food/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAShD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc,+BAkQvE"}
1
+ {"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/food/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAchD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc,+BAqQvE"}
@@ -6,6 +6,7 @@ import { DotPattern } from '../../../components/ui/background-patterns.js';
6
6
  import { useStore } from '../../../lib/store-context.js';
7
7
  import Image from 'next/image';
8
8
  import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt.js';
9
+ import { storySectionImage, storyTeamSubtitle, storyTeamTitle, } from '../../shared/about-story-media.js';
9
10
  export function AboutPage({ storeConfig: initialConfig }) {
10
11
  const { store } = useStore();
11
12
  const storeConfig = store || initialConfig;
@@ -27,6 +28,9 @@ export function AboutPage({ storeConfig: initialConfig }) {
27
28
  const pageContent = content?.content || aboutConfig?.content;
28
29
  const showGallery = content?.showGallery !== false;
29
30
  const galleryImages = content?.gallerySection || aboutConfig?.gallerySection;
31
+ const storyImage = storySectionImage(content);
32
+ const storyCaptionTitle = storyTeamTitle(content);
33
+ const storyCaptionSubtitle = storyTeamSubtitle(content);
30
34
  // Stats Data
31
35
  const stats = aboutConfig?.statsSection;
32
36
  const showStatsSection = stats?.show !== false;
@@ -58,7 +62,7 @@ export function AboutPage({ storeConfig: initialConfig }) {
58
62
  description: "Committed to eco-friendly packaging and responsible sourcing."
59
63
  }
60
64
  ];
61
- return (_jsxs("div", { className: "min-h-screen bg-white pb-20 overflow-hidden", children: [_jsxs("section", { "data-section": "hero", className: "relative h-[60vh] min-h-[500px] w-full overflow-hidden", children: [_jsxs("div", { className: "absolute inset-0", children: [_jsx(Image, { src: heroImage, alt: "About Us", fill: true, className: "w-full h-full object-cover transform scale-105 animate-pulse-slow" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-black/80 via-black/50 to-transparent" })] }), _jsx("div", { className: "absolute inset-0 flex items-center", children: _jsx("div", { className: "container mx-auto px-4 sm:px-6 lg:px-8", children: _jsxs("div", { className: "max-w-3xl animate-fade-in-up", children: [showBadge && (_jsxs("div", { className: "inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-white text-sm font-medium mb-6", children: [_jsx("span", { className: "w-2 h-2 rounded-full bg-white animate-pulse" }), badgeText] })), _jsx("h1", { className: "text-5xl md:text-7xl font-bold text-white mb-6 tracking-tight leading-tight", children: pageTitle }), _jsx("p", { className: "text-xl md:text-2xl text-gray-200 max-w-2xl leading-relaxed font-light", children: missionStatement })] }) }) })] }), content?.show !== false && (_jsxs("section", { "data-section": "story", className: "py-24 px-4 sm:px-6 lg:px-8 relative", children: [_jsx("div", { className: "absolute top-0 right-0 -mt-24 -mr-24 w-96 h-96 bg-gray-50 rounded-full blur-3xl -z-10" }), _jsx("div", { className: "container mx-auto max-w-7xl", children: _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-16 items-center", children: [_jsxs("div", { className: "relative", children: [showGallery && galleryImages && galleryImages.length > 0 ? (_jsx("div", { className: "grid grid-cols-2 gap-4", children: galleryImages.slice(0, 4).map((img, i) => (_jsx("div", { className: `relative overflow-hidden rounded-2xl shadow-lg ${i === 0 ? 'col-span-2 aspect-[16/9]' : 'aspect-square'}`, children: _jsx(Image, { src: img.image, alt: img.caption || "Gallery Image", fill: true, className: "w-full h-full object-cover hover:scale-110 transition-transform duration-500" }) }, i))) })) : (_jsxs("div", { className: "relative aspect-[4/5] rounded-[2rem] overflow-hidden shadow-2xl", children: [_jsx(Image, { src: "https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2071&auto=format&fit=crop", alt: "Our Team", fill: true, className: "w-full h-full object-cover" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent opacity-60" }), _jsxs("div", { className: "absolute bottom-8 left-8 text-white", children: [_jsx("p", { className: "font-bold text-lg", children: "The Dream Team" }), _jsx("p", { className: "text-white/80 text-sm", children: "Working together to serve you better" })] })] })), _jsx("div", { className: "absolute -bottom-6 -right-6 w-24 h-24 bg-white rounded-2xl shadow-xl flex items-center justify-center p-4 animate-bounce duration-[3000ms]", children: _jsx(Heart, { className: "w-10 h-10", style: { color: primaryColor, fill: primaryColor } }) })] }), _jsxs("div", { className: "space-y-10", children: [_jsxs("div", { children: [_jsx("span", { className: "text-sm font-bold uppercase tracking-widest mb-3 block", style: { color: primaryColor }, children: sectionLabel }), _jsx("h2", { className: "text-4xl md:text-5xl font-black text-gray-900 mb-6 tracking-tight", children: sectionTitle }), _jsxs("div", { className: "prose prose-lg text-gray-600 leading-relaxed space-y-6", children: [pageContent?.split('\n').map((paragraph, idx) => (_jsx("p", { children: paragraph }, idx))), !pageContent && (_jsxs(_Fragment, { children: [_jsxs("p", { children: ["Founded with a bold vision to redefine excellence in the ", _jsx("span", { className: "font-semibold text-gray-900", children: storeConfig.type }), " industry, ", storeConfig.name, " has grown from a small passion project into a beloved brand. We believe in the power of quality, innovation, and community."] }), _jsx("p", { children: "Every day, we strive to bring you the best products, curated with care and delivered with a smile. Our team is dedicated to ensuring that your experience with us is nothing short of exceptional." })] }))] })] }), _jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-8", children: values.map((item, idx) => (_jsxs("div", { className: "flex gap-4 group", children: [_jsx("div", { className: "flex-shrink-0", children: _jsx("div", { className: "w-14 h-14 rounded-2xl flex items-center justify-center transition-colors group-hover:bg-gray-100", style: { backgroundColor: `${primaryColor}10` }, children: _jsx(item.icon, { className: "h-7 w-7 transition-transform group-hover:scale-110", style: { color: primaryColor } }) }) }), _jsxs("div", { children: [_jsx("h4", { className: "font-bold text-gray-900 mb-2 text-lg", children: item.title }), _jsx(RichTextExcerpt, { value: item.description, as: "p", className: "text-gray-600 text-sm leading-relaxed" })] })] }, idx))) })] })] }) })] })), _jsxs("section", { "data-section": "stats", className: "py-20 relative overflow-hidden", children: [_jsx("div", { className: "absolute inset-0 opacity-10", children: _jsx(DotPattern, { color: primaryColor, cx: 2, cy: 2, cr: 2, width: 30, height: 30 }) }), _jsx("div", { className: "absolute inset-0", style: { backgroundColor: `${secondaryColor}15` } }), _jsx("div", { className: "container mx-auto px-4 relative z-10", children: _jsx("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-8 md:gap-12", children: [
65
+ return (_jsxs("div", { className: "min-h-screen bg-white pb-20 overflow-hidden", children: [_jsxs("section", { "data-section": "hero", className: "relative h-[60vh] min-h-[500px] w-full overflow-hidden", children: [_jsxs("div", { className: "absolute inset-0", children: [_jsx(Image, { src: heroImage, alt: "About Us", fill: true, className: "w-full h-full object-cover transform scale-105 animate-pulse-slow" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-black/80 via-black/50 to-transparent" })] }), _jsx("div", { className: "absolute inset-0 flex items-center", children: _jsx("div", { className: "container mx-auto px-4 sm:px-6 lg:px-8", children: _jsxs("div", { className: "max-w-3xl animate-fade-in-up", children: [showBadge && (_jsxs("div", { className: "inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-white text-sm font-medium mb-6", children: [_jsx("span", { className: "w-2 h-2 rounded-full bg-white animate-pulse" }), badgeText] })), _jsx("h1", { className: "text-5xl md:text-7xl font-bold text-white mb-6 tracking-tight leading-tight", children: pageTitle }), _jsx("p", { className: "text-xl md:text-2xl text-gray-200 max-w-2xl leading-relaxed font-light", children: missionStatement })] }) }) })] }), content?.show !== false && (_jsxs("section", { "data-section": "story", className: "py-24 px-4 sm:px-6 lg:px-8 relative", children: [_jsx("div", { className: "absolute top-0 right-0 -mt-24 -mr-24 w-96 h-96 bg-gray-50 rounded-full blur-3xl -z-10" }), _jsx("div", { className: "container mx-auto max-w-7xl", children: _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-16 items-center", children: [_jsxs("div", { className: "relative", children: [showGallery && galleryImages && galleryImages.length > 0 ? (_jsx("div", { className: "grid grid-cols-2 gap-4", children: galleryImages.slice(0, 4).map((img, i) => (_jsx("div", { className: `relative overflow-hidden rounded-2xl shadow-lg ${i === 0 ? 'col-span-2 aspect-[16/9]' : 'aspect-square'}`, children: _jsx(Image, { src: img.image, alt: img.caption || "Gallery Image", fill: true, className: "w-full h-full object-cover hover:scale-110 transition-transform duration-500" }) }, i))) })) : (_jsxs("div", { className: "relative aspect-[4/5] rounded-[2rem] overflow-hidden shadow-2xl", children: [_jsx(Image, { src: storyImage, alt: storyCaptionTitle, fill: true, className: "w-full h-full object-cover" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent opacity-60" }), _jsxs("div", { className: "absolute bottom-8 left-8 text-white", children: [_jsx("p", { className: "font-bold text-lg", children: storyCaptionTitle }), _jsx("p", { className: "text-white/80 text-sm", children: storyCaptionSubtitle })] })] })), _jsx("div", { className: "absolute -bottom-6 -right-6 w-24 h-24 bg-white rounded-2xl shadow-xl flex items-center justify-center p-4 animate-bounce duration-[3000ms]", children: _jsx(Heart, { className: "w-10 h-10", style: { color: primaryColor, fill: primaryColor } }) })] }), _jsxs("div", { className: "space-y-10", children: [_jsxs("div", { children: [_jsx("span", { className: "text-sm font-bold uppercase tracking-widest mb-3 block", style: { color: primaryColor }, children: sectionLabel }), _jsx("h2", { className: "text-4xl md:text-5xl font-black text-gray-900 mb-6 tracking-tight", children: sectionTitle }), _jsxs("div", { className: "prose prose-lg text-gray-600 leading-relaxed space-y-6", children: [pageContent?.split('\n').map((paragraph, idx) => (_jsx("p", { children: paragraph }, idx))), !pageContent && (_jsxs(_Fragment, { children: [_jsxs("p", { children: ["Founded with a bold vision to redefine excellence in the ", _jsx("span", { className: "font-semibold text-gray-900", children: storeConfig.type }), " industry, ", storeConfig.name, " has grown from a small passion project into a beloved brand. We believe in the power of quality, innovation, and community."] }), _jsx("p", { children: "Every day, we strive to bring you the best products, curated with care and delivered with a smile. Our team is dedicated to ensuring that your experience with us is nothing short of exceptional." })] }))] })] }), _jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-8", children: values.map((item, idx) => (_jsxs("div", { className: "flex gap-4 group", children: [_jsx("div", { className: "flex-shrink-0", children: _jsx("div", { className: "w-14 h-14 rounded-2xl flex items-center justify-center transition-colors group-hover:bg-gray-100", style: { backgroundColor: `${primaryColor}10` }, children: _jsx(item.icon, { className: "h-7 w-7 transition-transform group-hover:scale-110", style: { color: primaryColor } }) }) }), _jsxs("div", { children: [_jsx("h4", { className: "font-bold text-gray-900 mb-2 text-lg", children: item.title }), _jsx(RichTextExcerpt, { value: item.description, as: "p", className: "text-gray-600 text-sm leading-relaxed" })] })] }, idx))) })] })] }) })] })), _jsxs("section", { "data-section": "stats", className: "py-20 relative overflow-hidden", children: [_jsx("div", { className: "absolute inset-0 opacity-10", children: _jsx(DotPattern, { color: primaryColor, cx: 2, cy: 2, cr: 2, width: 30, height: 30 }) }), _jsx("div", { className: "absolute inset-0", style: { backgroundColor: `${secondaryColor}15` } }), _jsx("div", { className: "container mx-auto px-4 relative z-10", children: _jsx("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-8 md:gap-12", children: [
62
66
  { label: "Happy Foodies", value: "15k+" },
63
67
  { label: "Menu Items", value: menuItems?.length ? `${menuItems.length}+` : "40+" },
64
68
  { label: "Years of Cooking", value: "8+" },
@@ -4,8 +4,8 @@ import { Breadcrumbs } from '../../../components/ui/breadcrumbs.js';
4
4
  import { useStore } from '../../../lib/store-context.js';
5
5
  import { useCatalogLoader } from '../../../hooks/use-catalog-loader.js';
6
6
  import { isEditorPreviewMode, resolveStoreCategoriesForDisplay } from '../../../lib/utils/index.js';
7
- import { payazaInlineBindingProps } from '../../../preview/canvas/field-key';
8
- import { CategoryMasonryGrid } from '../../../components/categories/category-masonry-grid';
7
+ import { payazaInlineBindingProps } from '../../../preview/canvas/field-key.js';
8
+ import { CategoryMasonryGrid } from '../../../components/categories/category-masonry-grid.js';
9
9
  export function FoodCategoriesPage({ storeConfig: initialConfig }) {
10
10
  const { store } = useStore();
11
11
  const storeConfig = store || initialConfig;
@@ -10,8 +10,8 @@ import { useToast } from '../../../components/ui/toast.js';
10
10
  import { useAnalytics } from '../../../hooks/use-analytics.js';
11
11
  import { useEffect } from 'react';
12
12
  import { formatCurrency } from '../../../lib/utils/index.js';
13
- import { CategoryDescription } from '../../../components/rich-text/CategoryDescription';
14
- import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt';
13
+ import { CategoryDescription } from '../../../components/rich-text/CategoryDescription.js';
14
+ import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt.js';
15
15
  export function CategoryPage({ storeConfig: initialConfig, categorySlug, categoryProductsSeed }) {
16
16
  const { store, addToCart } = useStore();
17
17
  const storeConfig = store || initialConfig;
@@ -27,10 +27,10 @@ import { usePdpVariation } from '../../../hooks/use-pdp-variation.js';
27
27
  import { buildPdpBuyNowItem } from '../../../lib/pdp-cart-actions.js';
28
28
  import { assertVariationSelected } from '../../../lib/product-variation-utils.js';
29
29
  import { shippingService } from '../../../lib/services/shipping.service.js';
30
- import { locationService } from '../../../lib/services/location.service';
31
- import { ProductDeliveryInfoSection } from '../../../components/shipping/ProductDeliveryInfoSection';
32
- import { PdpVariationSelectors } from '../../shared/components/PdpVariationSelectors';
33
- import { formatDateSafe } from '../../../utils/date';
30
+ import { locationService } from '../../../lib/services/location.service.js';
31
+ import { ProductDeliveryInfoSection } from '../../../components/shipping/ProductDeliveryInfoSection.js';
32
+ import { PdpVariationSelectors } from '../../shared/components/PdpVariationSelectors.js';
33
+ import { formatDateSafe } from '../../../utils/date.js';
34
34
  // Helper function to format date
35
35
  const formatDate = (dateString) => {
36
36
  return formatDateSafe(dateString, '—', { year: 'numeric', month: 'long', day: 'numeric' });
@@ -17,11 +17,11 @@ import { useFilteredProductsFetch } from '../../../hooks/use-filtered-products-f
17
17
  import { formatCurrency } from '../../../lib/utils/index.js';
18
18
  import { getBannerImage, getLayoutText } from '../../../lib/utils/asset-helpers.js';
19
19
  import { shouldUseAPI } from '../../../lib/utils/demo-detection.js';
20
- import { productCategoryFilterChipClass } from '../../shared/product-category-filter-chip';
20
+ import { productCategoryFilterChipClass } from '../../shared/product-category-filter-chip.js';
21
21
  import { useCatalogPriceRange } from '../../../hooks/use-catalog-price-range.js';
22
22
  import { getApiPriceFilterActive, isWithinActivePriceRange } from '../../../lib/utils/catalog-price-bounds.js';
23
23
  import { buildFilteredProductQuery, getFilteredProductQueryKey, productMatchesCategoryIds, productMatchesCategorySlug, } from '../../../lib/utils/filtered-product-query.js';
24
- import { ProductPriceFilterSection } from '../../shared/components/ProductPriceFilterSection';
24
+ import { ProductPriceFilterSection } from '../../shared/components/ProductPriceFilterSection.js';
25
25
  import { productService } from '../../../lib/services/product.service.js';
26
26
  import { transformProductToStoreProduct } from '../../../lib/store-config-utils.js';
27
27
  function ProductsPageContent({ storeConfig: initialConfig }) {
@@ -9,9 +9,9 @@ import { Star, ArrowRight, Utensils, Calendar, Users, Mail, Phone, CheckCircle,
9
9
  import { useState, useMemo } from 'react';
10
10
  import { formatCurrency, isEditorPreviewMode, resolveMenuItemsForDisplay } from '../../../lib/utils/index.js';
11
11
  import { getLayoutText, getBannerImage, getAssetUrl } from '../../../lib/utils/asset-helpers.js';
12
- import { VideoPlayer } from '../../../components/ui/video-player';
13
- import { PromoBanner } from '../../shared/components/PromoBanner';
14
- import { getPayazaSectionInlineStyle } from '../../../lib/payaza-section-styles';
12
+ import { VideoPlayer } from '../../../components/ui/video-player.js';
13
+ import { PromoBanner } from '../../shared/components/PromoBanner.js';
14
+ import { getPayazaSectionInlineStyle } from '../../../lib/payaza-section-styles.js';
15
15
  import { SafeRichHtml } from '../../../components/rich-text/SafeRichHtml.js';
16
16
  import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt.js';
17
17
  export function FoodHomePageModern({ storeConfig: initialConfig }) {
@@ -1,9 +1,9 @@
1
1
  // Modern Eats (food-modern) layout — fully sandboxed exports
2
- export { FoodHomePageModern } from './components/FoodHomePageModern';
3
- export { ProductsPage as FoodModernProductsPage } from './pages/ProductsPage';
4
- export { ProductDetailPage as FoodModernProductDetailPage } from './pages/ProductDetailPage';
5
- export { CategoryPage as FoodModernCategoryPage } from './pages/CategoryPage';
6
- export { FoodModernCategoriesPage } from './pages/CategoriesPage';
7
- export { MenuPage as FoodModernMenuPage } from './pages/MenuPage';
8
- export { AboutPage as FoodModernAboutPage } from './pages/AboutPage';
9
- export { ContactPage as FoodModernContactPage } from './pages/ContactPage';
2
+ export { FoodHomePageModern } from './components/FoodHomePageModern.js';
3
+ export { ProductsPage as FoodModernProductsPage } from './pages/ProductsPage.js';
4
+ export { ProductDetailPage as FoodModernProductDetailPage } from './pages/ProductDetailPage.js';
5
+ export { CategoryPage as FoodModernCategoryPage } from './pages/CategoryPage.js';
6
+ export { FoodModernCategoriesPage } from './pages/CategoriesPage.js';
7
+ export { MenuPage as FoodModernMenuPage } from './pages/MenuPage.js';
8
+ export { AboutPage as FoodModernAboutPage } from './pages/AboutPage.js';
9
+ export { ContactPage as FoodModernContactPage } from './pages/ContactPage.js';
@@ -1 +1 @@
1
- {"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/food-modern/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAShD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc,+BA8OvE"}
1
+ {"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/food-modern/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAgBhD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc,+BAoPvE"}
@@ -7,6 +7,7 @@ import { useStore } from '../../../lib/store-context.js';
7
7
  import Image from 'next/image';
8
8
  import { SafeRichHtml } from '../../../components/rich-text/SafeRichHtml.js';
9
9
  import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt.js';
10
+ import { storySectionImage, storySectionLabel, storySectionTitle, storyTeamSubtitle, storyTeamTitle, } from '../../shared/about-story-media.js';
10
11
  export function AboutPage({ storeConfig: initialConfig }) {
11
12
  const { store } = useStore();
12
13
  const storeConfig = store || initialConfig;
@@ -16,10 +17,16 @@ export function AboutPage({ storeConfig: initialConfig }) {
16
17
  const aboutConfig = storeConfig.layoutConfig?.pages?.about;
17
18
  // Food-modern-specific hero image
18
19
  const heroImage = aboutConfig?.heroImage || 'https://images.unsplash.com/photo-1559339352-11d035aa65de?q=80&w=1974&auto=format&fit=crop';
20
+ const storyConfig = aboutConfig?.story || aboutConfig;
19
21
  const pageTitle = aboutConfig?.title || "Crafting Experiences, Delivering Joy.";
20
- const pageContent = aboutConfig?.content || storeConfig.description;
22
+ const pageContent = storyConfig?.content || aboutConfig?.content || storeConfig.description;
21
23
  const missionStatement = aboutConfig?.missionStatement;
22
- const galleryImages = aboutConfig?.gallerySection;
24
+ const galleryImages = storyConfig?.gallerySection || aboutConfig?.gallerySection;
25
+ const storyImage = storySectionImage(storyConfig);
26
+ const storyLabel = storySectionLabel(storyConfig);
27
+ const storyTitle = storySectionTitle(storyConfig);
28
+ const storyCaptionTitle = storyTeamTitle(storyConfig);
29
+ const storyCaptionSubtitle = storyTeamSubtitle(storyConfig);
23
30
  const values = [
24
31
  {
25
32
  icon: Award,
@@ -42,7 +49,7 @@ export function AboutPage({ storeConfig: initialConfig }) {
42
49
  description: "Sustainable practices and responsible sourcing for a better tomorrow."
43
50
  }
44
51
  ];
45
- return (_jsxs("div", { className: "min-h-screen bg-white pb-20 overflow-hidden", children: [_jsxs("section", { "data-section": "hero", className: "relative h-[60vh] min-h-[500px] w-full overflow-hidden", children: [_jsxs("div", { className: "absolute inset-0", children: [_jsx(Image, { src: heroImage, alt: "About Us", fill: true, className: "w-full h-full object-cover transform scale-105 animate-pulse-slow" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-black/80 via-black/50 to-transparent" })] }), _jsx("div", { className: "absolute inset-0 flex items-center", children: _jsx("div", { className: "container mx-auto px-4 sm:px-6 lg:px-8", children: _jsxs("div", { className: "max-w-3xl animate-fade-in-up", children: [_jsxs("div", { className: "inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-white text-sm font-medium mb-6", children: [_jsx("span", { className: "w-2 h-2 rounded-full bg-white animate-pulse" }), "Est. 2024"] }), _jsx("h1", { className: "text-5xl md:text-7xl font-bold text-white mb-6 tracking-tight leading-tight", children: pageTitle }), _jsx(SafeRichHtml, { value: missionStatement || storeConfig.description, as: "div", className: "text-xl md:text-2xl text-gray-200 max-w-2xl leading-relaxed font-light [&_p]:mb-0" })] }) }) })] }), _jsxs("section", { "data-section": "story", className: "py-24 px-4 sm:px-6 lg:px-8 relative", children: [_jsx("div", { className: "absolute top-0 right-0 -mt-24 -mr-24 w-96 h-96 bg-gray-50 rounded-full blur-3xl -z-10" }), _jsx("div", { className: "container mx-auto max-w-7xl", children: _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-16 items-center", children: [_jsxs("div", { className: "relative", children: [galleryImages && galleryImages.length > 0 ? (_jsx("div", { className: "grid grid-cols-2 gap-4", children: galleryImages.slice(0, 4).map((img, i) => (_jsx("div", { className: `relative overflow-hidden rounded-2xl shadow-lg ${i === 0 ? 'col-span-2 aspect-[16/9]' : 'aspect-square'}`, children: _jsx(Image, { src: img.image, alt: img.caption || "Gallery Image", fill: true, className: "w-full h-full object-cover hover:scale-110 transition-transform duration-500" }) }, i))) })) : (_jsxs("div", { className: "relative aspect-[4/5] rounded-[2rem] overflow-hidden shadow-2xl", children: [_jsx(Image, { src: "https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2071&auto=format&fit=crop", alt: "Our Team", fill: true, className: "w-full h-full object-cover" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent opacity-60" }), _jsxs("div", { className: "absolute bottom-8 left-8 text-white", children: [_jsx("p", { className: "font-bold text-lg", children: "The Dream Team" }), _jsx("p", { className: "text-white/80 text-sm", children: "Working together to serve you better" })] })] })), _jsx("div", { className: "absolute -bottom-6 -right-6 w-24 h-24 bg-white rounded-2xl shadow-xl flex items-center justify-center p-4 animate-bounce duration-[3000ms]", children: _jsx(Heart, { className: "w-10 h-10", style: { color: primaryColor, fill: primaryColor } }) })] }), _jsxs("div", { className: "space-y-10", children: [_jsxs("div", { children: [_jsx("span", { className: "text-sm font-bold uppercase tracking-widest mb-3 block", style: { color: primaryColor }, children: "Who We Are" }), _jsx("h2", { className: "text-4xl md:text-5xl font-black text-gray-900 mb-6 tracking-tight", children: "Our Journey" }), _jsxs("div", { className: "prose prose-lg text-gray-600 leading-relaxed space-y-6", children: [pageContent?.split('\n').map((paragraph, idx) => (_jsx("p", { children: paragraph }, idx))), !pageContent && (_jsxs(_Fragment, { children: [_jsxs("p", { children: ["Founded with a bold vision to redefine excellence in the ", _jsx("span", { className: "font-semibold text-gray-900", children: storeConfig.type }), " industry, ", storeConfig.name, " has grown from a small passion project into a beloved brand. We believe in the power of quality, innovation, and community."] }), _jsx("p", { children: "Every day, we strive to bring you the best products, curated with care and delivered with a smile. Our team is dedicated to ensuring that your experience with us is nothing short of exceptional." })] }))] })] }), _jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-8", children: values.map((item, idx) => (_jsxs("div", { className: "flex gap-4 group", children: [_jsx("div", { className: "flex-shrink-0", children: _jsx("div", { className: "w-14 h-14 rounded-2xl flex items-center justify-center transition-colors group-hover:bg-gray-100", style: { backgroundColor: `${primaryColor}10` }, children: _jsx(item.icon, { className: "h-7 w-7 transition-transform group-hover:scale-110", style: { color: primaryColor } }) }) }), _jsxs("div", { children: [_jsx("h4", { className: "font-bold text-gray-900 mb-2 text-lg", children: item.title }), _jsx(RichTextExcerpt, { value: item.description, as: "p", className: "text-gray-600 text-sm leading-relaxed" })] })] }, idx))) })] })] }) })] }), _jsxs("section", { "data-section": "stats", className: "py-20 relative overflow-hidden", children: [_jsx("div", { className: "absolute inset-0 opacity-10", children: _jsx(DotPattern, { color: primaryColor, cx: 2, cy: 2, cr: 2, width: 30, height: 30 }) }), _jsx("div", { className: "absolute inset-0", style: { backgroundColor: `${secondaryColor}15` } }), _jsx("div", { className: "container mx-auto px-4 relative z-10", children: _jsx("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-8 md:gap-12", children: [
52
+ return (_jsxs("div", { className: "min-h-screen bg-white pb-20 overflow-hidden", children: [_jsxs("section", { "data-section": "hero", className: "relative h-[60vh] min-h-[500px] w-full overflow-hidden", children: [_jsxs("div", { className: "absolute inset-0", children: [_jsx(Image, { src: heroImage, alt: "About Us", fill: true, className: "w-full h-full object-cover transform scale-105 animate-pulse-slow" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-black/80 via-black/50 to-transparent" })] }), _jsx("div", { className: "absolute inset-0 flex items-center", children: _jsx("div", { className: "container mx-auto px-4 sm:px-6 lg:px-8", children: _jsxs("div", { className: "max-w-3xl animate-fade-in-up", children: [_jsxs("div", { className: "inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-white text-sm font-medium mb-6", children: [_jsx("span", { className: "w-2 h-2 rounded-full bg-white animate-pulse" }), "Est. 2024"] }), _jsx("h1", { className: "text-5xl md:text-7xl font-bold text-white mb-6 tracking-tight leading-tight", children: pageTitle }), _jsx(SafeRichHtml, { value: missionStatement || storeConfig.description, as: "div", className: "text-xl md:text-2xl text-gray-200 max-w-2xl leading-relaxed font-light [&_p]:mb-0" })] }) }) })] }), _jsxs("section", { "data-section": "story", className: "py-24 px-4 sm:px-6 lg:px-8 relative", children: [_jsx("div", { className: "absolute top-0 right-0 -mt-24 -mr-24 w-96 h-96 bg-gray-50 rounded-full blur-3xl -z-10" }), _jsx("div", { className: "container mx-auto max-w-7xl", children: _jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-16 items-center", children: [_jsxs("div", { className: "relative", children: [galleryImages && galleryImages.length > 0 ? (_jsx("div", { className: "grid grid-cols-2 gap-4", children: galleryImages.slice(0, 4).map((img, i) => (_jsx("div", { className: `relative overflow-hidden rounded-2xl shadow-lg ${i === 0 ? 'col-span-2 aspect-[16/9]' : 'aspect-square'}`, children: _jsx(Image, { src: img.image, alt: img.caption || "Gallery Image", fill: true, className: "w-full h-full object-cover hover:scale-110 transition-transform duration-500" }) }, i))) })) : (_jsxs("div", { className: "relative aspect-[4/5] rounded-[2rem] overflow-hidden shadow-2xl", children: [_jsx(Image, { src: storyImage, alt: storyCaptionTitle, fill: true, className: "w-full h-full object-cover" }), _jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent opacity-60" }), _jsxs("div", { className: "absolute bottom-8 left-8 text-white", children: [_jsx("p", { className: "font-bold text-lg", children: storyCaptionTitle }), _jsx("p", { className: "text-white/80 text-sm", children: storyCaptionSubtitle })] })] })), _jsx("div", { className: "absolute -bottom-6 -right-6 w-24 h-24 bg-white rounded-2xl shadow-xl flex items-center justify-center p-4 animate-bounce duration-[3000ms]", children: _jsx(Heart, { className: "w-10 h-10", style: { color: primaryColor, fill: primaryColor } }) })] }), _jsxs("div", { className: "space-y-10", children: [_jsxs("div", { children: [_jsx("span", { className: "text-sm font-bold uppercase tracking-widest mb-3 block", style: { color: primaryColor }, children: "Who We Are" }), _jsx("h2", { className: "text-4xl md:text-5xl font-black text-gray-900 mb-6 tracking-tight", children: "Our Journey" }), _jsxs("div", { className: "prose prose-lg text-gray-600 leading-relaxed space-y-6", children: [pageContent?.split('\n').map((paragraph, idx) => (_jsx("p", { children: paragraph }, idx))), !pageContent && (_jsxs(_Fragment, { children: [_jsxs("p", { children: ["Founded with a bold vision to redefine excellence in the ", _jsx("span", { className: "font-semibold text-gray-900", children: storeConfig.type }), " industry, ", storeConfig.name, " has grown from a small passion project into a beloved brand. We believe in the power of quality, innovation, and community."] }), _jsx("p", { children: "Every day, we strive to bring you the best products, curated with care and delivered with a smile. Our team is dedicated to ensuring that your experience with us is nothing short of exceptional." })] }))] })] }), _jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-8", children: values.map((item, idx) => (_jsxs("div", { className: "flex gap-4 group", children: [_jsx("div", { className: "flex-shrink-0", children: _jsx("div", { className: "w-14 h-14 rounded-2xl flex items-center justify-center transition-colors group-hover:bg-gray-100", style: { backgroundColor: `${primaryColor}10` }, children: _jsx(item.icon, { className: "h-7 w-7 transition-transform group-hover:scale-110", style: { color: primaryColor } }) }) }), _jsxs("div", { children: [_jsx("h4", { className: "font-bold text-gray-900 mb-2 text-lg", children: item.title }), _jsx(RichTextExcerpt, { value: item.description, as: "p", className: "text-gray-600 text-sm leading-relaxed" })] })] }, idx))) })] })] }) })] }), _jsxs("section", { "data-section": "stats", className: "py-20 relative overflow-hidden", children: [_jsx("div", { className: "absolute inset-0 opacity-10", children: _jsx(DotPattern, { color: primaryColor, cx: 2, cy: 2, cr: 2, width: 30, height: 30 }) }), _jsx("div", { className: "absolute inset-0", style: { backgroundColor: `${secondaryColor}15` } }), _jsx("div", { className: "container mx-auto px-4 relative z-10", children: _jsx("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-8 md:gap-12", children: [
46
53
  { label: "Elite Members", value: "5k+" },
47
54
  { label: "Modern Creations", value: menuItems?.length ? `${menuItems.length}+` : "35+" },
48
55
  { label: "Culinary Awards", value: "12+" },
@@ -4,7 +4,7 @@ import { Breadcrumbs } from '../../../components/ui/breadcrumbs.js';
4
4
  import { useStore } from '../../../lib/store-context.js';
5
5
  import { useCatalogLoader } from '../../../hooks/use-catalog-loader.js';
6
6
  import { isEditorPreviewMode, resolveStoreCategoriesForDisplay } from '../../../lib/utils/index.js';
7
- import { CategoryMasonryGrid } from '../../../components/categories/category-masonry-grid';
7
+ import { CategoryMasonryGrid } from '../../../components/categories/category-masonry-grid.js';
8
8
  export function FoodModernCategoriesPage({ storeConfig: initialConfig }) {
9
9
  const { store } = useStore();
10
10
  const storeConfig = store || initialConfig;
@@ -10,8 +10,8 @@ import { useToast } from '../../../components/ui/toast.js';
10
10
  import { useAnalytics } from '../../../hooks/use-analytics.js';
11
11
  import { useEffect } from 'react';
12
12
  import { formatCurrency } from '../../../lib/utils/index.js';
13
- import { CategoryDescription } from '../../../components/rich-text/CategoryDescription';
14
- import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt';
13
+ import { CategoryDescription } from '../../../components/rich-text/CategoryDescription.js';
14
+ import { RichTextExcerpt } from '../../../components/rich-text/RichTextExcerpt.js';
15
15
  export function CategoryPage({ storeConfig: initialConfig, categorySlug, categoryProductsSeed }) {
16
16
  const { store, addToCart } = useStore();
17
17
  const storeConfig = store || initialConfig;
@@ -27,9 +27,9 @@ import { usePdpVariation } from '../../../hooks/use-pdp-variation.js';
27
27
  import { buildPdpBuyNowItem } from '../../../lib/pdp-cart-actions.js';
28
28
  import { assertVariationSelected } from '../../../lib/product-variation-utils.js';
29
29
  import { shippingService } from '../../../lib/services/shipping.service.js';
30
- import { ProductDeliveryInfoSection } from '../../../components/shipping/ProductDeliveryInfoSection';
31
- import { PdpVariationSelectors } from '../../shared/components/PdpVariationSelectors';
32
- import { formatDateSafe } from '../../../utils/date';
30
+ import { ProductDeliveryInfoSection } from '../../../components/shipping/ProductDeliveryInfoSection.js';
31
+ import { PdpVariationSelectors } from '../../shared/components/PdpVariationSelectors.js';
32
+ import { formatDateSafe } from '../../../utils/date.js';
33
33
  // Helper function to format date
34
34
  const formatDate = (dateString) => {
35
35
  return formatDateSafe(dateString, '—', { year: 'numeric', month: 'long', day: 'numeric' });
@@ -17,11 +17,11 @@ import { useFilteredProductsFetch } from '../../../hooks/use-filtered-products-f
17
17
  import { formatCurrency } from '../../../lib/utils/index.js';
18
18
  import { getBannerImage, getLayoutText } from '../../../lib/utils/asset-helpers.js';
19
19
  import { shouldUseAPI } from '../../../lib/utils/demo-detection.js';
20
- import { productCategoryFilterChipClass } from '../../shared/product-category-filter-chip';
20
+ import { productCategoryFilterChipClass } from '../../shared/product-category-filter-chip.js';
21
21
  import { useCatalogPriceRange } from '../../../hooks/use-catalog-price-range.js';
22
22
  import { getApiPriceFilterActive, isWithinActivePriceRange } from '../../../lib/utils/catalog-price-bounds.js';
23
23
  import { buildFilteredProductQuery, getFilteredProductQueryKey, productMatchesCategoryIds, productMatchesCategorySlug, } from '../../../lib/utils/filtered-product-query.js';
24
- import { ProductPriceFilterSection } from '../../shared/components/ProductPriceFilterSection';
24
+ import { ProductPriceFilterSection } from '../../shared/components/ProductPriceFilterSection.js';
25
25
  import { productService } from '../../../lib/services/product.service.js';
26
26
  import { transformProductToStoreProduct } from '../../../lib/store-config-utils.js';
27
27
  function ProductsPageContent({ storeConfig: initialConfig }) {
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
- import { MotivationalLayout } from '../../shared/wrappers/MotivationalLayout';
3
+ import { MotivationalLayout } from '../../shared/wrappers/MotivationalLayout.js';
4
4
  export const MotivationalSpeakerPageWrapper = (props) => {
5
5
  return _jsx(MotivationalLayout, { ...props });
6
6
  };
@@ -1,10 +1,10 @@
1
1
  // Motivational Speaker layout — fully sandboxed exports
2
- export { MotivationalHomePage } from './components/MotivationalHomePage';
3
- export { MotivationalSpeakerPageWrapper as MotivationalPageWrapper } from './components/MotivationalSpeakerPageWrapper';
4
- export { ProductsPage as MotivationalProductsPage } from './pages/ProductsPage';
5
- export { ServiceDetailPage as MotivationalServiceDetailPage } from './pages/ServiceDetailPage';
6
- export { ServicesPage as MotivationalServicesPage } from './pages/ServicesPage';
7
- export { MotivationalSubscriptionPage } from './pages/SubscriptionPage';
8
- export { CategoryPage as MotivationalCategoryPage } from './pages/CategoryPage';
9
- export { AboutPage as MotivationalAboutPage } from './pages/AboutPage';
10
- export { ContactPage as MotivationalContactPage } from './pages/ContactPage';
2
+ export { MotivationalHomePage } from './components/MotivationalHomePage.js';
3
+ export { MotivationalSpeakerPageWrapper as MotivationalPageWrapper } from './components/MotivationalSpeakerPageWrapper.js';
4
+ export { ProductsPage as MotivationalProductsPage } from './pages/ProductsPage.js';
5
+ export { ServiceDetailPage as MotivationalServiceDetailPage } from './pages/ServiceDetailPage.js';
6
+ export { ServicesPage as MotivationalServicesPage } from './pages/ServicesPage.js';
7
+ export { MotivationalSubscriptionPage } from './pages/SubscriptionPage.js';
8
+ export { CategoryPage as MotivationalCategoryPage } from './pages/CategoryPage.js';
9
+ export { AboutPage as MotivationalAboutPage } from './pages/AboutPage.js';
10
+ export { ContactPage as MotivationalContactPage } from './pages/ContactPage.js';
@@ -1 +1 @@
1
- {"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/motivational-speaker/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAShD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc,+BA6OvE"}
1
+ {"version":3,"file":"AboutPage.d.ts","sourceRoot":"","sources":["../../../../src/layouts/motivational-speaker/pages/AboutPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAgBhD,UAAU,cAAc;IACtB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,wBAAgB,SAAS,CAAC,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,cAAc,+BAmPvE"}