@pradip1995/create-storefront 1.0.1
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.
- package/bin/create-storefront.js +239 -0
- package/lib/kit-next-config.js +84 -0
- package/package.json +32 -0
- package/templates/storefront/.eslintrc.json +3 -0
- package/templates/storefront/README.md +35 -0
- package/templates/storefront/check-env-variables.js +51 -0
- package/templates/storefront/kit-next-config.js +71 -0
- package/templates/storefront/next-env.d.ts +5 -0
- package/templates/storefront/next.config.js +25 -0
- package/templates/storefront/package.json +56 -0
- package/templates/storefront/postcss.config.js +6 -0
- package/templates/storefront/public/favicon.png +0 -0
- package/templates/storefront/src/app/[countryCode]/(checkout)/checkout/page.tsx +23 -0
- package/templates/storefront/src/app/[countryCode]/(checkout)/checkout/payment/page.tsx +47 -0
- package/templates/storefront/src/app/[countryCode]/(checkout)/layout.tsx +31 -0
- package/templates/storefront/src/app/[countryCode]/(checkout)/not-found.tsx +19 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/@dashboard/addresses/page.tsx +31 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/@dashboard/loading.tsx +9 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/@dashboard/orders/details/[id]/page.tsx +35 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/@dashboard/orders/exchange/[id]/page.tsx +47 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/@dashboard/orders/page.tsx +28 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/@dashboard/orders/return/[id]/page.tsx +66 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/@dashboard/page.tsx +22 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/@dashboard/payment-methods/page.tsx +23 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/@dashboard/profile/page.tsx +43 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/@login/default.tsx +11 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/@login/page.tsx +18 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/guest-orders/page.tsx +13 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/layout.tsx +22 -0
- package/templates/storefront/src/app/[countryCode]/(main)/account/loading.tsx +9 -0
- package/templates/storefront/src/app/[countryCode]/(main)/cart/loading.tsx +5 -0
- package/templates/storefront/src/app/[countryCode]/(main)/cart/not-found.tsx +21 -0
- package/templates/storefront/src/app/[countryCode]/(main)/cart/page.tsx +23 -0
- package/templates/storefront/src/app/[countryCode]/(main)/categories/[...category]/page.tsx +11 -0
- package/templates/storefront/src/app/[countryCode]/(main)/collections/[handle]/page.tsx +11 -0
- package/templates/storefront/src/app/[countryCode]/(main)/contact/page.tsx +21 -0
- package/templates/storefront/src/app/[countryCode]/(main)/guest-orders/page.tsx +12 -0
- package/templates/storefront/src/app/[countryCode]/(main)/help/page.tsx +28 -0
- package/templates/storefront/src/app/[countryCode]/(main)/layout.tsx +21 -0
- package/templates/storefront/src/app/[countryCode]/(main)/not-found.tsx +20 -0
- package/templates/storefront/src/app/[countryCode]/(main)/order/[id]/confirmed/loading.tsx +5 -0
- package/templates/storefront/src/app/[countryCode]/(main)/order/[id]/confirmed/page.tsx +23 -0
- package/templates/storefront/src/app/[countryCode]/(main)/order/[id]/transfer/[token]/accept/page.tsx +41 -0
- package/templates/storefront/src/app/[countryCode]/(main)/order/[id]/transfer/[token]/decline/page.tsx +41 -0
- package/templates/storefront/src/app/[countryCode]/(main)/order/[id]/transfer/[token]/page.tsx +38 -0
- package/templates/storefront/src/app/[countryCode]/(main)/order/exchange/[id]/page.tsx +47 -0
- package/templates/storefront/src/app/[countryCode]/(main)/order/return/[id]/page.tsx +61 -0
- package/templates/storefront/src/app/[countryCode]/(main)/orders/[id]/page.tsx +33 -0
- package/templates/storefront/src/app/[countryCode]/(main)/page.tsx +24 -0
- package/templates/storefront/src/app/[countryCode]/(main)/privacy-policy/page.tsx +173 -0
- package/templates/storefront/src/app/[countryCode]/(main)/products/[handle]/page.tsx +193 -0
- package/templates/storefront/src/app/[countryCode]/(main)/reset-password/page.tsx +192 -0
- package/templates/storefront/src/app/[countryCode]/(main)/store/page.tsx +72 -0
- package/templates/storefront/src/app/[countryCode]/(main)/terms-of-use/page.tsx +179 -0
- package/templates/storefront/src/app/[countryCode]/(main)/wishlist/page.tsx +19 -0
- package/templates/storefront/src/app/api/meta/event/route.ts +63 -0
- package/templates/storefront/src/app/auth/customer/google/callback/page.tsx +126 -0
- package/templates/storefront/src/app/layout.tsx +104 -0
- package/templates/storefront/src/app/not-found.tsx +30 -0
- package/templates/storefront/src/app/opengraph-image.jpg +0 -0
- package/templates/storefront/src/app/robots.ts +15 -0
- package/templates/storefront/src/app/sitemap.ts +65 -0
- package/templates/storefront/src/app/twitter-image.jpg +0 -0
- package/templates/storefront/src/modules/account/components/account-deletion/index.tsx +160 -0
- package/templates/storefront/src/modules/account/components/account-info/index.tsx +145 -0
- package/templates/storefront/src/modules/account/components/account-nav/icons.tsx +43 -0
- package/templates/storefront/src/modules/account/components/account-nav/index.tsx +318 -0
- package/templates/storefront/src/modules/account/components/account-nav/logout-modal.tsx +92 -0
- package/templates/storefront/src/modules/account/components/account-nav/payment-methods-icon.tsx +9 -0
- package/templates/storefront/src/modules/account/components/address-book/index.tsx +47 -0
- package/templates/storefront/src/modules/account/components/address-card/add-address.tsx +377 -0
- package/templates/storefront/src/modules/account/components/address-card/edit-address-modal.tsx +468 -0
- package/templates/storefront/src/modules/account/components/deletion-pending-modal/index.tsx +213 -0
- package/templates/storefront/src/modules/account/components/forgot-password/index.tsx +1 -0
- package/templates/storefront/src/modules/account/components/login/index.tsx +1 -0
- package/templates/storefront/src/modules/account/components/order-card/index.tsx +221 -0
- package/templates/storefront/src/modules/account/components/order-overview/index.tsx +159 -0
- package/templates/storefront/src/modules/account/components/overview/index.tsx +189 -0
- package/templates/storefront/src/modules/account/components/profile-billing-address/index.tsx +447 -0
- package/templates/storefront/src/modules/account/components/profile-email/index.tsx +75 -0
- package/templates/storefront/src/modules/account/components/profile-form/index.tsx +416 -0
- package/templates/storefront/src/modules/account/components/profile-name/index.tsx +76 -0
- package/templates/storefront/src/modules/account/components/profile-password/index.tsx +70 -0
- package/templates/storefront/src/modules/account/components/profile-phone/index.tsx +185 -0
- package/templates/storefront/src/modules/account/components/register/index.tsx +1 -0
- package/templates/storefront/src/modules/account/components/return-item-selector/index.tsx +187 -0
- package/templates/storefront/src/modules/account/components/return-shipping-selector/index.tsx +118 -0
- package/templates/storefront/src/modules/account/components/transfer-request-form/index.tsx +81 -0
- package/templates/storefront/src/modules/account/templates/account-layout.tsx +38 -0
- package/templates/storefront/src/modules/account/templates/exchange-request-template.tsx +389 -0
- package/templates/storefront/src/modules/account/templates/guest-orders-template.tsx +123 -0
- package/templates/storefront/src/modules/account/templates/login-template.tsx +44 -0
- package/templates/storefront/src/modules/account/templates/payment-methods-template.tsx +478 -0
- package/templates/storefront/src/modules/account/templates/return-request-template.tsx +300 -0
- package/templates/storefront/src/modules/cart/components/abandoned-carts/ScrollToPendingOrdersButton.tsx +21 -0
- package/templates/storefront/src/modules/cart/components/abandoned-carts/index.tsx +335 -0
- package/templates/storefront/src/modules/cart/components/applied-promotions/index.tsx +121 -0
- package/templates/storefront/src/modules/cart/components/cart-delivery-selection/index.tsx +203 -0
- package/templates/storefront/src/modules/cart/components/cart-item-card/index.tsx +476 -0
- package/templates/storefront/src/modules/cart/components/cart-item-select/index.tsx +73 -0
- package/templates/storefront/src/modules/cart/components/cart-view-tracker/index.tsx +44 -0
- package/templates/storefront/src/modules/cart/components/delivery-information/index.tsx +89 -0
- package/templates/storefront/src/modules/cart/components/empty-cart-message/index.tsx +38 -0
- package/templates/storefront/src/modules/cart/components/item/index.tsx +150 -0
- package/templates/storefront/src/modules/cart/components/pincode-checker/index.tsx +174 -0
- package/templates/storefront/src/modules/cart/components/sign-in-prompt/index.tsx +26 -0
- package/templates/storefront/src/modules/cart/components/you-may-also-like/index.tsx +137 -0
- package/templates/storefront/src/modules/cart/templates/index.tsx +88 -0
- package/templates/storefront/src/modules/cart/templates/items.tsx +49 -0
- package/templates/storefront/src/modules/cart/templates/preview.tsx +51 -0
- package/templates/storefront/src/modules/cart/templates/summary.tsx +29 -0
- package/templates/storefront/src/modules/checkout/components/add-address-modal/index.tsx +390 -0
- package/templates/storefront/src/modules/checkout/components/address-card/index.tsx +135 -0
- package/templates/storefront/src/modules/checkout/components/address-select/index.tsx +116 -0
- package/templates/storefront/src/modules/checkout/components/addresses/index.tsx +605 -0
- package/templates/storefront/src/modules/checkout/components/back-link/index.tsx +32 -0
- package/templates/storefront/src/modules/checkout/components/billing_address/index.tsx +301 -0
- package/templates/storefront/src/modules/checkout/components/checkout-begin-tracker/index.tsx +45 -0
- package/templates/storefront/src/modules/checkout/components/checkout-leave-guard/index.tsx +109 -0
- package/templates/storefront/src/modules/checkout/components/checkout-shipping-tracker/index.tsx +45 -0
- package/templates/storefront/src/modules/checkout/components/country-select/index.tsx +50 -0
- package/templates/storefront/src/modules/checkout/components/discount-code/index.tsx +220 -0
- package/templates/storefront/src/modules/checkout/components/error-message/index.tsx +13 -0
- package/templates/storefront/src/modules/checkout/components/payment/index.tsx +572 -0
- package/templates/storefront/src/modules/checkout/components/payment-button/index.tsx +257 -0
- package/templates/storefront/src/modules/checkout/components/payment-button/razorpay-payment-button.tsx +136 -0
- package/templates/storefront/src/modules/checkout/components/payment-container/index.tsx +129 -0
- package/templates/storefront/src/modules/checkout/components/payment-test/index.tsx +12 -0
- package/templates/storefront/src/modules/checkout/components/payment-wrapper/index.tsx +50 -0
- package/templates/storefront/src/modules/checkout/components/payment-wrapper/stripe-wrapper.tsx +54 -0
- package/templates/storefront/src/modules/checkout/components/processing-overlay/index.tsx +83 -0
- package/templates/storefront/src/modules/checkout/components/review/index.tsx +60 -0
- package/templates/storefront/src/modules/checkout/components/select-address-modal/index.tsx +103 -0
- package/templates/storefront/src/modules/checkout/components/shipping/index.tsx +533 -0
- package/templates/storefront/src/modules/checkout/components/shipping-address/index.tsx +521 -0
- package/templates/storefront/src/modules/checkout/components/submit-button/index.tsx +32 -0
- package/templates/storefront/src/modules/checkout/templates/checkout-form/index.tsx +38 -0
- package/templates/storefront/src/modules/checkout/templates/checkout-summary/index.tsx +274 -0
- package/templates/storefront/src/modules/common/components/breadcrumb/index.tsx +43 -0
- package/templates/storefront/src/modules/common/components/cart-totals/index.tsx +473 -0
- package/templates/storefront/src/modules/common/components/checkbox/index.tsx +98 -0
- package/templates/storefront/src/modules/common/components/delete-button/index.tsx +156 -0
- package/templates/storefront/src/modules/common/components/divider/index.tsx +9 -0
- package/templates/storefront/src/modules/common/components/filter-checkbox-group/index.tsx +134 -0
- package/templates/storefront/src/modules/common/components/filter-radio-group/index.tsx +62 -0
- package/templates/storefront/src/modules/common/components/input/index.tsx +79 -0
- package/templates/storefront/src/modules/common/components/interactive-link/index.tsx +33 -0
- package/templates/storefront/src/modules/common/components/line-item-options/index.tsx +26 -0
- package/templates/storefront/src/modules/common/components/line-item-price/index.tsx +64 -0
- package/templates/storefront/src/modules/common/components/line-item-unit-price/index.tsx +61 -0
- package/templates/storefront/src/modules/common/components/localized-client-link/index.tsx +32 -0
- package/templates/storefront/src/modules/common/components/login-popup/index.tsx +78 -0
- package/templates/storefront/src/modules/common/components/modal/index.tsx +123 -0
- package/templates/storefront/src/modules/common/components/native-select/index.tsx +75 -0
- package/templates/storefront/src/modules/common/components/obfuscated-email/index.tsx +30 -0
- package/templates/storefront/src/modules/common/components/product/product-rating/index.tsx +172 -0
- package/templates/storefront/src/modules/common/components/product/review-modal/index.tsx +333 -0
- package/templates/storefront/src/modules/common/components/product/share-button/index.tsx +227 -0
- package/templates/storefront/src/modules/common/components/product/wishlist-icon/index.tsx +46 -0
- package/templates/storefront/src/modules/common/components/radio/index.tsx +27 -0
- package/templates/storefront/src/modules/common/components/select/index.tsx +164 -0
- package/templates/storefront/src/modules/common/components/side-panel/index.tsx +65 -0
- package/templates/storefront/src/modules/common/icons/arrow-left.tsx +36 -0
- package/templates/storefront/src/modules/common/icons/back.tsx +37 -0
- package/templates/storefront/src/modules/common/icons/bancontact.tsx +26 -0
- package/templates/storefront/src/modules/common/icons/chevron-down.tsx +30 -0
- package/templates/storefront/src/modules/common/icons/delivered.tsx +29 -0
- package/templates/storefront/src/modules/common/icons/envelope.tsx +27 -0
- package/templates/storefront/src/modules/common/icons/eye-off.tsx +37 -0
- package/templates/storefront/src/modules/common/icons/eye.tsx +37 -0
- package/templates/storefront/src/modules/common/icons/fast-delivery.tsx +65 -0
- package/templates/storefront/src/modules/common/icons/ideal.tsx +26 -0
- package/templates/storefront/src/modules/common/icons/lock.tsx +31 -0
- package/templates/storefront/src/modules/common/icons/map-pin.tsx +37 -0
- package/templates/storefront/src/modules/common/icons/medusa.tsx +27 -0
- package/templates/storefront/src/modules/common/icons/menu.tsx +45 -0
- package/templates/storefront/src/modules/common/icons/nextjs.tsx +27 -0
- package/templates/storefront/src/modules/common/icons/package.tsx +44 -0
- package/templates/storefront/src/modules/common/icons/paypal.tsx +30 -0
- package/templates/storefront/src/modules/common/icons/phone.tsx +30 -0
- package/templates/storefront/src/modules/common/icons/placeholder-image.tsx +44 -0
- package/templates/storefront/src/modules/common/icons/refresh.tsx +51 -0
- package/templates/storefront/src/modules/common/icons/spinner.tsx +37 -0
- package/templates/storefront/src/modules/common/icons/trash.tsx +51 -0
- package/templates/storefront/src/modules/common/icons/user.tsx +37 -0
- package/templates/storefront/src/modules/common/icons/x.tsx +37 -0
- package/templates/storefront/src/modules/contact/templates/index.tsx +272 -0
- package/templates/storefront/src/modules/help/templates/index.tsx +629 -0
- package/templates/storefront/src/modules/home/components/dynamic-banner/index.tsx +190 -0
- package/templates/storefront/src/modules/home/components/featured-products/index.tsx +16 -0
- package/templates/storefront/src/modules/home/components/featured-products/product-rail/index.tsx +51 -0
- package/templates/storefront/src/modules/home/components/features/index.tsx +1 -0
- package/templates/storefront/src/modules/home/components/hero/index.tsx +1 -0
- package/templates/storefront/src/modules/home/components/loved-by-moms/index.tsx +1 -0
- package/templates/storefront/src/modules/home/components/new-arrivals/index.tsx +1 -0
- package/templates/storefront/src/modules/home/components/shop-by-age/index.tsx +1 -0
- package/templates/storefront/src/modules/home/components/shop-by-category/index.tsx +1 -0
- package/templates/storefront/src/modules/home/components/testimonials/index.tsx +1 -0
- package/templates/storefront/src/modules/home/components/why-choose-us/dynamic-features.tsx +93 -0
- package/templates/storefront/src/modules/home/components/why-choose-us/index.tsx +1 -0
- package/templates/storefront/src/modules/layout/components/account-dropdown/index.tsx +56 -0
- package/templates/storefront/src/modules/layout/components/cart-button/index.tsx +8 -0
- package/templates/storefront/src/modules/layout/components/cart-dropdown/index.tsx +424 -0
- package/templates/storefront/src/modules/layout/components/cart-mismatch-banner/index.tsx +57 -0
- package/templates/storefront/src/modules/layout/components/cookie-consent/index.tsx +116 -0
- package/templates/storefront/src/modules/layout/components/country-select/index.tsx +135 -0
- package/templates/storefront/src/modules/layout/components/desktop-search/index.tsx +148 -0
- package/templates/storefront/src/modules/layout/components/dynamic-logo/index.tsx +27 -0
- package/templates/storefront/src/modules/layout/components/footer-categories/index.tsx +34 -0
- package/templates/storefront/src/modules/layout/components/footer-contact/index.tsx +87 -0
- package/templates/storefront/src/modules/layout/components/footer-description/index.tsx +12 -0
- package/templates/storefront/src/modules/layout/components/footer-logo/index.tsx +22 -0
- package/templates/storefront/src/modules/layout/components/footer-newsletter/index.tsx +100 -0
- package/templates/storefront/src/modules/layout/components/language-select/index.tsx +192 -0
- package/templates/storefront/src/modules/layout/components/medusa-cta/index.tsx +21 -0
- package/templates/storefront/src/modules/layout/components/mobile-menu/index.tsx +296 -0
- package/templates/storefront/src/modules/layout/components/nav-links/index.tsx +66 -0
- package/templates/storefront/src/modules/layout/components/nav-wrapper/index.tsx +14 -0
- package/templates/storefront/src/modules/layout/components/promo-bar/index.tsx +7 -0
- package/templates/storefront/src/modules/layout/components/promo-bar/promo-bar-content.tsx +174 -0
- package/templates/storefront/src/modules/layout/components/push-notification-manager/index.tsx +191 -0
- package/templates/storefront/src/modules/layout/components/search-panel/index.tsx +136 -0
- package/templates/storefront/src/modules/layout/components/side-menu/index.tsx +144 -0
- package/templates/storefront/src/modules/layout/components/verification-banner/index.tsx +217 -0
- package/templates/storefront/src/modules/layout/components/wishlist-counter/index.tsx +17 -0
- package/templates/storefront/src/modules/layout/templates/footer/index.tsx +7 -0
- package/templates/storefront/src/modules/layout/templates/nav/index.tsx +14 -0
- package/templates/storefront/src/modules/order/components/cancel-order-modal/index.tsx +168 -0
- package/templates/storefront/src/modules/order/components/help/index.tsx +25 -0
- package/templates/storefront/src/modules/order/components/item/index.tsx +62 -0
- package/templates/storefront/src/modules/order/components/items/index.tsx +44 -0
- package/templates/storefront/src/modules/order/components/onboarding-cta/index.tsx +28 -0
- package/templates/storefront/src/modules/order/components/order-confirmation-back-handler/index.tsx +28 -0
- package/templates/storefront/src/modules/order/components/order-details/index.tsx +63 -0
- package/templates/storefront/src/modules/order/components/order-purchase-tracker/index.tsx +48 -0
- package/templates/storefront/src/modules/order/components/order-redesign/index.tsx +887 -0
- package/templates/storefront/src/modules/order/components/order-summary/index.tsx +60 -0
- package/templates/storefront/src/modules/order/components/payment-details/index.tsx +63 -0
- package/templates/storefront/src/modules/order/components/shipping-details/index.tsx +73 -0
- package/templates/storefront/src/modules/order/components/transfer-actions/index.tsx +81 -0
- package/templates/storefront/src/modules/order/components/transfer-image/index.tsx +275 -0
- package/templates/storefront/src/modules/order/templates/order-completed-template.tsx +233 -0
- package/templates/storefront/src/modules/order/templates/order-details-template.tsx +128 -0
- package/templates/storefront/src/modules/products/components/image-gallery/index.tsx +297 -0
- package/templates/storefront/src/modules/products/components/product-actions/index.tsx +1400 -0
- package/templates/storefront/src/modules/products/components/product-actions/mobile-actions.tsx +217 -0
- package/templates/storefront/src/modules/products/components/product-actions/option-select.tsx +62 -0
- package/templates/storefront/src/modules/products/components/product-onboarding-cta/index.tsx +30 -0
- package/templates/storefront/src/modules/products/components/product-preview/index.tsx +5 -0
- package/templates/storefront/src/modules/products/components/product-preview/price.tsx +29 -0
- package/templates/storefront/src/modules/products/components/product-price/index.tsx +58 -0
- package/templates/storefront/src/modules/products/components/product-rating/index.tsx +1 -0
- package/templates/storefront/src/modules/products/components/product-tabs/accordion.tsx +100 -0
- package/templates/storefront/src/modules/products/components/product-tabs/index.tsx +127 -0
- package/templates/storefront/src/modules/products/components/product-tabs/ratings-tab.tsx +598 -0
- package/templates/storefront/src/modules/products/components/product-view-tracker/index.tsx +53 -0
- package/templates/storefront/src/modules/products/components/related-products/index.tsx +152 -0
- package/templates/storefront/src/modules/products/components/review-modal/index.tsx +1 -0
- package/templates/storefront/src/modules/products/components/share-button/index.tsx +1 -0
- package/templates/storefront/src/modules/products/components/thumbnail/index.tsx +91 -0
- package/templates/storefront/src/modules/products/components/wishlist-icon/index.tsx +1 -0
- package/templates/storefront/src/modules/products/context/product-context.tsx +52 -0
- package/templates/storefront/src/modules/products/templates/index.tsx +26 -0
- package/templates/storefront/src/modules/products/templates/product-actions-wrapper/index.tsx +1 -0
- package/templates/storefront/src/modules/products/templates/product-info/index.tsx +2 -0
- package/templates/storefront/src/modules/shipping/components/free-shipping-price-nudge/index.tsx +283 -0
- package/templates/storefront/src/modules/skeletons/components/skeleton-button/index.tsx +5 -0
- package/templates/storefront/src/modules/skeletons/components/skeleton-card-details/index.tsx +10 -0
- package/templates/storefront/src/modules/skeletons/components/skeleton-cart-item/index.tsx +35 -0
- package/templates/storefront/src/modules/skeletons/components/skeleton-cart-totals/index.tsx +30 -0
- package/templates/storefront/src/modules/skeletons/components/skeleton-code-form/index.tsx +13 -0
- package/templates/storefront/src/modules/skeletons/components/skeleton-line-item/index.tsx +35 -0
- package/templates/storefront/src/modules/skeletons/components/skeleton-order-confirmed-header/index.tsx +14 -0
- package/templates/storefront/src/modules/skeletons/components/skeleton-order-information/index.tsx +36 -0
- package/templates/storefront/src/modules/skeletons/components/skeleton-order-items/index.tsx +43 -0
- package/templates/storefront/src/modules/skeletons/components/skeleton-order-summary/index.tsx +15 -0
- package/templates/storefront/src/modules/skeletons/components/skeleton-product-preview/index.tsx +15 -0
- package/templates/storefront/src/modules/skeletons/templates/skeleton-cart-page/index.tsx +65 -0
- package/templates/storefront/src/modules/skeletons/templates/skeleton-order-confirmed/index.tsx +21 -0
- package/templates/storefront/src/modules/skeletons/templates/skeleton-product-grid/index.tsx +23 -0
- package/templates/storefront/src/modules/skeletons/templates/skeleton-related-products/index.tsx +25 -0
- package/templates/storefront/src/modules/store/components/client-paginated-products.tsx +108 -0
- package/templates/storefront/src/modules/store/components/mobile-filters/index.tsx +135 -0
- package/templates/storefront/src/modules/store/components/pagination/index.tsx +118 -0
- package/templates/storefront/src/modules/store/components/product-list-view-tracker/index.tsx +43 -0
- package/templates/storefront/src/modules/store/components/refinement-list/index.tsx +299 -0
- package/templates/storefront/src/modules/store/components/refinement-list/sort-products/index.tsx +120 -0
- package/templates/storefront/src/modules/store/components/store-header/index.tsx +67 -0
- package/templates/storefront/src/modules/store/templates/index.tsx +1 -0
- package/templates/storefront/src/modules/store/templates/paginated-products.tsx +175 -0
- package/templates/storefront/src/modules/wishlist/components/wishlist-item/index.tsx +797 -0
- package/templates/storefront/src/modules/wishlist/templates/index.tsx +176 -0
- package/templates/storefront/src/storefront.config.ts +12 -0
- package/templates/storefront/src/styles/globals.css +326 -0
- package/templates/storefront/src/theme/valero/blocks/home/Features/index.tsx +61 -0
- package/templates/storefront/src/theme/valero/blocks/home/Hero/index.tsx +102 -0
- package/templates/storefront/src/theme/valero/blocks/home/LovedByMoms/index.tsx +407 -0
- package/templates/storefront/src/theme/valero/blocks/home/NewArrivals/index.tsx +48 -0
- package/templates/storefront/src/theme/valero/blocks/home/ShopByAge/index.tsx +128 -0
- package/templates/storefront/src/theme/valero/blocks/home/ShopByCategory/index.tsx +409 -0
- package/templates/storefront/src/theme/valero/blocks/home/Testimonials/index.tsx +697 -0
- package/templates/storefront/src/theme/valero/blocks/home/WhyChooseUs/index.tsx +62 -0
- package/templates/storefront/src/theme/valero/layouts/MainLayoutShell.tsx +14 -0
- package/templates/storefront/src/theme/valero/primitives/Button.tsx +28 -0
- package/templates/storefront/src/theme/valero/primitives/Card.tsx +32 -0
- package/templates/storefront/src/theme/valero/primitives/index.ts +2 -0
- package/templates/storefront/src/theme/valero/slots/account/ForgotPassword/index.tsx +1 -0
- package/templates/storefront/src/theme/valero/slots/account/Login/index.tsx +1 -0
- package/templates/storefront/src/theme/valero/slots/account/LoginTemplate/index.tsx +44 -0
- package/templates/storefront/src/theme/valero/slots/account/Register/index.tsx +1 -0
- package/templates/storefront/src/theme/valero/slots/cart/CartItem/index.tsx +11 -0
- package/templates/storefront/src/theme/valero/slots/cart/CartSummary/index.tsx +13 -0
- package/templates/storefront/src/theme/valero/slots/checkout/CheckoutForm/index.tsx +1 -0
- package/templates/storefront/src/theme/valero/slots/checkout/CheckoutSummary/index.tsx +1 -0
- package/templates/storefront/src/theme/valero/slots/layout/Footer/index.tsx +104 -0
- package/templates/storefront/src/theme/valero/slots/layout/Nav/index.tsx +97 -0
- package/templates/storefront/src/theme/valero/slots/layout/PromoBar/index.tsx +19 -0
- package/templates/storefront/src/theme/valero/slots/layout/PromoBar/promo-bar-content.tsx +174 -0
- package/templates/storefront/src/theme/valero/slots/order/OrderDetails/index.tsx +12 -0
- package/templates/storefront/src/theme/valero/slots/product/ProductActions/ProductCTASection.tsx +191 -0
- package/templates/storefront/src/theme/valero/slots/product/ProductActions/ProductDetailsSection.tsx +137 -0
- package/templates/storefront/src/theme/valero/slots/product/ProductActions/ProductFeaturePanel.tsx +245 -0
- package/templates/storefront/src/theme/valero/slots/product/ProductActions/ProductHighlightsSection.tsx +98 -0
- package/templates/storefront/src/theme/valero/slots/product/ProductActions/ProductOptionsSection.tsx +233 -0
- package/templates/storefront/src/theme/valero/slots/product/ProductActions/ProductPriceSection.tsx +53 -0
- package/templates/storefront/src/theme/valero/slots/product/ProductActions/ProductTrustSection.tsx +84 -0
- package/templates/storefront/src/theme/valero/slots/product/ProductActions/index.tsx +161 -0
- package/templates/storefront/src/theme/valero/slots/product/ProductCard/index.tsx +132 -0
- package/templates/storefront/src/theme/valero/slots/product/ProductInfo/index.tsx +40 -0
- package/templates/storefront/src/theme/valero/templates/StorePage/index.tsx +154 -0
- package/templates/storefront/src/theme/valero/tokens/colors.js +16 -0
- package/templates/storefront/src/theme/valero/tokens/colors.ts +21 -0
- package/templates/storefront/src/theme/valero/tokens/fonts.ts +13 -0
- package/templates/storefront/src/theme/valero/tokens/index.ts +3 -0
- package/templates/storefront/src/theme/valero/tokens/spacing.ts +9 -0
- package/templates/storefront/src/theme/valero/tokens/theme.css +91 -0
- package/templates/storefront/tailwind.config.js +221 -0
- package/templates/storefront/tsconfig.json +30 -0
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import { useState } from "react"
|
|
4
|
+
import Image from "next/image"
|
|
5
|
+
import { submitContactRequest } from "@core/data/contact"
|
|
6
|
+
import ObfuscatedEmail from "@modules/common/components/obfuscated-email"
|
|
7
|
+
import { clx } from "@medusajs/ui"
|
|
8
|
+
|
|
9
|
+
interface ContactDetails {
|
|
10
|
+
phone: string
|
|
11
|
+
email: string
|
|
12
|
+
address: string
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface ContactTemplateProps {
|
|
16
|
+
countryCode: string
|
|
17
|
+
contactInfo?: ContactDetails | null
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const ContactTemplate = ({ countryCode, contactInfo }: ContactTemplateProps) => {
|
|
21
|
+
const [contactDetails, setContactDetails] = useState<ContactDetails>({
|
|
22
|
+
phone: contactInfo?.phone || "+91 1234567890",
|
|
23
|
+
email: contactInfo?.email || "info@gmail.com",
|
|
24
|
+
address: contactInfo?.address || "1234 Main Street, San-Diego, Fransisco, CA 94520",
|
|
25
|
+
})
|
|
26
|
+
|
|
27
|
+
const [formData, setFormData] = useState({
|
|
28
|
+
name: "",
|
|
29
|
+
email: "",
|
|
30
|
+
topic: "",
|
|
31
|
+
message: "",
|
|
32
|
+
})
|
|
33
|
+
const [isSubmitting, setIsSubmitting] = useState(false)
|
|
34
|
+
const [submitSuccess, setSubmitSuccess] = useState(false)
|
|
35
|
+
const [submitError, setSubmitError] = useState<string | null>(null)
|
|
36
|
+
|
|
37
|
+
const handleFormChange = (
|
|
38
|
+
e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>
|
|
39
|
+
) => {
|
|
40
|
+
const { name, value } = e.target
|
|
41
|
+
setFormData((prev) => ({
|
|
42
|
+
...prev,
|
|
43
|
+
[name]: value,
|
|
44
|
+
}))
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
const handleFormSubmit = async (e: React.FormEvent) => {
|
|
48
|
+
e.preventDefault()
|
|
49
|
+
setIsSubmitting(true)
|
|
50
|
+
setSubmitSuccess(false)
|
|
51
|
+
setSubmitError(null)
|
|
52
|
+
|
|
53
|
+
try {
|
|
54
|
+
const result = await submitContactRequest({
|
|
55
|
+
email: formData.email,
|
|
56
|
+
payload: {
|
|
57
|
+
full_name: formData.name,
|
|
58
|
+
topic: formData.topic || "general_inquiry",
|
|
59
|
+
message: formData.message,
|
|
60
|
+
},
|
|
61
|
+
metadata: {
|
|
62
|
+
source_page: "contact",
|
|
63
|
+
},
|
|
64
|
+
source: "storefront",
|
|
65
|
+
})
|
|
66
|
+
|
|
67
|
+
if (result.success) {
|
|
68
|
+
if (typeof window !== "undefined") {
|
|
69
|
+
;(window as any).dataLayer = (window as any).dataLayer || []
|
|
70
|
+
;(window as any).dataLayer.push({
|
|
71
|
+
event: "form_submit",
|
|
72
|
+
form_type: "contact_us_form",
|
|
73
|
+
})
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
setSubmitSuccess(true)
|
|
77
|
+
setFormData({ name: "", email: "", topic: "", message: "" })
|
|
78
|
+
setTimeout(() => {
|
|
79
|
+
setSubmitSuccess(false)
|
|
80
|
+
}, 5000)
|
|
81
|
+
} else {
|
|
82
|
+
setSubmitError(result.error || "Failed to submit contact request. Please try again.")
|
|
83
|
+
}
|
|
84
|
+
} catch {
|
|
85
|
+
setSubmitError("Something went wrong. Please try again.")
|
|
86
|
+
} finally {
|
|
87
|
+
setIsSubmitting(false)
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const inputClass =
|
|
92
|
+
"w-full min-[340px]:w-full min-[768px]:w-[660px] min-[1023px]:w-full px-2.5 min-[340px]:px-3 min-[550px]:px-4 py-1.5 min-[340px]:py-2 min-[550px]:py-2.5 sm:py-3 account-input rounded-xl text-[11px] min-[340px]:text-xs min-[550px]:text-sm sm:text-base"
|
|
93
|
+
|
|
94
|
+
return (
|
|
95
|
+
<div className="page-surface">
|
|
96
|
+
<div className="w-full max-w-[1360px] mx-auto px-2 min-[340px]:px-3 min-[550px]:px-4 sm:px-6 md:px-8 min-[768px]:px-6 min-[1023px]:px-6 min-[1150px]:px-8 min-[1280px]:px-10 min-[1360px]:px-12 pt-16 min-[340px]:pt-20 min-[550px]:pt-20 sm:pt-20 md:pt-20 min-[768px]:pt-20 min-[1023px]:pt-4 min-[1150px]:pt-5 min-[1280px]:pt-5 min-[1360px]:pt-6 pb-6 min-[340px]:pb-8 min-[550px]:pb-12 sm:pb-16 md:pb-16 min-[768px]:pb-16 min-[1023px]:pb-16 min-[1150px]:pb-[72px] min-[1280px]:pb-20 min-[1360px]:pb-20">
|
|
97
|
+
<div className="grid grid-cols-1 min-[1023px]:grid-cols-2 gap-4 min-[340px]:gap-5 min-[550px]:gap-8 sm:gap-10 md:gap-12 min-[1023px]:gap-10 min-[1150px]:gap-12 min-[1280px]:gap-14 min-[1360px]:gap-16 mb-8 min-[340px]:mb-10 min-[550px]:mb-16 sm:mb-20 min-[1023px]:mb-20 min-[1150px]:mb-[88px] min-[1280px]:mb-24 min-[1360px]:mb-24 items-center min-[1023px]:items-center">
|
|
98
|
+
<div className="flex flex-col justify-start items-start text-left mt-0 min-[340px]:mt-0 min-[550px]:mt-0 sm:mt-0 md:mt-0 min-[768px]:mt-0 min-[1023px]:-mt-14 min-[1150px]:-mt-14 min-[1280px]:-mt-14 min-[1360px]:-mt-14">
|
|
99
|
+
<p className="text-[10px] min-[340px]:text-xs min-[550px]:text-sm font-semibold uppercase tracking-wider mb-1.5 min-[340px]:mb-2 min-[550px]:mb-3 sm:mb-4 text-left text-brand-accent">
|
|
100
|
+
CONTACT US
|
|
101
|
+
</p>
|
|
102
|
+
<h1 className="text-lg min-[340px]:text-xl min-[550px]:text-2xl sm:text-3xl md:text-4xl min-[1023px]:text-3xl min-[1150px]:text-4xl min-[1280px]:text-4xl min-[1360px]:text-5xl font-bold mb-2 min-[340px]:mb-3 min-[550px]:mb-4 sm:mb-5 md:mb-6 min-[1023px]:mb-5 min-[1150px]:mb-6 min-[1280px]:mb-6 min-[1360px]:mb-7 leading-tight text-left text-heading">
|
|
103
|
+
Ask us. We're Here to Help You!
|
|
104
|
+
</h1>
|
|
105
|
+
<p className="text-[11px] min-[340px]:text-xs min-[550px]:text-sm min-[1023px]:text-sm min-[1150px]:text-base min-[1280px]:text-base min-[1360px]:text-lg leading-relaxed text-left whitespace-normal text-body">
|
|
106
|
+
Get in touch with us through our Contact Us page for personalized assistance. From answering your queries to addressing concerns, our dedicated team is here to lend a helping hand. Whether you're seeking product information or need support, we're committed to providing prompt and reliable solutions. Your satisfaction is our priority, and we're just a message away from making your experience with us even better. Reach out now and let us guide you towards a seamless and enjoyable journey with our services.
|
|
107
|
+
</p>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<div className="min-[1023px]:mt-0">
|
|
111
|
+
<div className="account-panel rounded-[30px] p-3 min-[340px]:p-4 min-[550px]:p-6 sm:p-8 min-[1023px]:p-8 min-[1150px]:p-9 min-[1280px]:p-10 min-[1360px]:p-12">
|
|
112
|
+
<form onSubmit={handleFormSubmit} className="space-y-3 min-[340px]:space-y-4 min-[550px]:space-y-5 sm:space-y-6">
|
|
113
|
+
<div className="flex flex-col items-center min-[768px]:items-center min-[1023px]:items-start">
|
|
114
|
+
<label htmlFor="name" className="block w-full min-[340px]:w-full min-[768px]:w-[660px] min-[1023px]:w-full text-[11px] min-[340px]:text-xs min-[550px]:text-sm font-medium text-body mb-1 min-[340px]:mb-1.5 min-[550px]:mb-2 text-left">
|
|
115
|
+
Name
|
|
116
|
+
</label>
|
|
117
|
+
<input
|
|
118
|
+
type="text"
|
|
119
|
+
id="name"
|
|
120
|
+
name="name"
|
|
121
|
+
value={formData.name}
|
|
122
|
+
onChange={handleFormChange}
|
|
123
|
+
required
|
|
124
|
+
className={inputClass}
|
|
125
|
+
placeholder="Enter your name"
|
|
126
|
+
/>
|
|
127
|
+
</div>
|
|
128
|
+
|
|
129
|
+
<div className="flex flex-col items-center min-[768px]:items-center min-[1023px]:items-start">
|
|
130
|
+
<label htmlFor="email" className="block w-full min-[340px]:w-full min-[768px]:w-[660px] min-[1023px]:w-full text-[11px] min-[340px]:text-xs min-[550px]:text-sm font-medium text-body mb-1 min-[340px]:mb-1.5 min-[550px]:mb-2 text-left">
|
|
131
|
+
Email Address
|
|
132
|
+
</label>
|
|
133
|
+
<input
|
|
134
|
+
type="email"
|
|
135
|
+
id="email"
|
|
136
|
+
name="email"
|
|
137
|
+
value={formData.email}
|
|
138
|
+
onChange={handleFormChange}
|
|
139
|
+
required
|
|
140
|
+
className={inputClass}
|
|
141
|
+
placeholder="Enter your email address"
|
|
142
|
+
/>
|
|
143
|
+
</div>
|
|
144
|
+
|
|
145
|
+
<div className="flex flex-col items-center min-[768px]:items-center min-[1023px]:items-start">
|
|
146
|
+
<label htmlFor="topic" className="block w-full min-[340px]:w-full min-[768px]:w-[660px] min-[1023px]:w-full text-[11px] min-[340px]:text-xs min-[550px]:text-sm font-medium text-body mb-1 min-[340px]:mb-1.5 min-[550px]:mb-2 text-left">
|
|
147
|
+
Topic
|
|
148
|
+
</label>
|
|
149
|
+
<select
|
|
150
|
+
id="topic"
|
|
151
|
+
name="topic"
|
|
152
|
+
value={formData.topic}
|
|
153
|
+
onChange={handleFormChange}
|
|
154
|
+
required
|
|
155
|
+
className={inputClass}
|
|
156
|
+
>
|
|
157
|
+
<option value="">Select a topic</option>
|
|
158
|
+
<option value="general_inquiry">General inquiry</option>
|
|
159
|
+
<option value="orders_shipping">Orders & shipping</option>
|
|
160
|
+
<option value="styling_events">Styling & events</option>
|
|
161
|
+
<option value="wholesale_gifting">Wholesale & gifting</option>
|
|
162
|
+
</select>
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
<div className="flex flex-col items-center min-[768px]:items-center min-[1023px]:items-start">
|
|
166
|
+
<label htmlFor="message" className="block w-full min-[340px]:w-full min-[768px]:w-[660px] min-[1023px]:w-full text-[11px] min-[340px]:text-xs min-[550px]:text-sm font-medium text-body mb-1 min-[340px]:mb-1.5 min-[550px]:mb-2 text-left">
|
|
167
|
+
Message
|
|
168
|
+
</label>
|
|
169
|
+
<textarea
|
|
170
|
+
id="message"
|
|
171
|
+
name="message"
|
|
172
|
+
value={formData.message}
|
|
173
|
+
onChange={handleFormChange}
|
|
174
|
+
required
|
|
175
|
+
rows={4}
|
|
176
|
+
className={clx(inputClass, "resize-none")}
|
|
177
|
+
placeholder="Enter your message"
|
|
178
|
+
/>
|
|
179
|
+
</div>
|
|
180
|
+
|
|
181
|
+
{submitSuccess && (
|
|
182
|
+
<div className="p-2.5 min-[340px]:p-3 min-[550px]:p-4 bg-green-50 border border-green-200 rounded-xl">
|
|
183
|
+
<p className="text-green-800 text-[11px] min-[340px]:text-xs min-[550px]:text-sm font-medium">
|
|
184
|
+
Thank you for contacting us! We'll get back to you soon.
|
|
185
|
+
</p>
|
|
186
|
+
</div>
|
|
187
|
+
)}
|
|
188
|
+
{submitError && (
|
|
189
|
+
<div className="p-2.5 min-[340px]:p-3 min-[550px]:p-4 bg-red-50 border border-red-200 rounded-xl">
|
|
190
|
+
<p className="text-red-800 text-[11px] min-[340px]:text-xs min-[550px]:text-sm font-medium">{submitError}</p>
|
|
191
|
+
</div>
|
|
192
|
+
)}
|
|
193
|
+
|
|
194
|
+
<div className="flex justify-center min-[768px]:justify-center min-[1023px]:justify-center">
|
|
195
|
+
<button
|
|
196
|
+
type="submit"
|
|
197
|
+
disabled={isSubmitting}
|
|
198
|
+
data-ga-event="contact_form_submit"
|
|
199
|
+
data-ga-label="Contact Us Form"
|
|
200
|
+
className={clx(
|
|
201
|
+
"w-full min-w-[200px] min-[550px]:min-w-[250px] sm:min-w-[300px] py-1.5 min-[340px]:py-2 min-[550px]:py-2.5 px-2.5 min-[340px]:px-3 min-[550px]:px-5 text-[11px] min-[340px]:text-xs min-[550px]:text-sm font-semibold rounded-[30px] transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
|
|
202
|
+
submitSuccess
|
|
203
|
+
? "bg-green-500 text-inverse hover:bg-green-600"
|
|
204
|
+
: "account-btn-primary"
|
|
205
|
+
)}
|
|
206
|
+
>
|
|
207
|
+
<span className="pointer-events-none flex items-center justify-center">
|
|
208
|
+
{isSubmitting ? (
|
|
209
|
+
<span className="flex items-center justify-center gap-2">
|
|
210
|
+
<svg className="animate-spin h-4 w-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
211
|
+
<circle className="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" strokeWidth="4" />
|
|
212
|
+
<path className="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" />
|
|
213
|
+
</svg>
|
|
214
|
+
Submitting...
|
|
215
|
+
</span>
|
|
216
|
+
) : submitSuccess ? (
|
|
217
|
+
<span className="flex items-center justify-center gap-2">
|
|
218
|
+
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
219
|
+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M5 13l4 4L19 7" />
|
|
220
|
+
</svg>
|
|
221
|
+
Submitted!
|
|
222
|
+
</span>
|
|
223
|
+
) : (
|
|
224
|
+
"Submit"
|
|
225
|
+
)}
|
|
226
|
+
</span>
|
|
227
|
+
</button>
|
|
228
|
+
</div>
|
|
229
|
+
</form>
|
|
230
|
+
</div>
|
|
231
|
+
</div>
|
|
232
|
+
</div>
|
|
233
|
+
|
|
234
|
+
<div className="mb-8 min-[340px]:mb-10 min-[550px]:mb-16 sm:mb-20 min-[768px]:mb-20 min-[1023px]:mb-20 min-[1150px]:mb-[88px] min-[1280px]:mb-24 min-[1360px]:mb-24">
|
|
235
|
+
<div className="grid grid-cols-1 min-[768px]:grid-cols-3 gap-4 min-[340px]:gap-5 min-[550px]:gap-8 min-[768px]:gap-8 min-[1023px]:gap-8 min-[1150px]:gap-10 min-[1280px]:gap-12 min-[1360px]:gap-14">
|
|
236
|
+
<div className="flex flex-col items-center text-center px-3 min-[340px]:px-4 min-[550px]:px-6 py-4 min-[340px]:py-5 min-[550px]:py-6 min-[550px]:py-8 min-[768px]:border-r border-[var(--color-border)]">
|
|
237
|
+
<div className="help-icon-circle w-10 h-10 min-[340px]:w-12 min-[340px]:h-12 min-[550px]:w-14 min-[550px]:h-14 sm:w-16 sm:h-16 rounded-full flex items-center justify-center mb-2 min-[340px]:mb-3 min-[550px]:mb-4">
|
|
238
|
+
<Image src="/Phone Number.svg" alt="Phone Number" width={56} height={56} className="w-8 h-8 min-[340px]:w-10 min-[340px]:h-10 min-[550px]:w-12 min-[550px]:h-12 sm:w-14 sm:h-14 object-contain" unoptimized />
|
|
239
|
+
</div>
|
|
240
|
+
<h3 className="text-base min-[340px]:text-lg min-[550px]:text-xl font-bold text-heading mb-1 min-[340px]:mb-1.5 min-[550px]:mb-2">Phone Number</h3>
|
|
241
|
+
<p className="text-muted text-[11px] min-[340px]:text-xs min-[550px]:text-sm mb-1 min-[340px]:mb-1.5 min-[550px]:mb-2">Mon-Sat from 9am to 6pm</p>
|
|
242
|
+
<p className="text-heading font-semibold text-xs min-[340px]:text-sm min-[550px]:text-base">{contactDetails.phone}</p>
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
<div className="flex flex-col items-center text-center px-3 min-[340px]:px-4 min-[550px]:px-6 py-4 min-[340px]:py-5 min-[550px]:py-6 min-[550px]:py-8 min-[768px]:border-r border-[var(--color-border)]">
|
|
246
|
+
<div className="help-icon-circle w-10 h-10 min-[340px]:w-12 min-[340px]:h-12 min-[550px]:w-14 min-[550px]:h-14 sm:w-16 sm:h-16 rounded-full flex items-center justify-center mb-2 min-[340px]:mb-3 min-[550px]:mb-4">
|
|
247
|
+
<Image src="/Our Address.svg" alt="Our Address" width={56} height={56} className="w-8 h-8 min-[340px]:w-10 min-[340px]:h-10 min-[550px]:w-12 min-[550px]:h-12 sm:w-14 sm:h-14 object-contain" unoptimized />
|
|
248
|
+
</div>
|
|
249
|
+
<h3 className="text-base min-[340px]:text-lg min-[550px]:text-xl font-bold text-heading mb-1 min-[340px]:mb-1.5 min-[550px]:mb-2">Our Address</h3>
|
|
250
|
+
<p className="text-muted text-[11px] min-[340px]:text-xs min-[550px]:text-sm mb-1 min-[340px]:mb-1.5 min-[550px]:mb-2">Come say hello at our office locations.</p>
|
|
251
|
+
<p className="text-heading font-semibold text-xs min-[340px]:text-sm min-[550px]:text-base">{contactDetails.address}</p>
|
|
252
|
+
</div>
|
|
253
|
+
|
|
254
|
+
<div className="flex flex-col items-center text-center px-3 min-[340px]:px-4 min-[550px]:px-6 py-4 min-[340px]:py-5 min-[550px]:py-6 min-[550px]:py-8">
|
|
255
|
+
<div className="help-icon-circle w-10 h-10 min-[340px]:w-12 min-[340px]:h-12 min-[550px]:w-14 min-[550px]:h-14 sm:w-16 sm:h-16 rounded-full flex items-center justify-center mb-2 min-[340px]:mb-3 min-[550px]:mb-4">
|
|
256
|
+
<Image src="/Email Address.svg" alt="Email Address" width={56} height={56} className="w-8 h-8 min-[340px]:w-10 min-[340px]:h-10 min-[550px]:w-12 min-[550px]:h-12 sm:w-14 sm:h-14 object-contain" unoptimized />
|
|
257
|
+
</div>
|
|
258
|
+
<h3 className="text-base min-[340px]:text-lg min-[550px]:text-xl font-bold text-heading mb-1 min-[340px]:mb-1.5 min-[550px]:mb-2">Email Address</h3>
|
|
259
|
+
<p className="text-muted text-[11px] min-[340px]:text-xs min-[550px]:text-sm mb-1 min-[340px]:mb-1.5 min-[550px]:mb-2">Drop us an email anytime</p>
|
|
260
|
+
<ObfuscatedEmail
|
|
261
|
+
email={contactDetails.email}
|
|
262
|
+
className="text-heading font-semibold text-xs min-[340px]:text-sm min-[550px]:text-base hover:text-brand-accent transition-colors"
|
|
263
|
+
/>
|
|
264
|
+
</div>
|
|
265
|
+
</div>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
)
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export default ContactTemplate
|