@jetshop/template-trend 6.2.3 → 6.2.5
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/.linaria-cache/packages/template-trend/src/components/Auth/LogInPage.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/Address.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/CustomerType.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/LoginFields.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/SignUpPage.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Auth/UI/Form.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Cart/CartButton.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Cart/CartFlyout.linaria.css +7 -0
- package/.linaria-cache/packages/template-trend/src/components/Cart/CartItem.linaria.css +8 -0
- package/.linaria-cache/packages/template-trend/src/components/Cart/FreeShipping.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/CategoryHeader.linaria.css +8 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/ActiveFilters.linaria.css +6 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Filter.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/FilterDrawer.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/FilterDropdownMenu.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/ActiveCarot.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/FilterButton.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/ListAccordion.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/shared/styles.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/RangeFilters.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/ProductCard.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/ProductGrid.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/ProductGridWindow.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/StandardCategoryPage.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/WindowedCategoryPage.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/ContentPage/ContentPage.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/ContentPage/SubPageNavigation.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/CookieConsent.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Forms/GlobalError.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Forms/Input.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/Forms/InputStatus.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/Forms/Success.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Container.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Content/index.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Footer/Footer.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Footer/SocialLinks.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/Categories/MobileCategories.linaria.css +6 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/CategoryMenu.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/CategoryMenuContainer.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/SubMenuSection.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/SubMenuWrapper.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/ChannelSelector/ChannelSelector.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/ChannelSelector/ChannelSelectorModal.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/ChannelSelector/Selector.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/Header.linaria.css +7 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/Logo.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/LogoSearchBar.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/MobileMenu.linaria.css +6 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/RecommendedChannel/ChannelBanner.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/RecommendedChannel/RecommendedChannelSelector.linaria.css +9 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/SearchBar.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/SearchButton.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/TopNav.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/MaxWidth.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Notifications.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/LoadingPage.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/CustomerNameHeader.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/DeleteAccount.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/MyPages.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/MyPagesSidebar.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/MyPagesStartPage.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/ListOrder.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderDetail/ListDetail.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderDetail/OrderTotals.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderDetail/ShippingPayment.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderListPage.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/ProfileDeliveryAddresses.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/ProfilePage.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/NavigationTree/NavTree.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Newsletter/NewsletterField.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/NotFoundPage.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Pagination/Pagination.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductList/AddToCart.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductList/Favourite.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductList/Favourites.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductList/Product.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/AddToCart/AddToCartForm.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/AddToCart/ProductToast.linaria.css +9 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/Campaigns.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/ConfigurationSelector.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/Images/ImageContainer.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/PackageProduct/IncludedInPackages.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/PackageProduct/PackageProduct.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/PackageProduct/PackageProductItem.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/PriceHistory.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductInfo.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductInfoAccordion.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductPage.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductPageLoadingState.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/RelatedProducts.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/NotifyWhenBack.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/StockOrb.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/StockStatusIndicator.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/WarehouseStock.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/VariantSelector.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/styledComponents.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/CategoryList.linaria.css +7 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchMeta.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchPage.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchResults.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchTerm.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/WindowedSearchResults.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/Row.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageCampaign.linaria.css +7 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageCategories.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageHTMLContent.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageHero.linaria.css +6 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageProductGrid.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/StartPage.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Store/Store.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreList.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreLocator.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreMap.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreMarker.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreSearch.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/UserLocation.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ui/Badge.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ui/Button.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/ui/CloseButton.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ui/Headings.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ui/Spinner.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/fonts/loadFontCss.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/globalStyles.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Breadcrumbs/Breadcrumbs.linaria.css +2 -0
- package/.linaria-cache/packages/ui/Button/Button.linaria.css +2 -0
- package/.linaria-cache/packages/ui/Button/SecondaryButton.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Button/TrendButton.linaria.css +1 -0
- package/.linaria-cache/packages/ui/ChannelSelector/ChannelSelector.linaria.css +3 -0
- package/.linaria-cache/packages/ui/ChannelSelector/ChannelSelectorButtons.linaria.css +2 -0
- package/.linaria-cache/packages/ui/ChannelSelector/LargeSelector.linaria.css +1 -0
- package/.linaria-cache/packages/ui/ChannelSelector/MiniSelector.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Checkbox/Checkbox.linaria.css +4 -0
- package/.linaria-cache/packages/ui/Checkbox/CheckboxGroup.linaria.css +3 -0
- package/.linaria-cache/packages/ui/DropdownMenu/DropdownMenu.linaria.css +2 -0
- package/.linaria-cache/packages/ui/ErrorBoundary/Generic.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Gallery/Gallery.linaria.css +2 -0
- package/.linaria-cache/packages/ui/JetshopText.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Loading/LoadingBar.linaria.css +2 -0
- package/.linaria-cache/packages/ui/Modal/Drawer/Drawer.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Modal/ModalProvider.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Modal/ModalRoot.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Pagination/Pagination.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Pagination/usePagination.linaria.css +1 -0
- package/.linaria-cache/packages/ui/PreOrderDateSelector/PreOrderDateSelector.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Price/Price.linaria.css +4 -0
- package/.linaria-cache/packages/ui/ProductList/Badges.linaria.css +7 -0
- package/.linaria-cache/packages/ui/ProductSpecifications/ProductSpecifications.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Search/SearchField.linaria.css +5 -0
- package/.linaria-cache/packages/ui/Search/SearchPage/SearchMeta.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Select/Components.linaria.css +10 -0
- package/.linaria-cache/packages/ui/Theme/sanitizeCss.linaria.css +1 -0
- package/package.json +5 -5
- package/schema.graphql +5 -0
- package/dist/src/client.js +0 -6
- package/dist/src/client.js.map +0 -1
- package/dist/src/components/Auth/ForgotPassword.js +0 -30
- package/dist/src/components/Auth/ForgotPassword.js.map +0 -1
- package/dist/src/components/Auth/ForgotPassword.loadable.js +0 -7
- package/dist/src/components/Auth/ForgotPassword.loadable.js.map +0 -1
- package/dist/src/components/Auth/LogInPage.js +0 -69
- package/dist/src/components/Auth/LogInPage.js.map +0 -1
- package/dist/src/components/Auth/LogInPage.loadable.js +0 -7
- package/dist/src/components/Auth/LogInPage.loadable.js.map +0 -1
- package/dist/src/components/Auth/ResetPassword.js +0 -30
- package/dist/src/components/Auth/ResetPassword.js.map +0 -1
- package/dist/src/components/Auth/ResetPassword.loadable.js +0 -7
- package/dist/src/components/Auth/ResetPassword.loadable.js.map +0 -1
- package/dist/src/components/Auth/Signup/Address.js +0 -34
- package/dist/src/components/Auth/Signup/Address.js.map +0 -1
- package/dist/src/components/Auth/Signup/CustomerType.js +0 -30
- package/dist/src/components/Auth/Signup/CustomerType.js.map +0 -1
- package/dist/src/components/Auth/Signup/LoginFields.js +0 -31
- package/dist/src/components/Auth/Signup/LoginFields.js.map +0 -1
- package/dist/src/components/Auth/Signup/PID.js +0 -11
- package/dist/src/components/Auth/Signup/PID.js.map +0 -1
- package/dist/src/components/Auth/Signup/SSN.js +0 -29
- package/dist/src/components/Auth/Signup/SSN.js.map +0 -1
- package/dist/src/components/Auth/Signup/SignUpPage.js +0 -78
- package/dist/src/components/Auth/Signup/SignUpPage.js.map +0 -1
- package/dist/src/components/Auth/Signup/SignUpPage.loadable.js +0 -7
- package/dist/src/components/Auth/Signup/SignUpPage.loadable.js.map +0 -1
- package/dist/src/components/Auth/Signup/useSignupValidation.js +0 -29
- package/dist/src/components/Auth/Signup/useSignupValidation.js.map +0 -1
- package/dist/src/components/Auth/UI/Form.js +0 -33
- package/dist/src/components/Auth/UI/Form.js.map +0 -1
- package/dist/src/components/Cart/CartButton.js +0 -46
- package/dist/src/components/Cart/CartButton.js.map +0 -1
- package/dist/src/components/Cart/CartFlyout.js +0 -190
- package/dist/src/components/Cart/CartFlyout.js.map +0 -1
- package/dist/src/components/Cart/CartItem.js +0 -155
- package/dist/src/components/Cart/CartItem.js.map +0 -1
- package/dist/src/components/Cart/FreeShipping.js +0 -51
- package/dist/src/components/Cart/FreeShipping.js.map +0 -1
- package/dist/src/components/CategoryPage/CategoryHeader.js +0 -104
- package/dist/src/components/CategoryPage/CategoryHeader.js.map +0 -1
- package/dist/src/components/CategoryPage/CategoryHeaderLoadingState.js +0 -13
- package/dist/src/components/CategoryPage/CategoryHeaderLoadingState.js.map +0 -1
- package/dist/src/components/CategoryPage/CategoryPage.js +0 -26
- package/dist/src/components/CategoryPage/CategoryPage.js.map +0 -1
- package/dist/src/components/CategoryPage/CategoryPage.loadable.js +0 -7
- package/dist/src/components/CategoryPage/CategoryPage.loadable.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/ActiveFilters.js +0 -79
- package/dist/src/components/CategoryPage/Filters/ActiveFilters.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/BooleanFilters.js +0 -18
- package/dist/src/components/CategoryPage/Filters/BooleanFilters.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Filter.js +0 -97
- package/dist/src/components/CategoryPage/Filters/Filter.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/FilterDrawer.js +0 -91
- package/dist/src/components/CategoryPage/Filters/FilterDrawer.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/FilterDropdownMenu.js +0 -77
- package/dist/src/components/CategoryPage/Filters/FilterDropdownMenu.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/ListFilters.js +0 -38
- package/dist/src/components/CategoryPage/Filters/ListFilters.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/ActiveCarot.js +0 -15
- package/dist/src/components/CategoryPage/Filters/Mobile/ActiveCarot.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/FilterButton.js +0 -107
- package/dist/src/components/CategoryPage/Filters/Mobile/FilterButton.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/ListAccordion.js +0 -44
- package/dist/src/components/CategoryPage/Filters/Mobile/ListAccordion.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/RangeAccordion.js +0 -21
- package/dist/src/components/CategoryPage/Filters/Mobile/RangeAccordion.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/SortOrderAccordion.js +0 -30
- package/dist/src/components/CategoryPage/Filters/Mobile/SortOrderAccordion.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/shared/styles.js +0 -12
- package/dist/src/components/CategoryPage/Filters/Mobile/shared/styles.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/MultiListFilters.js +0 -37
- package/dist/src/components/CategoryPage/Filters/MultiListFilters.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/RangeFilters.js +0 -122
- package/dist/src/components/CategoryPage/Filters/RangeFilters.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/SortOrders.js +0 -29
- package/dist/src/components/CategoryPage/Filters/SortOrders.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/index.js +0 -2
- package/dist/src/components/CategoryPage/Filters/index.js.map +0 -1
- package/dist/src/components/CategoryPage/ProductCard.js +0 -98
- package/dist/src/components/CategoryPage/ProductCard.js.map +0 -1
- package/dist/src/components/CategoryPage/ProductGrid.js +0 -89
- package/dist/src/components/CategoryPage/ProductGrid.js.map +0 -1
- package/dist/src/components/CategoryPage/ProductGridWindow.js +0 -48
- package/dist/src/components/CategoryPage/ProductGridWindow.js.map +0 -1
- package/dist/src/components/CategoryPage/StandardCategoryPage.js +0 -51
- package/dist/src/components/CategoryPage/StandardCategoryPage.js.map +0 -1
- package/dist/src/components/CategoryPage/WindowedCategoryPage.js +0 -87
- package/dist/src/components/CategoryPage/WindowedCategoryPage.js.map +0 -1
- package/dist/src/components/CategoryPage/index.js +0 -2
- package/dist/src/components/CategoryPage/index.js.map +0 -1
- package/dist/src/components/ContentPage/ContentPage.js +0 -64
- package/dist/src/components/ContentPage/ContentPage.js.map +0 -1
- package/dist/src/components/ContentPage/ContentPage.loadable.js +0 -7
- package/dist/src/components/ContentPage/ContentPage.loadable.js.map +0 -1
- package/dist/src/components/ContentPage/SubPageNavigation.js +0 -164
- package/dist/src/components/ContentPage/SubPageNavigation.js.map +0 -1
- package/dist/src/components/ContentPage/index.js +0 -2
- package/dist/src/components/ContentPage/index.js.map +0 -1
- package/dist/src/components/CookieConsent.js +0 -84
- package/dist/src/components/CookieConsent.js.map +0 -1
- package/dist/src/components/Forms/GlobalError.js +0 -28
- package/dist/src/components/Forms/GlobalError.js.map +0 -1
- package/dist/src/components/Forms/Input.js +0 -79
- package/dist/src/components/Forms/Input.js.map +0 -1
- package/dist/src/components/Forms/InputStatus.js +0 -42
- package/dist/src/components/Forms/InputStatus.js.map +0 -1
- package/dist/src/components/Forms/Success.js +0 -25
- package/dist/src/components/Forms/Success.js.map +0 -1
- package/dist/src/components/Layout/Container.js +0 -19
- package/dist/src/components/Layout/Container.js.map +0 -1
- package/dist/src/components/Layout/Content/index.js +0 -7
- package/dist/src/components/Layout/Content/index.js.map +0 -1
- package/dist/src/components/Layout/Footer/Footer.js +0 -106
- package/dist/src/components/Layout/Footer/Footer.js.map +0 -1
- package/dist/src/components/Layout/Footer/FooterLinks.js +0 -24
- package/dist/src/components/Layout/Footer/FooterLinks.js.map +0 -1
- package/dist/src/components/Layout/Footer/SocialLinks.js +0 -62
- package/dist/src/components/Layout/Footer/SocialLinks.js.map +0 -1
- package/dist/src/components/Layout/Header/Categories/Categories.js +0 -10
- package/dist/src/components/Layout/Header/Categories/Categories.js.map +0 -1
- package/dist/src/components/Layout/Header/Categories/MobileCategories.js +0 -128
- package/dist/src/components/Layout/Header/Categories/MobileCategories.js.map +0 -1
- package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesByLevel.js +0 -4
- package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesByLevel.js.map +0 -1
- package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesUnderParent.js +0 -4
- package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesUnderParent.js.map +0 -1
- package/dist/src/components/Layout/Header/Categories/__util__/hasChildCategories.js +0 -4
- package/dist/src/components/Layout/Header/Categories/__util__/hasChildCategories.js.map +0 -1
- package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenu.js +0 -21
- package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenu.js.map +0 -1
- package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenuContainer.js +0 -55
- package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenuContainer.js.map +0 -1
- package/dist/src/components/Layout/Header/CategoryMenu/SubMenuSection.js +0 -60
- package/dist/src/components/Layout/Header/CategoryMenu/SubMenuSection.js.map +0 -1
- package/dist/src/components/Layout/Header/CategoryMenu/SubMenuWrapper.js +0 -78
- package/dist/src/components/Layout/Header/CategoryMenu/SubMenuWrapper.js.map +0 -1
- package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelector.js +0 -26
- package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelector.js.map +0 -1
- package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelectorModal.js +0 -36
- package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelectorModal.js.map +0 -1
- package/dist/src/components/Layout/Header/ChannelSelector/LanguageSelector.js +0 -12
- package/dist/src/components/Layout/Header/ChannelSelector/LanguageSelector.js.map +0 -1
- package/dist/src/components/Layout/Header/ChannelSelector/Selector.js +0 -120
- package/dist/src/components/Layout/Header/ChannelSelector/Selector.js.map +0 -1
- package/dist/src/components/Layout/Header/ChannelSelector/flattenCountries.js +0 -15
- package/dist/src/components/Layout/Header/ChannelSelector/flattenCountries.js.map +0 -1
- package/dist/src/components/Layout/Header/Header.js +0 -189
- package/dist/src/components/Layout/Header/Header.js.map +0 -1
- package/dist/src/components/Layout/Header/Logo.js +0 -40
- package/dist/src/components/Layout/Header/Logo.js.map +0 -1
- package/dist/src/components/Layout/Header/LogoSearchBar.js +0 -15
- package/dist/src/components/Layout/Header/LogoSearchBar.js.map +0 -1
- package/dist/src/components/Layout/Header/MobileMenu.js +0 -76
- package/dist/src/components/Layout/Header/MobileMenu.js.map +0 -1
- package/dist/src/components/Layout/Header/RecommendedChannel/ChannelBanner.js +0 -218
- package/dist/src/components/Layout/Header/RecommendedChannel/ChannelBanner.js.map +0 -1
- package/dist/src/components/Layout/Header/RecommendedChannel/RecommendedChannelSelector.js +0 -123
- package/dist/src/components/Layout/Header/RecommendedChannel/RecommendedChannelSelector.js.map +0 -1
- package/dist/src/components/Layout/Header/SearchBar.js +0 -79
- package/dist/src/components/Layout/Header/SearchBar.js.map +0 -1
- package/dist/src/components/Layout/Header/SearchButton.js +0 -50
- package/dist/src/components/Layout/Header/SearchButton.js.map +0 -1
- package/dist/src/components/Layout/Header/SubCategoryNav.js +0 -71
- package/dist/src/components/Layout/Header/SubCategoryNav.js.map +0 -1
- package/dist/src/components/Layout/Header/TopNav.js +0 -63
- package/dist/src/components/Layout/Header/TopNav.js.map +0 -1
- package/dist/src/components/Layout/MaxWidth.js +0 -19
- package/dist/src/components/Layout/MaxWidth.js.map +0 -1
- package/dist/src/components/Layout/Notifications.js +0 -70
- package/dist/src/components/Layout/Notifications.js.map +0 -1
- package/dist/src/components/LoadingPage.js +0 -19
- package/dist/src/components/LoadingPage.js.map +0 -1
- package/dist/src/components/LogOut.loadable.js +0 -7
- package/dist/src/components/LogOut.loadable.js.map +0 -1
- package/dist/src/components/MyPages/ChangePasswordPage.js +0 -26
- package/dist/src/components/MyPages/ChangePasswordPage.js.map +0 -1
- package/dist/src/components/MyPages/CustomerNameHeader.js +0 -28
- package/dist/src/components/MyPages/CustomerNameHeader.js.map +0 -1
- package/dist/src/components/MyPages/DeleteAccount.js +0 -47
- package/dist/src/components/MyPages/DeleteAccount.js.map +0 -1
- package/dist/src/components/MyPages/MyPages.js +0 -152
- package/dist/src/components/MyPages/MyPages.js.map +0 -1
- package/dist/src/components/MyPages/MyPages.loadable.js +0 -7
- package/dist/src/components/MyPages/MyPages.loadable.js.map +0 -1
- package/dist/src/components/MyPages/MyPagesBreadcrumbs.js +0 -18
- package/dist/src/components/MyPages/MyPagesBreadcrumbs.js.map +0 -1
- package/dist/src/components/MyPages/MyPagesSidebar.js +0 -81
- package/dist/src/components/MyPages/MyPagesSidebar.js.map +0 -1
- package/dist/src/components/MyPages/MyPagesStartPage.js +0 -99
- package/dist/src/components/MyPages/MyPagesStartPage.js.map +0 -1
- package/dist/src/components/MyPages/Newsletter.js +0 -33
- package/dist/src/components/MyPages/Newsletter.js.map +0 -1
- package/dist/src/components/MyPages/Orders/ListOrder.js +0 -159
- package/dist/src/components/MyPages/Orders/ListOrder.js.map +0 -1
- package/dist/src/components/MyPages/Orders/OrderDetail/Contact.js +0 -38
- package/dist/src/components/MyPages/Orders/OrderDetail/Contact.js.map +0 -1
- package/dist/src/components/MyPages/Orders/OrderDetail/ListDetail.js +0 -196
- package/dist/src/components/MyPages/Orders/OrderDetail/ListDetail.js.map +0 -1
- package/dist/src/components/MyPages/Orders/OrderDetail/OrderTotals.js +0 -81
- package/dist/src/components/MyPages/Orders/OrderDetail/OrderTotals.js.map +0 -1
- package/dist/src/components/MyPages/Orders/OrderDetail/ShippingPayment.js +0 -37
- package/dist/src/components/MyPages/Orders/OrderDetail/ShippingPayment.js.map +0 -1
- package/dist/src/components/MyPages/Orders/OrderListPage.js +0 -56
- package/dist/src/components/MyPages/Orders/OrderListPage.js.map +0 -1
- package/dist/src/components/MyPages/ProfileDeliveryAddresses.js +0 -93
- package/dist/src/components/MyPages/ProfileDeliveryAddresses.js.map +0 -1
- package/dist/src/components/MyPages/ProfilePage.js +0 -109
- package/dist/src/components/MyPages/ProfilePage.js.map +0 -1
- package/dist/src/components/MyPages/ProfileView.js +0 -42
- package/dist/src/components/MyPages/ProfileView.js.map +0 -1
- package/dist/src/components/NavigationTree/NavTree.js +0 -53
- package/dist/src/components/NavigationTree/NavTree.js.map +0 -1
- package/dist/src/components/NavigationTree/NavTreePage.js +0 -7
- package/dist/src/components/NavigationTree/NavTreePage.js.map +0 -1
- package/dist/src/components/NavigationTree/NavTreePage.loadable.js +0 -7
- package/dist/src/components/NavigationTree/NavTreePage.loadable.js.map +0 -1
- package/dist/src/components/Newsletter/NewsletterField.js +0 -93
- package/dist/src/components/Newsletter/NewsletterField.js.map +0 -1
- package/dist/src/components/NotFoundPage.js +0 -59
- package/dist/src/components/NotFoundPage.js.map +0 -1
- package/dist/src/components/NotFoundPage.loadable.js +0 -7
- package/dist/src/components/NotFoundPage.loadable.js.map +0 -1
- package/dist/src/components/Pages/About.js +0 -7
- package/dist/src/components/Pages/About.js.map +0 -1
- package/dist/src/components/Pagination/Pagination.js +0 -29
- package/dist/src/components/Pagination/Pagination.js.map +0 -1
- package/dist/src/components/Pagination/PaginationWrapper.js +0 -16
- package/dist/src/components/Pagination/PaginationWrapper.js.map +0 -1
- package/dist/src/components/PreviewRoute.loadable.js +0 -7
- package/dist/src/components/PreviewRoute.loadable.js.map +0 -1
- package/dist/src/components/ProductList/AddToCart.js +0 -46
- package/dist/src/components/ProductList/AddToCart.js.map +0 -1
- package/dist/src/components/ProductList/Favourite.js +0 -46
- package/dist/src/components/ProductList/Favourite.js.map +0 -1
- package/dist/src/components/ProductList/FavouriteCount.js +0 -15
- package/dist/src/components/ProductList/FavouriteCount.js.map +0 -1
- package/dist/src/components/ProductList/Favourites.js +0 -187
- package/dist/src/components/ProductList/Favourites.js.map +0 -1
- package/dist/src/components/ProductList/Lister.js +0 -22
- package/dist/src/components/ProductList/Lister.js.map +0 -1
- package/dist/src/components/ProductList/Product.js +0 -62
- package/dist/src/components/ProductList/Product.js.map +0 -1
- package/dist/src/components/ProductList/SelectVariant.js +0 -47
- package/dist/src/components/ProductList/SelectVariant.js.map +0 -1
- package/dist/src/components/ProductList/productListQueries.js +0 -15
- package/dist/src/components/ProductList/productListQueries.js.map +0 -1
- package/dist/src/components/ProductPage/AddToCart/AddToCartForm.js +0 -110
- package/dist/src/components/ProductPage/AddToCart/AddToCartForm.js.map +0 -1
- package/dist/src/components/ProductPage/AddToCart/ProductToast.js +0 -118
- package/dist/src/components/ProductPage/AddToCart/ProductToast.js.map +0 -1
- package/dist/src/components/ProductPage/AddToCart/useProductToast.js +0 -21
- package/dist/src/components/ProductPage/AddToCart/useProductToast.js.map +0 -1
- package/dist/src/components/ProductPage/Campaigns.js +0 -43
- package/dist/src/components/ProductPage/Campaigns.js.map +0 -1
- package/dist/src/components/ProductPage/ConfigurationSelector.js +0 -62
- package/dist/src/components/ProductPage/ConfigurationSelector.js.map +0 -1
- package/dist/src/components/ProductPage/Images/ImageContainer.js +0 -45
- package/dist/src/components/ProductPage/Images/ImageContainer.js.map +0 -1
- package/dist/src/components/ProductPage/Images/Thumbnails.js +0 -32
- package/dist/src/components/ProductPage/Images/Thumbnails.js.map +0 -1
- package/dist/src/components/ProductPage/PackageProduct/IncludedInPackages.js +0 -32
- package/dist/src/components/ProductPage/PackageProduct/IncludedInPackages.js.map +0 -1
- package/dist/src/components/ProductPage/PackageProduct/PackageProduct.js +0 -170
- package/dist/src/components/ProductPage/PackageProduct/PackageProduct.js.map +0 -1
- package/dist/src/components/ProductPage/PackageProduct/PackageProductItem.js +0 -92
- package/dist/src/components/ProductPage/PackageProduct/PackageProductItem.js.map +0 -1
- package/dist/src/components/ProductPage/PriceHistory.js +0 -99
- package/dist/src/components/ProductPage/PriceHistory.js.map +0 -1
- package/dist/src/components/ProductPage/ProductInfo.js +0 -55
- package/dist/src/components/ProductPage/ProductInfo.js.map +0 -1
- package/dist/src/components/ProductPage/ProductInfoAccordion.js +0 -46
- package/dist/src/components/ProductPage/ProductInfoAccordion.js.map +0 -1
- package/dist/src/components/ProductPage/ProductPage.js +0 -174
- package/dist/src/components/ProductPage/ProductPage.js.map +0 -1
- package/dist/src/components/ProductPage/ProductPage.loadable.js +0 -7
- package/dist/src/components/ProductPage/ProductPage.loadable.js.map +0 -1
- package/dist/src/components/ProductPage/ProductPageLoadingState.js +0 -55
- package/dist/src/components/ProductPage/ProductPageLoadingState.js.map +0 -1
- package/dist/src/components/ProductPage/QuantityContainer.js +0 -21
- package/dist/src/components/ProductPage/QuantityContainer.js.map +0 -1
- package/dist/src/components/ProductPage/RelatedProducts.js +0 -45
- package/dist/src/components/ProductPage/RelatedProducts.js.map +0 -1
- package/dist/src/components/ProductPage/SizePicker.js +0 -37
- package/dist/src/components/ProductPage/SizePicker.js.map +0 -1
- package/dist/src/components/ProductPage/StockStatus/NotifyWhenBack.js +0 -93
- package/dist/src/components/ProductPage/StockStatus/NotifyWhenBack.js.map +0 -1
- package/dist/src/components/ProductPage/StockStatus/StockOrb.js +0 -31
- package/dist/src/components/ProductPage/StockStatus/StockOrb.js.map +0 -1
- package/dist/src/components/ProductPage/StockStatus/StockStatusIndicator.js +0 -33
- package/dist/src/components/ProductPage/StockStatus/StockStatusIndicator.js.map +0 -1
- package/dist/src/components/ProductPage/StockStatus/WarehouseStock.js +0 -255
- package/dist/src/components/ProductPage/StockStatus/WarehouseStock.js.map +0 -1
- package/dist/src/components/ProductPage/VariantSelector.js +0 -138
- package/dist/src/components/ProductPage/VariantSelector.js.map +0 -1
- package/dist/src/components/ProductPage/styledComponents.js +0 -11
- package/dist/src/components/ProductPage/styledComponents.js.map +0 -1
- package/dist/src/components/ProductPage/useProductValidationMessage.js +0 -24
- package/dist/src/components/ProductPage/useProductValidationMessage.js.map +0 -1
- package/dist/src/components/SearchPage/CategoryList.js +0 -129
- package/dist/src/components/SearchPage/CategoryList.js.map +0 -1
- package/dist/src/components/SearchPage/EmptySearchResults.js +0 -23
- package/dist/src/components/SearchPage/EmptySearchResults.js.map +0 -1
- package/dist/src/components/SearchPage/SearchMeta.js +0 -27
- package/dist/src/components/SearchPage/SearchMeta.js.map +0 -1
- package/dist/src/components/SearchPage/SearchPage.js +0 -52
- package/dist/src/components/SearchPage/SearchPage.js.map +0 -1
- package/dist/src/components/SearchPage/SearchPage.loadable.js +0 -7
- package/dist/src/components/SearchPage/SearchPage.loadable.js.map +0 -1
- package/dist/src/components/SearchPage/SearchResults.js +0 -60
- package/dist/src/components/SearchPage/SearchResults.js.map +0 -1
- package/dist/src/components/SearchPage/SearchTerm.js +0 -11
- package/dist/src/components/SearchPage/SearchTerm.js.map +0 -1
- package/dist/src/components/SearchPage/WindowedSearchResults.js +0 -80
- package/dist/src/components/SearchPage/WindowedSearchResults.js.map +0 -1
- package/dist/src/components/SearchPage/index.js +0 -3
- package/dist/src/components/SearchPage/index.js.map +0 -1
- package/dist/src/components/Shop.js +0 -82
- package/dist/src/components/Shop.js.map +0 -1
- package/dist/src/components/StartPage/Content/Row.js +0 -40
- package/dist/src/components/StartPage/Content/Row.js.map +0 -1
- package/dist/src/components/StartPage/Content/StartPageCampaign.js +0 -112
- package/dist/src/components/StartPage/Content/StartPageCampaign.js.map +0 -1
- package/dist/src/components/StartPage/Content/StartPageCategories.js +0 -80
- package/dist/src/components/StartPage/Content/StartPageCategories.js.map +0 -1
- package/dist/src/components/StartPage/Content/StartPageHTMLContent.js +0 -74
- package/dist/src/components/StartPage/Content/StartPageHTMLContent.js.map +0 -1
- package/dist/src/components/StartPage/Content/StartPageHero.js +0 -73
- package/dist/src/components/StartPage/Content/StartPageHero.js.map +0 -1
- package/dist/src/components/StartPage/Content/StartPageProductGrid.js +0 -69
- package/dist/src/components/StartPage/Content/StartPageProductGrid.js.map +0 -1
- package/dist/src/components/StartPage/StartPage.js +0 -37
- package/dist/src/components/StartPage/StartPage.js.map +0 -1
- package/dist/src/components/StartPage/StartPage.loadable.js +0 -7
- package/dist/src/components/StartPage/StartPage.loadable.js.map +0 -1
- package/dist/src/components/StartPage/index.js +0 -3
- package/dist/src/components/StartPage/index.js.map +0 -1
- package/dist/src/components/Store/Store.js +0 -26
- package/dist/src/components/Store/Store.js.map +0 -1
- package/dist/src/components/Store/Store.loadable.js +0 -7
- package/dist/src/components/Store/Store.loadable.js.map +0 -1
- package/dist/src/components/Store/StoreDetail.js +0 -13
- package/dist/src/components/Store/StoreDetail.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreList.js +0 -160
- package/dist/src/components/StoreLocator/StoreList.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreLocator.js +0 -133
- package/dist/src/components/StoreLocator/StoreLocator.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreLocator.loadable.js +0 -7
- package/dist/src/components/StoreLocator/StoreLocator.loadable.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreMap.js +0 -116
- package/dist/src/components/StoreLocator/StoreMap.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreMarker.js +0 -63
- package/dist/src/components/StoreLocator/StoreMarker.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreSearch.js +0 -47
- package/dist/src/components/StoreLocator/StoreSearch.js.map +0 -1
- package/dist/src/components/StoreLocator/UserLocation.js +0 -76
- package/dist/src/components/StoreLocator/UserLocation.js.map +0 -1
- package/dist/src/components/StoreLocator/useLocationState.js +0 -14
- package/dist/src/components/StoreLocator/useLocationState.js.map +0 -1
- package/dist/src/components/StoreLocator/useMapState.js +0 -16
- package/dist/src/components/StoreLocator/useMapState.js.map +0 -1
- package/dist/src/components/Theme.js +0 -6
- package/dist/src/components/Theme.js.map +0 -1
- package/dist/src/components/ui/Badge.js +0 -33
- package/dist/src/components/ui/Badge.js.map +0 -1
- package/dist/src/components/ui/Button.js +0 -93
- package/dist/src/components/ui/Button.js.map +0 -1
- package/dist/src/components/ui/CloseButton.js +0 -18
- package/dist/src/components/ui/CloseButton.js.map +0 -1
- package/dist/src/components/ui/Divider.js +0 -11
- package/dist/src/components/ui/Divider.js.map +0 -1
- package/dist/src/components/ui/Headings.js +0 -19
- package/dist/src/components/ui/Headings.js.map +0 -1
- package/dist/src/components/ui/RadioGroupWithLabels.js +0 -16
- package/dist/src/components/ui/RadioGroupWithLabels.js.map +0 -1
- package/dist/src/components/ui/Spinner.js +0 -39
- package/dist/src/components/ui/Spinner.js.map +0 -1
- package/dist/src/fonts/loadFontCss.js +0 -51
- package/dist/src/fonts/loadFontCss.js.map +0 -1
- package/dist/src/globalStyles.js +0 -83
- package/dist/src/globalStyles.js.map +0 -1
- package/dist/src/server.js +0 -12
- package/dist/src/server.js.map +0 -1
- package/dist/src/shop.config.js +0 -68
- package/dist/src/shop.config.js.map +0 -1
- package/dist/src/theme-variables.js +0 -65
- package/dist/src/theme-variables.js.map +0 -1
- package/dist/translations/cs.json +0 -788
- package/dist/translations/da.json +0 -791
- package/dist/translations/de.json +0 -788
- package/dist/translations/en.json +0 -794
- package/dist/translations/es.json +0 -788
- package/dist/translations/et.json +0 -788
- package/dist/translations/fi.json +0 -794
- package/dist/translations/fr.json +0 -788
- package/dist/translations/index.js +0 -18
- package/dist/translations/index.js.map +0 -1
- package/dist/translations/it.json +0 -788
- package/dist/translations/lv.json +0 -788
- package/dist/translations/nb.json +0 -791
- package/dist/translations/nl.json +0 -788
- package/dist/translations/pl.json +0 -788
- package/dist/translations/ru.json +0 -788
- package/dist/translations/sk.json +0 -788
- package/dist/translations/sr.json +0 -464
- package/dist/translations/sv.json +0 -794
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Helmet } from 'react-helmet-async';
|
|
3
|
-
import { Route, Switch } from 'react-router-dom';
|
|
4
|
-
import CustomFont from '@jetshop/core/components/Fonts/CustomFont';
|
|
5
|
-
import DynamicRoute from '@jetshop/core/components/DynamicRoute';
|
|
6
|
-
import PaginationProvider from '@jetshop/core/components/Pagination/PaginationProvider';
|
|
7
|
-
import { ProductListProvider } from '@jetshop/core/hooks/ProductList/ProductListContext';
|
|
8
|
-
import { useShopConfig } from '@jetshop/core/hooks/useShopConfig';
|
|
9
|
-
import GenericError from '@jetshop/ui/ErrorBoundary/Generic';
|
|
10
|
-
import LoadingBar from '@jetshop/ui/Loading/LoadingBar';
|
|
11
|
-
import ModalProvider from '@jetshop/ui/Modal/ModalProvider';
|
|
12
|
-
import ModalRoot from '@jetshop/ui/Modal/ModalRoot';
|
|
13
|
-
import ScrollRestorationHandler from '@jetshop/ui/ScrollRestorationHandler';
|
|
14
|
-
import Container from './Layout/Container';
|
|
15
|
-
import Content from './Layout/Content';
|
|
16
|
-
import Footer from './Layout/Footer/Footer';
|
|
17
|
-
import Header from './Layout/Header/Header';
|
|
18
|
-
import ForgotPassword from './Auth/ForgotPassword.loadable';
|
|
19
|
-
import LogInPage from './Auth/LogInPage.loadable';
|
|
20
|
-
import ResetPassword from './Auth/ResetPassword.loadable';
|
|
21
|
-
import SignUpPage from './Auth/Signup/SignUpPage.loadable';
|
|
22
|
-
import CategoryPage from './CategoryPage/CategoryPage.loadable';
|
|
23
|
-
import ContentPage from './ContentPage/ContentPage.loadable';
|
|
24
|
-
import CookieConsent from './CookieConsent';
|
|
25
|
-
import LoadingPage from './LoadingPage';
|
|
26
|
-
import LogOutPage from './LogOut.loadable';
|
|
27
|
-
import MyPages from './MyPages/MyPages.loadable';
|
|
28
|
-
import NavTreePage from './NavigationTree/NavTreePage.loadable';
|
|
29
|
-
import NotFoundPage from './NotFoundPage.loadable';
|
|
30
|
-
import PreviewRoute from './PreviewRoute.loadable';
|
|
31
|
-
import { Favourites } from './ProductList/Favourites';
|
|
32
|
-
import { productListQueries } from './ProductList/productListQueries';
|
|
33
|
-
import ProductPage from './ProductPage/ProductPage.loadable';
|
|
34
|
-
import SearchPage from './SearchPage/SearchPage.loadable';
|
|
35
|
-
import StartPage from './StartPage/StartPage.loadable';
|
|
36
|
-
import Store from './Store/Store.loadable';
|
|
37
|
-
import StoreLocator from './StoreLocator/StoreLocator.loadable';
|
|
38
|
-
import categoryPreviewQuery from './CategoryPreviewQuery.gql';
|
|
39
|
-
import pagePreviewQuery from './PagePreviewQuery.gql';
|
|
40
|
-
import productPreviewQuery from './ProductPreviewQuery.gql';
|
|
41
|
-
import routeQuery from './RouteQuery.gql';
|
|
42
|
-
import { theme } from './Theme';
|
|
43
|
-
import loadFontCss from '../fonts/loadFontCss';
|
|
44
|
-
import '../globalStyles';
|
|
45
|
-
function Shop() {
|
|
46
|
-
const { routes } = useShopConfig();
|
|
47
|
-
return (React.createElement(GenericError, null,
|
|
48
|
-
React.createElement(ModalProvider, null,
|
|
49
|
-
React.createElement(Container, null,
|
|
50
|
-
React.createElement(LoadingBar, { color: theme.colors.loadingBar }),
|
|
51
|
-
React.createElement(CustomFont, { primaryFont: theme.fonts.primary, injectCss: loadFontCss }),
|
|
52
|
-
React.createElement(Helmet, { titleTemplate: "%s - Template Trend", defaultTitle: "Template Trend" }),
|
|
53
|
-
React.createElement(ProductListProvider, { queries: productListQueries },
|
|
54
|
-
React.createElement(PaginationProvider, { defaultProductsPerPage: 24 },
|
|
55
|
-
React.createElement(Header, null),
|
|
56
|
-
React.createElement(Content, null,
|
|
57
|
-
React.createElement(Switch, null,
|
|
58
|
-
React.createElement(Route, { exact: true, path: "/", component: StartPage }),
|
|
59
|
-
React.createElement(Route, { path: "/favourites", component: Favourites }),
|
|
60
|
-
React.createElement(Route, { path: routes.search.path, component: SearchPage }),
|
|
61
|
-
React.createElement(Route, { path: routes.signup.path, component: SignUpPage }),
|
|
62
|
-
React.createElement(Route, { path: routes.login.path, component: LogInPage }),
|
|
63
|
-
React.createElement(Route, { path: routes.logout.path, component: LogOutPage }),
|
|
64
|
-
React.createElement(Route, { path: routes.stores.path, component: StoreLocator }),
|
|
65
|
-
React.createElement(Route, { path: `${routes.store.path}/:id`, component: Store }),
|
|
66
|
-
React.createElement(Route, { path: routes.tree.path, component: NavTreePage }),
|
|
67
|
-
React.createElement(Route, { path: routes.myPages.path, component: MyPages }),
|
|
68
|
-
React.createElement(Route, { exact: true, path: routes.forgotPassword.path, component: ForgotPassword }),
|
|
69
|
-
React.createElement(Route, { path: `${routes.resetPassword.path}/:token`, component: ResetPassword }),
|
|
70
|
-
React.createElement(Route, { path: "/preview", render: props => (React.createElement(PreviewRoute, Object.assign({ productQuery: productPreviewQuery, categoryQuery: categoryPreviewQuery, pageQuery: pagePreviewQuery, productPage: ProductPage, categoryPage: CategoryPage, contentPage: ContentPage, StartPage: StartPage }, props))) }),
|
|
71
|
-
React.createElement(DynamicRoute, { routeQuery: routeQuery, productPage: ProductPage, categoryPage: CategoryPage, contentPage: ContentPage, notFoundPage: NotFoundPage, LoadingPage: LoadingPage }))),
|
|
72
|
-
React.createElement(Footer, null))),
|
|
73
|
-
React.createElement(ModalRoot, null),
|
|
74
|
-
React.createElement(ScrollRestorationHandler, { ignoreForRouteTypes: [
|
|
75
|
-
'sortOrderChange',
|
|
76
|
-
'filterChange',
|
|
77
|
-
'paginationChange'
|
|
78
|
-
] }),
|
|
79
|
-
React.createElement(CookieConsent, null)))));
|
|
80
|
-
}
|
|
81
|
-
export default Shop;
|
|
82
|
-
//# sourceMappingURL=Shop.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Shop.js","sourceRoot":"","sources":["../../../src/components/Shop.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,UAAU,MAAM,2CAA2C,CAAC;AACnE,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,kBAAkB,MAAM,wDAAwD,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAElE,OAAO,YAAY,MAAM,mCAAmC,CAAC;AAC7D,OAAO,UAAU,MAAM,gCAAgC,CAAC;AACxD,OAAO,aAAa,MAAM,iCAAiC,CAAC;AAC5D,OAAO,SAAS,MAAM,6BAA6B,CAAC;A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G,CACP,CACE,CACH,CAChB,CAAC;AACJ,CAAC;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import MaxWidth from '../../Layout/MaxWidth';
|
|
3
|
-
import { styled } from 'linaria/react';
|
|
4
|
-
import { theme } from '../../Theme';
|
|
5
|
-
const Container = styled('div') `
|
|
6
|
-
position: relative;
|
|
7
|
-
padding-top: 48px;
|
|
8
|
-
padding-bottom: 62px;
|
|
9
|
-
${theme.below.sm} {
|
|
10
|
-
padding-top: 32px;
|
|
11
|
-
padding-bottom: 38px;
|
|
12
|
-
}
|
|
13
|
-
`;
|
|
14
|
-
export const Title = styled('h2') `
|
|
15
|
-
font-size: 24px;
|
|
16
|
-
font-weight: 600;
|
|
17
|
-
margin-bottom: 0.75rem;
|
|
18
|
-
${theme.below.md} {
|
|
19
|
-
font-size: 18px;
|
|
20
|
-
}
|
|
21
|
-
`;
|
|
22
|
-
const ItemsContainer = styled('div') `
|
|
23
|
-
display: flex;
|
|
24
|
-
overflow-x: auto;
|
|
25
|
-
|
|
26
|
-
margin-right: -12px;
|
|
27
|
-
margin-left: -12px;
|
|
28
|
-
|
|
29
|
-
${theme.above.xl} {
|
|
30
|
-
justify-content: center;
|
|
31
|
-
}
|
|
32
|
-
`;
|
|
33
|
-
const Row = ({ header, children }) => {
|
|
34
|
-
return (React.createElement(MaxWidth, null,
|
|
35
|
-
React.createElement(Container, null,
|
|
36
|
-
header && React.createElement(Title, null, header.value),
|
|
37
|
-
React.createElement(ItemsContainer, null, children))));
|
|
38
|
-
};
|
|
39
|
-
export default Row;
|
|
40
|
-
//# sourceMappingURL=Row.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Row.js","sourceRoot":"","sources":["../../../../../src/components/StartPage/Content/Row.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;;;IAI3B,KAAK,CAAC,KAAK,CAAC,EAAE;;;;CAIjB,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;;;;IAI7B,KAAK,CAAC,KAAK,CAAC,EAAE;;;CAGjB,CAAC;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;;;;;;IAOhC,KAAK,CAAC,KAAK,CAAC,EAAE;;;CAGjB,CAAC;AAEF,MAAM,GAAG,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnC,OAAO,CACL,oBAAC,QAAQ;QACP,oBAAC,SAAS;YACP,MAAM,IAAI,oBAAC,KAAK,QAAE,MAAM,CAAC,KAAK,CAAS;YACxC,oBAAC,cAAc,QAAE,QAAQ,CAAkB,CACjC,CACH,CACZ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import React from 'react';
|
|
13
|
-
import { styled } from 'linaria/react';
|
|
14
|
-
import MaxWidth from '../../Layout/MaxWidth';
|
|
15
|
-
import Image from '@jetshop/ui/Image/Image';
|
|
16
|
-
import { TrendLink } from '../../ui/Button';
|
|
17
|
-
import { Above } from '@jetshop/ui/Breakpoints';
|
|
18
|
-
import { theme } from '../../Theme';
|
|
19
|
-
const Container = styled('div') `
|
|
20
|
-
padding-top: 60px;
|
|
21
|
-
padding-bottom: 60px;
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
flex-direction: row;
|
|
25
|
-
${theme.below.md} {
|
|
26
|
-
flex-direction: column-reverse;
|
|
27
|
-
padding-top: 40px;
|
|
28
|
-
padding-bottom: 0;
|
|
29
|
-
}
|
|
30
|
-
`;
|
|
31
|
-
const Title = styled('h1') `
|
|
32
|
-
font-size: 40px;
|
|
33
|
-
font-weight: 900;
|
|
34
|
-
margin-bottom: 18px;
|
|
35
|
-
${theme.below.md} {
|
|
36
|
-
font-size: 24px;
|
|
37
|
-
}
|
|
38
|
-
`;
|
|
39
|
-
const Description = styled('p') `
|
|
40
|
-
width: 400px;
|
|
41
|
-
max-width: 100%;
|
|
42
|
-
margin-bottom: 30px;
|
|
43
|
-
line-height: 1.45em;
|
|
44
|
-
${theme.below.md} {
|
|
45
|
-
font-size: 16px;
|
|
46
|
-
margin-left: auto;
|
|
47
|
-
margin-right: auto;
|
|
48
|
-
}
|
|
49
|
-
`;
|
|
50
|
-
const StyledButton = styled(TrendLink) `
|
|
51
|
-
width: 176px;
|
|
52
|
-
height: 56px;
|
|
53
|
-
${theme.below.md} {
|
|
54
|
-
margin-left: auto;
|
|
55
|
-
margin-right: auto;
|
|
56
|
-
}
|
|
57
|
-
`;
|
|
58
|
-
const Column = styled('div') `
|
|
59
|
-
${theme.above.md} {
|
|
60
|
-
&:first-child {
|
|
61
|
-
margin-right: 1rem;
|
|
62
|
-
}
|
|
63
|
-
&:last-child {
|
|
64
|
-
margin-left: 60px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
`;
|
|
68
|
-
const ImageColumn = styled(Column) `
|
|
69
|
-
height: 386px;
|
|
70
|
-
width: 50%;
|
|
71
|
-
${theme.below.md} {
|
|
72
|
-
width: 100%;
|
|
73
|
-
padding-bottom: 48px;
|
|
74
|
-
}
|
|
75
|
-
`;
|
|
76
|
-
const TextColumn = styled(Column) `
|
|
77
|
-
width: 50%;
|
|
78
|
-
${theme.below.md} {
|
|
79
|
-
width: 100%;
|
|
80
|
-
padding-bottom: 48px;
|
|
81
|
-
text-align: center;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.rightAlign {
|
|
85
|
-
text-align: end;
|
|
86
|
-
> * {
|
|
87
|
-
float: right;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
`;
|
|
91
|
-
const StartPageCampaign = props => {
|
|
92
|
-
if (!props)
|
|
93
|
-
return null;
|
|
94
|
-
const { imageSrc, alignment } = props, rest = __rest(props, ["imageSrc", "alignment"]);
|
|
95
|
-
const rightAlignment = alignment && alignment.value === 'right';
|
|
96
|
-
return (React.createElement(Above, { breakpoint: "md" }, matches => matches ? (React.createElement(MaxWidth, null,
|
|
97
|
-
React.createElement(Container, null,
|
|
98
|
-
rightAlignment && React.createElement(ImageCol, { src: imageSrc.value }),
|
|
99
|
-
React.createElement(CampaignContent, Object.assign({ className: !rightAlignment && 'rightAlign' }, rest)),
|
|
100
|
-
!rightAlignment && React.createElement(ImageCol, { src: imageSrc.value })))) : (React.createElement(MaxWidth, null,
|
|
101
|
-
React.createElement(Container, null,
|
|
102
|
-
React.createElement(CampaignContent, Object.assign({}, rest)),
|
|
103
|
-
React.createElement(ImageCol, { src: imageSrc.value }))))));
|
|
104
|
-
};
|
|
105
|
-
const CampaignContent = ({ header, text, buttonText, buttonLink, className }) => (React.createElement(TextColumn, { className: className },
|
|
106
|
-
React.createElement(Title, null, header.value),
|
|
107
|
-
React.createElement(Description, null, text.value),
|
|
108
|
-
buttonLink.value && (React.createElement(StyledButton, { to: buttonLink.value }, buttonText.value))));
|
|
109
|
-
const ImageCol = ({ src }) => (React.createElement(ImageColumn, null,
|
|
110
|
-
React.createElement(Image, { fillAvailableSpace: true, src: src, sizes: [1, 1, 0.5] })));
|
|
111
|
-
export default StartPageCampaign;
|
|
112
|
-
//# sourceMappingURL=StartPageCampaign.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StartPageCampaign.js","sourceRoot":"","sources":["../../../../../src/components/StartPage/Content/StartPageCampaign.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;;;;;IAM3B,KAAK,CAAC,KAAK,CAAC,EAAE;;;;;CAKjB,CAAC;AAEF,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;;;;IAItB,KAAK,CAAC,KAAK,CAAC,EAAE;;;CAGjB,CAAC;AAEF,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;;;;;IAK3B,KAAK,CAAC,KAAK,CAAC,EAAE;;;;;CAKjB,CAAC;AAEF,MAAM,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA;;;IAGlC,KAAK,CAAC,KAAK,CAAC,EAAE;;;;CAIjB,CAAC;AAEF,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;IACxB,KAAK,CAAC,KAAK,CAAC,EAAE;;;;;;;;CAQjB,CAAC;AAEF,MAAM,WAAW,GAAG,MAAM,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,oBAAC,KAAK,QAAE,MAAM,CAAC,KAAK,CAAS;IAC7B,oBAAC,WAAW,QAAE,IAAI,CAAC,KAAK,CAAe;IACtC,UAAU,CAAC,KAAK,IAAI,CACnB,oBAAC,YAAY,IAAC,EAAE,EAAE,UAAU,CAAC,KAAK,IAAG,UAAU,CAAC,KAAK,CAAgB,CACtE,CACU,CACd,CAAC;AAEF,MAAM,QAAQ,GAAG,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAC5B,oBAAC,WAAW;IACV,oBAAC,KAAK,IAAC,kBAAkB,QAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,GAAI,CAC9C,CACf,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { styled } from 'linaria/react';
|
|
3
|
-
import Image from '@jetshop/ui/Image/Image';
|
|
4
|
-
import CategoryLink from '@jetshop/ui/CategoryLink';
|
|
5
|
-
import { theme } from '../../Theme';
|
|
6
|
-
import Row from './Row';
|
|
7
|
-
const ItemTitle = styled('h2') `
|
|
8
|
-
font-size: 20px;
|
|
9
|
-
font-weight: 600;
|
|
10
|
-
text-align: center;
|
|
11
|
-
text-decoration: none;
|
|
12
|
-
color: #000;
|
|
13
|
-
padding-top: 10px;
|
|
14
|
-
padding-bottom: 10px;
|
|
15
|
-
transition: 200ms;
|
|
16
|
-
${theme.below.md} {
|
|
17
|
-
font-size: 16px;
|
|
18
|
-
}
|
|
19
|
-
`;
|
|
20
|
-
const ImageContainer = styled('div') `
|
|
21
|
-
transition: 200ms;
|
|
22
|
-
filter: grayscale(1);
|
|
23
|
-
`;
|
|
24
|
-
const CategoryItem = styled(CategoryLink) `
|
|
25
|
-
margin-left: 12px;
|
|
26
|
-
margin-right: 12px;
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-direction: column;
|
|
29
|
-
text-decoration: none;
|
|
30
|
-
flex: 1;
|
|
31
|
-
|
|
32
|
-
${ItemTitle} {
|
|
33
|
-
background-color: white;
|
|
34
|
-
}
|
|
35
|
-
&:hover {
|
|
36
|
-
${ItemTitle} {
|
|
37
|
-
background-color: ${theme.colors.blue};
|
|
38
|
-
color: white;
|
|
39
|
-
}
|
|
40
|
-
${ImageContainer} {
|
|
41
|
-
filter: grayscale(0);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
${theme.above.xl} {
|
|
46
|
-
max-width: 250px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
${theme.below.xl} {
|
|
50
|
-
flex: 1 0 20%;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
${theme.below.lg} {
|
|
54
|
-
flex: 1 0 25%;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
${theme.below.md} {
|
|
58
|
-
flex: 1 0 35%;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
${theme.below.sm} {
|
|
62
|
-
flex: 1 0 60%;
|
|
63
|
-
}
|
|
64
|
-
`;
|
|
65
|
-
const StartPageCategories = ({ header, children }) => {
|
|
66
|
-
return React.createElement(Row, { header: header }, children);
|
|
67
|
-
};
|
|
68
|
-
export const StartPageCategoryItem = ({ category, categoryImage, styles }) => {
|
|
69
|
-
var _a;
|
|
70
|
-
if (!category)
|
|
71
|
-
return null;
|
|
72
|
-
const cat = category.value;
|
|
73
|
-
const img = categoryImage.value;
|
|
74
|
-
return (cat && (React.createElement(CategoryItem, { category: cat },
|
|
75
|
-
React.createElement(ImageContainer, null,
|
|
76
|
-
React.createElement(Image, { aspect: '3:4', sizes: [1 / 2, 1 / 3, 1 / 4], cover: true, src: img || ((_a = cat.images[cat.images.length - 1]) === null || _a === void 0 ? void 0 : _a.url) })),
|
|
77
|
-
React.createElement(ItemTitle, null, cat.name))));
|
|
78
|
-
};
|
|
79
|
-
export default StartPageCategories;
|
|
80
|
-
//# sourceMappingURL=StartPageCategories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StartPageCategories.js","sourceRoot":"","sources":["../../../../../src/components/StartPage/Content/StartPageCategories.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;;;;;;;;;IAS1B,KAAK,CAAC,KAAK,CAAC,EAAE;;;CAGjB,CAAC;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;;CAGnC,CAAC;AAEF,MAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC,CAAA;;;;;;;;IAQrC,SAAS;;;;MAIP,SAAS;0BACW,KAAK,CAAC,MAAM,CAAC,IAAI;;;MAGrC,cAAc;;;;;IAKhB,KAAK,CAAC,KAAK,CAAC,EAAE;;;;IAId,KAAK,CAAC,KAAK,CAAC,EAAE;;;;IAId,KAAK,CAAC,KAAK,CAAC,EAAE;;;;IAId,KAAK,CAAC,KAAK,CAAC,EAAE;;;;IAId,KAAK,CAAC,KAAK,CAAC,EAAE;;;CAGjB,CAAC;AAEF,MAAM,mBAAmB,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnD,OAAO,oBAAC,GAAG,IAAC,MAAM,EAAE,MAAM,IAAG,QAAQ,CAAO,CAAC;AAC/C,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,EAAE;;IAC3E,IAAI,CAAC,QAAQ;QAAE,OAAO,IAAI,CAAC;IAC3B,MAAM,GAAG,GAAG,QAAQ,CAAC,KAAK,CAAC;IAC3B,MAAM,GAAG,GAAG,aAAa,CAAC,KAAK,CAAC;IAEhC,OAAO,CACL,GAAG,IAAI,CACL,oBAAC,YAAY,IAAC,QAAQ,EAAE,GAAG;QACzB,oBAAC,cAAc;YACb,oBAAC,KAAK,IACJ,MAAM,EAAE,KAAK,EACb,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,EAC5B,KAAK,EAAE,IAAI,EACX,GAAG,EAAE,GAAG,KAAI,MAAA,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,0CAAE,GAAG,CAAA,GAClD,CACa;QACjB,oBAAC,SAAS,QAAE,GAAG,CAAC,IAAI,CAAa,CACpB,CAChB,CACF,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import React from 'react';
|
|
13
|
-
import { styled } from 'linaria/react';
|
|
14
|
-
import { Shortcodes } from '@jetshop/flight-shortcodes';
|
|
15
|
-
import MaxWidth from '../../Layout/MaxWidth';
|
|
16
|
-
import { Link } from 'react-router-dom';
|
|
17
|
-
const Container = styled('div') `
|
|
18
|
-
margin: 2rem 0;
|
|
19
|
-
background: #fff;
|
|
20
|
-
padding: 2rem;
|
|
21
|
-
|
|
22
|
-
a {
|
|
23
|
-
color: #5c5c5c;
|
|
24
|
-
text-decoration: none;
|
|
25
|
-
&:hover {
|
|
26
|
-
text-decoration: underline;
|
|
27
|
-
color: #000;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
ul,
|
|
32
|
-
ol {
|
|
33
|
-
margin-block-start: 1em;
|
|
34
|
-
margin-block-end: 1em;
|
|
35
|
-
padding-inline-start: 2rem;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
ul {
|
|
39
|
-
list-style-type: disc;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
ol {
|
|
43
|
-
list-style-type: decimal;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
li {
|
|
47
|
-
margin: 0.5rem 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
p {
|
|
51
|
-
margin: 1rem 0;
|
|
52
|
-
}
|
|
53
|
-
`;
|
|
54
|
-
const internalUrlRegex = /^\/[^/]/;
|
|
55
|
-
const CustomLink = (_a) => {
|
|
56
|
-
var { href, children } = _a, rest = __rest(_a, ["href", "children"]);
|
|
57
|
-
if (internalUrlRegex.test(href)) {
|
|
58
|
-
return (React.createElement(Link, Object.assign({ to: href }, rest), children));
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
return (React.createElement("a", Object.assign({ href: href }, rest), children));
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
export const StartPageHTMLContent = props => {
|
|
65
|
-
if (!props || !props.html || !props.html.value)
|
|
66
|
-
return null;
|
|
67
|
-
return (React.createElement(MaxWidth, null,
|
|
68
|
-
React.createElement(Container, null,
|
|
69
|
-
React.createElement(Shortcodes, { content: props.html.value, components: {
|
|
70
|
-
a: CustomLink
|
|
71
|
-
} }))));
|
|
72
|
-
};
|
|
73
|
-
export default StartPageHTMLContent;
|
|
74
|
-
//# sourceMappingURL=StartPageHTMLContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StartPageHTMLContent.js","sourceRoot":"","sources":["../../../../../src/components/StartPage/Content/StartPageHTMLContent.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC9B,CAAC;AAEF,MAAM,gBAAgB,GAAG,SAAS,CAAC;AAEnC,MAAM,UAAU,GAAG,CAAC,EAA2B,EAAE,EAAE;QAA/B,EAAE,IAAI,EAAE,QAAQ,OAAW,EAAN,IAAI,cAAzB,oBAA2B,CAAF;IAC3C,IAAI,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;QAC/B,OAAO,CACL,oBAAC,IAAI,kBAAC,EAAE,EAAE,IAAI,IAAM,IAAI,GACrB,QAAQ,CACJ,CACR,CAAC;KACH;SAAM;QACL,OAAO,CACL,yCAAG,IAAI,EAAE,IAAI,IAAM,IAAI,GACpB,QAAQ,CACP,CACL,CAAC;KACH;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,KAAK,CAAC,EAAE;IAC1C,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IAE5D,OAAO,CACL,oBAAC,QAAQ;QACP,oBAAC,SAAS;YACR,oBAAC,UAAU,IACT,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,EACzB,UAAU,EAAE;oBACV,CAAC,EAAE,UAAU;iBACd,GACD,CACQ,CACH,CACZ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { styled } from 'linaria/react';
|
|
3
|
-
import { css } from 'linaria';
|
|
4
|
-
import MaxWidth from '../../Layout/MaxWidth';
|
|
5
|
-
import Image from '@jetshop/ui/Image/Image';
|
|
6
|
-
import { TrendLink } from '../../ui/Button';
|
|
7
|
-
import { theme } from '../../Theme';
|
|
8
|
-
const StartPageHeroWrapper = styled(MaxWidth) `
|
|
9
|
-
height: 600px;
|
|
10
|
-
${theme.below.xl} {
|
|
11
|
-
padding: 0px;
|
|
12
|
-
}
|
|
13
|
-
${theme.below.md} {
|
|
14
|
-
padding: 0px;
|
|
15
|
-
height: 400px;
|
|
16
|
-
}
|
|
17
|
-
`;
|
|
18
|
-
const Container = styled('div') `
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
color: white;
|
|
24
|
-
height: 100%;
|
|
25
|
-
text-align: center;
|
|
26
|
-
`;
|
|
27
|
-
const Title = styled('h1') `
|
|
28
|
-
font-size: 64px;
|
|
29
|
-
font-weight: 900;
|
|
30
|
-
margin-bottom: 18px;
|
|
31
|
-
${theme.below.md} {
|
|
32
|
-
font-size: 30px;
|
|
33
|
-
margin-bottom: 12px;
|
|
34
|
-
}
|
|
35
|
-
`;
|
|
36
|
-
const Description = styled('p') `
|
|
37
|
-
width: 420px;
|
|
38
|
-
font-size: 20px;
|
|
39
|
-
max-width: 100%;
|
|
40
|
-
margin-bottom: 30px;
|
|
41
|
-
line-height: 1.45em;
|
|
42
|
-
${theme.below.md} {
|
|
43
|
-
width: 100%;
|
|
44
|
-
font-size: 16px;
|
|
45
|
-
padding-left: 0.75rem;
|
|
46
|
-
padding-right: 0.75rem;
|
|
47
|
-
}
|
|
48
|
-
`;
|
|
49
|
-
const StyledButton = styled(TrendLink) `
|
|
50
|
-
width: 176px;
|
|
51
|
-
height: 46px;
|
|
52
|
-
${theme.below.sm} {
|
|
53
|
-
width: 138px;
|
|
54
|
-
height: 32px;
|
|
55
|
-
font-size: 14px;
|
|
56
|
-
}
|
|
57
|
-
`;
|
|
58
|
-
const heroStyles = css `
|
|
59
|
-
display: flex;
|
|
60
|
-
align-items: center;
|
|
61
|
-
justify-content: center;
|
|
62
|
-
`;
|
|
63
|
-
const StartPageHero = ({ header, text, buttonText, buttonLink, imageSrc, isAboveFold }) => {
|
|
64
|
-
var _a, _b, _c;
|
|
65
|
-
return (React.createElement(StartPageHeroWrapper, null,
|
|
66
|
-
React.createElement(Image, { fillAvailableSpace: true, src: imageSrc === null || imageSrc === void 0 ? void 0 : imageSrc.value, className: heroStyles, critical: isAboveFold === null || isAboveFold === void 0 ? void 0 : isAboveFold.value, focalPointY: (_a = imageSrc === null || imageSrc === void 0 ? void 0 : imageSrc.value) === null || _a === void 0 ? void 0 : _a.focalPointY, focalPointX: (_b = imageSrc === null || imageSrc === void 0 ? void 0 : imageSrc.value) === null || _b === void 0 ? void 0 : _b.focalPointX, aspect: '2:1' },
|
|
67
|
-
React.createElement(Container, null,
|
|
68
|
-
React.createElement(Title, null, header === null || header === void 0 ? void 0 : header.value),
|
|
69
|
-
React.createElement(Description, null, text === null || text === void 0 ? void 0 : text.value),
|
|
70
|
-
React.createElement(StyledButton, { to: (_c = buttonLink === null || buttonLink === void 0 ? void 0 : buttonLink.value) !== null && _c !== void 0 ? _c : '/' }, buttonText === null || buttonText === void 0 ? void 0 : buttonText.value)))));
|
|
71
|
-
};
|
|
72
|
-
export default StartPageHero;
|
|
73
|
-
//# sourceMappingURL=StartPageHero.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StartPageHero.js","sourceRoot":"","sources":["../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AE,KAAK,EACpB,SAAS,EAAE,UAAU,EACrB,QAAQ,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,EAC5B,WAAW,EAAE,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,KAAK,0CAAE,WAAW,EACzC,WAAW,EAAE,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,KAAK,0CAAE,WAAW,EACzC,MAAM,EAAE,KAAK;YAEb,oBAAC,SAAS;gBACR,oBAAC,KAAK,QAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,CAAS;gBAC9B,oBAAC,WAAW,QAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAe;gBACxC,oBAAC,YAAY,IAAC,EAAE,EAAE,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,mCAAI,GAAG,IACvC,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,CACL,CACL,CACN,CACa,CACxB,CAAA;CAAA,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { css } from 'linaria';
|
|
13
|
-
import { styled } from 'linaria/react';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
import { theme } from '../../Theme';
|
|
16
|
-
import { ProductGrid } from '../../CategoryPage/ProductGrid';
|
|
17
|
-
import MaxWidth from '../../Layout/MaxWidth';
|
|
18
|
-
import { Title } from './Row';
|
|
19
|
-
import { usePropsOfType } from '@jetshop/ui/utils/usePropsOfType';
|
|
20
|
-
const Container = styled('div') `
|
|
21
|
-
padding-top: 48px;
|
|
22
|
-
padding-bottom: 28px;
|
|
23
|
-
background-color: #f7f7f7;
|
|
24
|
-
${theme.below.sm} {
|
|
25
|
-
padding-top: 32px;
|
|
26
|
-
padding-bottom: 4px;
|
|
27
|
-
}
|
|
28
|
-
`;
|
|
29
|
-
// The horizontal scroll is styled in a way that on any resolution smaller than 'lg', a part of the second/third item can be seen, indicating it is a horizontally scrollable container.
|
|
30
|
-
const productGrid = css `
|
|
31
|
-
flex-wrap: nowrap !important;
|
|
32
|
-
${theme.below.md} {
|
|
33
|
-
overflow-x: auto;
|
|
34
|
-
.product-card {
|
|
35
|
-
width: 300px;
|
|
36
|
-
flex-shrink: 0;
|
|
37
|
-
max-width: 40vw;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
${theme.below.sm} {
|
|
41
|
-
.product-card {
|
|
42
|
-
max-width: 60vw;
|
|
43
|
-
width: 340px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
${theme.below.xs} {
|
|
47
|
-
.product-card {
|
|
48
|
-
max-width: 75vw;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@supports (display: grid) {
|
|
53
|
-
grid-template-columns: repeat(4, 1fr);
|
|
54
|
-
margin: 0;
|
|
55
|
-
${theme.below.md} {
|
|
56
|
-
grid-template-columns: repeat(10, 1fr);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
`;
|
|
60
|
-
const StartPageProductGrid = (_a) => {
|
|
61
|
-
var { header } = _a, rest = __rest(_a, ["header"]);
|
|
62
|
-
const { filteredItems: products } = usePropsOfType(rest, 'product');
|
|
63
|
-
return (React.createElement(Container, null,
|
|
64
|
-
React.createElement(MaxWidth, null,
|
|
65
|
-
React.createElement(Title, null, header.value),
|
|
66
|
-
React.createElement(ProductGrid, { imageSizes: [1 / 2, 1 / 2, 1 / 4], list: "Start page - Selected products", products: products, className: productGrid }))));
|
|
67
|
-
};
|
|
68
|
-
export default StartPageProductGrid;
|
|
69
|
-
//# sourceMappingURL=StartPageProductGrid.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StartPageProductGrid.js","sourceRoot":"","sources":["../../../../../src/components/StartPage/Content/StartPageProductGrid.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAElE,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;;;IAI3B,KAAK,CAAC,KAAK,CAAC,EAAE;;;;CAIjB,CAAC;AAEF,wLAAwL;AACxL,MAAM,WAAW,GAAG,GAAG,CAAA;;IAEnB,KAAK,CAAC,KAAK,CAAC,EAAE;;;;;;;;IAQd,KAAK,CAAC,KAAK,CAAC,EAAE;;;;;;IAMd,KAAK,CAAC,KAAK,CAAC,EAAE;;;;;;;;;MASZ,KAAK,CAAC,KAAK,CAAC,EAAE;;;;CAInB,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,EAAmB,EAAE,EAAE;QAAvB,EAAE,MAAM,OAAW,EAAN,IAAI,cAAjB,UAAmB,CAAF;IAC7C,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,cAAc,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IAEpE,OAAO,CACL,oBAAC,SAAS;QACR,oBAAC,QAAQ;YACP,oBAAC,KAAK,QAAE,MAAM,CAAC,KAAK,CAAS;YAC7B,oBAAC,WAAW,IACV,UAAU,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,EACjC,IAAI,EAAC,gCAAgC,EACrC,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,WAAW,GACtB,CACO,CACD,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { useQuery } from '@apollo/client';
|
|
2
|
-
import StartPageRenderer from '@jetshop/ui/StartPageRenderer';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { styled } from 'linaria/react';
|
|
5
|
-
import LoadingPage from '../LoadingPage';
|
|
6
|
-
import StartPageCampaign from './Content/StartPageCampaign';
|
|
7
|
-
import StartPageCategories from './Content/StartPageCategories';
|
|
8
|
-
import StartPageHero from './Content/StartPageHero';
|
|
9
|
-
import StartPageHTMLContent from './Content/StartPageHTMLContent';
|
|
10
|
-
import StartPageProductGrid from './Content/StartPageProductGrid';
|
|
11
|
-
import startPageQuery from './StartPageQuery.gql';
|
|
12
|
-
import { StartPageCategoryItem } from './Content/StartPageCategories';
|
|
13
|
-
const startPageComponents = {
|
|
14
|
-
HERO: StartPageHero,
|
|
15
|
-
HTML: StartPageHTMLContent,
|
|
16
|
-
CATEGORIES: StartPageCategories,
|
|
17
|
-
CAMPAIGN: StartPageCampaign,
|
|
18
|
-
PRODUCTGRID: StartPageProductGrid,
|
|
19
|
-
CATEGORYITEM: StartPageCategoryItem
|
|
20
|
-
};
|
|
21
|
-
const StartPageWrapper = styled('div') `
|
|
22
|
-
width: 100%;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
`;
|
|
26
|
-
const StartPage = ({ startPageId }) => {
|
|
27
|
-
const result = useQuery(startPageQuery, {
|
|
28
|
-
variables: { startPageId: startPageId }
|
|
29
|
-
});
|
|
30
|
-
const { loading } = result;
|
|
31
|
-
if (loading || !(result === null || result === void 0 ? void 0 : result.data))
|
|
32
|
-
return React.createElement(LoadingPage, null);
|
|
33
|
-
return (React.createElement(StartPageWrapper, null,
|
|
34
|
-
React.createElement(StartPageRenderer, { result: result, startPageComponents: startPageComponents, LoadingPage: LoadingPage })));
|
|
35
|
-
};
|
|
36
|
-
export default StartPage;
|
|
37
|
-
//# sourceMappingURL=StartPage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StartPage.js","sourceRoot":"","sources":["../../../../src/components/StartPage/StartPage.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,iBAAiB,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,iBAAiB,MAAM,6BAA6B,CAAC;AAC5D,OAAO,mBAAmB,MAAM,+BAA+B,CAAC;AAChE,OAAO,aAAa,MAAM,yBAAyB,CAAC;AACpD,OAAO,oBAAoB,MAAM,gCAAgC,CAAC;AAClE,OAAO,oBAAoB,MAAM,gCAAgC,CAAC;AAClE,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,mBAAmB,GAAG;IAC1B,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,oBAAoB;IAC1B,UAAU,EAAE,mBAAmB;IAC/B,QAAQ,EAAE,iBAAiB;IAC3B,WAAW,EAAE,oBAAoB;IACjC,YAAY,EAAE,qBAAqB;CACpC,CAAC;AAEF,MAAM,gBAAgB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;;;CAIrC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE;IACpC,MAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,EAAE;QACtC,SAAS,EAAE,EAAE,WAAW,EAAE,WAAW,EAAE;KACxC,CAAC,CAAC;IACH,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;IAE3B,IAAI,OAAO,IAAI,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAA;QAAE,OAAO,oBAAC,WAAW,OAAG,CAAC;IAErD,OAAO,CACL,oBAAC,gBAAgB;QACf,oBAAC,iBAAiB,IAChB,MAAM,EAAE,MAAM,EACd,mBAAmB,EAAE,mBAAmB,EACxC,WAAW,EAAE,WAAW,GACxB,CACe,CACpB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import loadable from '@loadable/component';
|
|
3
|
-
import LoadingPage from '../LoadingPage';
|
|
4
|
-
export default loadable(() => import('./StartPage'), {
|
|
5
|
-
fallback: React.createElement(LoadingPage, null)
|
|
6
|
-
});
|
|
7
|
-
//# sourceMappingURL=StartPage.loadable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StartPage.loadable.js","sourceRoot":"","sources":["../../../../src/components/StartPage/StartPage.loadable.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,eAAe,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE;IACnD,QAAQ,EAAE,oBAAC,WAAW,OAAG;CAC1B,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/StartPage/index.js"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,eAAe,SAAS,CAAC"}
|