tabexseriescomponents 0.0.225 → 0.0.227
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/dist/index.cjs.js +118 -90
- package/dist/index.esm.js +118 -90
- package/dist/index.umd.js +118 -90
- package/package.json +1 -1
- package/srcold/Contexts/LanguageContext.jsx +0 -390
- package/srcold/Contexts/ProductsCardsSectionContext.jsx +0 -34
- package/srcold/StylesJS/Customstyles.js +0 -236
- package/srcold/TabexComponents/Cards/Card20/Card20.jsx +0 -282
- package/srcold/TabexComponents/Cards/Card21/Card21.jsx +0 -388
- package/srcold/TabexComponents/Cards/Card22/Card22.jsx +0 -287
- package/srcold/TabexComponents/Cards/Card23/Card23.jsx +0 -403
- package/srcold/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -395
- package/srcold/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
- package/srcold/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
- package/srcold/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -220
- package/srcold/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -230
- package/srcold/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -198
- package/srcold/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -170
- package/srcold/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -181
- package/srcold/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
- package/srcold/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -180
- package/srcold/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -487
- package/srcold/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -123
- package/srcold/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -192
- package/srcold/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -270
- package/srcold/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -543
- package/srcold/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -467
- package/srcold/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -469
- package/srcold/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -445
- package/srcold/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
- package/srcold/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -256
- package/srcold/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -278
- package/srcold/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -443
- package/srcold/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -275
- package/srcold/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
- package/srcold/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -301
- package/srcold/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -419
- package/srcold/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -524
- package/srcold/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
- package/srcold/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
- package/srcold/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -136
- package/srcold/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -179
- package/srcold/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -291
- package/srcold/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -339
- package/srcold/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -338
- package/srcold/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -515
- package/srcold/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -184
- package/srcold/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -475
- package/srcold/TabexComponents/Footer/Footer1/Footer1.jsx +0 -448
- package/srcold/TabexComponents/Footer/Footer2/Footer2.jsx +0 -383
- package/srcold/TabexComponents/Footer/Footer3/Footer3.jsx +0 -394
- package/srcold/TabexComponents/Footer/Footer4/Footer4.jsx +0 -699
- package/srcold/TabexComponents/Footer/Footer5/Footer5.jsx +0 -523
- package/srcold/TabexComponents/Footer/Footer6/Footer6.jsx +0 -301
- package/srcold/TabexComponents/Footer/Footer7/Footer7.jsx +0 -415
- package/srcold/TabexComponents/Footer/Footer8/Footer8.jsx +0 -454
- package/srcold/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -329
- package/srcold/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -274
- package/srcold/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcold/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/srcold/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -880
- package/srcold/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -870
- package/srcold/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -688
- package/srcold/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -720
- package/srcold/TabexComponents/Headers/Header4/Header4.jsx +0 -621
- package/srcold/TabexComponents/Headers/Header8/Header8.jsx +0 -824
- package/srcold/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -730
- package/srcold/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -762
- package/srcold/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -706
- package/srcold/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -900
- package/srcold/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -841
- package/srcold/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -988
- package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveNew.jsx +0 -1081
- package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -988
- package/srcold/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -917
- package/srcold/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -693
- package/srcold/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -952
- package/srcold/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -636
- package/srcold/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -853
- package/srcold/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -373
- package/srcold/TabexComponents/Headers/Subheader/Subheader.jsx +0 -515
- package/srcold/TabexComponents/Headers/Subheader/SubheaderDropdown.jsx +0 -190
- package/srcold/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -483
- package/srcold/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1005
- package/srcold/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1020
- package/srcold/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader .jsx +0 -843
- package/srcold/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -448
- package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -346
- package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -304
- package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -301
- package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -312
- package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -271
- package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -174
- package/srcold/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -200
- package/srcold/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -263
- package/srcold/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -143
- package/srcold/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -248
- package/srcold/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -295
- package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -394
- package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -406
- package/srcold/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -246
- package/srcold/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1220
- package/srcold/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -480
- package/srcold/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -718
- package/srcold/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
- package/srcold/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -652
- package/srcold/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -635
- package/srcold/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -495
- package/srcold/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
- package/srcold/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -250
- package/srcold/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -160
- package/srcold/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -256
- package/srcold/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -329
- package/srcold/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -266
- package/srcold/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -371
- package/srcold/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -140
- package/srcold/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -374
- package/srcold/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -339
- package/srcold/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -303
- package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -224
- package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -147
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -139
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -324
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -525
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -569
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -475
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +0 -91
- package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -369
- package/srcold/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -392
- package/srcold/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -213
- package/srcold/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -467
- package/srcold/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -181
- package/srcold/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1280
- package/srcold/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1392
- package/srcold/TabexComponents/StaticPages/Filter/Filter.jsx +0 -1399
- package/srcold/TabexComponents/StaticPages/Filter/FilterOriginal.jsx +0 -1132
- package/srcold/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -60
- package/srcold/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
- package/srcold/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
- package/srcold/TabexComponents/StaticPages/Login/Login.jsx +0 -469
- package/srcold/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -143
- package/srcold/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1329
- package/srcold/TabexComponents/StaticPages/Policies/Policies.jsx +0 -306
- package/srcold/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -1334
- package/srcold/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -715
- package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype copy.jsx +0 -361
- package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -361
- package/srcold/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -501
- package/srcold/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
- package/srcold/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -227
- package/srcold/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -832
- package/srcold/TabexComponents/StaticPages/Signup/Signup.jsx +0 -154
- package/srcold/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -280
- package/srcold/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -671
- package/srcold/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -538
- package/srcold/assets/images/appstore.png +0 -0
- package/srcold/assets/images/cod.png +0 -0
- package/srcold/assets/images/egyptflag.png +0 -0
- package/srcold/assets/images/fawry.png +0 -0
- package/srcold/assets/images/googleplay.png +0 -0
- package/srcold/assets/images/ksa.png +0 -0
- package/srcold/assets/images/mastercard.png +0 -0
- package/srcold/assets/images/payment.png +0 -0
- package/srcold/assets/images/paymob.png +0 -0
- package/srcold/assets/images/paypal.png +0 -0
- package/srcold/assets/images/shoppingcart.png +0 -0
- package/srcold/assets/images/usflag.png +0 -0
- package/srcold/assets/images/visa.png +0 -0
- package/srcold/assets/images/whatsapp.png +0 -0
- package/srcold/button.jsx +0 -40
- package/srcold/index.jsx +0 -283
- package/srcold/styles/Home.module.css +0 -129
- package/srcold/styles/cards/Categorcycard_fullimage.module.css +0 -10
- package/srcold/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
- package/srcold/styles/cards/Categorycard_withshapes.module.css +0 -189
- package/srcold/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
- package/srcold/styles/cards/Productcard6.module.css +0 -9
- package/srcold/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
- package/srcold/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
- package/srcold/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
- package/srcold/styles/cards/categorycard.module.css +0 -85
- package/srcold/styles/cards/categorycard3.module.css +0 -50
- package/srcold/styles/cards/categorycardwithtext.module.css +0 -40
- package/srcold/styles/cards/productcard_animatedbuttons.module.css +0 -130
- package/srcold/styles/cards/productcard_with_textonhover.module.css +0 -18
- package/srcold/styles/cards/productcard_withtextonimage.module.css +0 -0
- package/srcold/styles/cards/productccard_with_imageontopleft.module.css +0 -85
- package/srcold/styles/general/bootstrap.css +0 -4727
- package/srcold/styles/general/dropdown.css +0 -206
- package/srcold/styles/general/editorbardropdown.module.css +0 -94
- package/srcold/styles/general/filter.module.css +0 -108
- package/srcold/styles/general/form.module.css +0 -273
- package/srcold/styles/general/general.module.css +0 -872
- package/srcold/styles/general/image-gallery.css +0 -531
- package/srcold/styles/general/react-accessible-accordion.module.css +0 -52
- package/srcold/styles/general/react-phone-input-2.module.css +0 -927
- package/srcold/styles/general/scrollbtn.module.css +0 -22
- package/srcold/styles/general/slick.module.css +0 -166
- package/srcold/styles/general/tabs.module.css +0 -119
- package/srcold/styles/general/workplaceeditor.module.css +0 -328
- package/srcold/styles/globals.css +0 -26
- package/srcold/styles/headers/CTAHeader.module.css +0 -40
- package/srcold/styles/headers/CategoryFeaturingHeader.module.css +0 -61
- package/srcold/styles/headers/Gotoheader.module.css +0 -81
- package/srcold/styles/headers/Header7.module.css +0 -50
- package/srcold/styles/headers/HeaderWithAdSlider.module.css +0 -86
- package/srcold/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
- package/srcold/styles/headers/HeaderWithUtilityBar.module.css +0 -46
- package/srcold/styles/headers/Header_threesectionslogocentered.module.css +0 -84
- package/srcold/styles/headers/NewHeader.module.css +0 -101
- package/srcold/styles/headers/SearchFocusedHeader.module.css +0 -62
- package/srcold/styles/headers/Sideheader.module.css +0 -108
- package/srcold/styles/headers/Simpleheader.module.css +0 -102
- package/srcold/styles/headers/classicheader.module.css +0 -16
- package/srcold/styles/headers/classicheaderstyles.module.css +0 -9
- package/srcold/styles/headers/dropdown.css +0 -0
- package/srcold/styles/headers/header4.module.css +0 -175
- package/srcold/styles/headers/header5.module.css +0 -30
- package/srcold/styles/headers/header_contactinfo.module.css +0 -53
- package/srcold/styles/headers/headerresturant.module.css +0 -89
- package/srcold/styles/headers/modernheader.module.css +0 -72
- package/srcold/styles/headers/stylishheader.module.css +0 -24
- package/srcold/styles/headers/subheader.module.css +0 -114
- package/srcold/styles/headers/threetieredheader.module.css +0 -91
- package/srcold/styles/sections/BackgroundImageWithTopContent.css +0 -4
- package/srcold/styles/sections/Backgroundimage1.module.css +0 -17
- package/srcold/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
- package/srcold/styles/sections/Section_with_rightbgcont.module.css +0 -49
- package/srcold/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
- package/srcold/styles/sections/Slideshow_with_squarebg.module.css +0 -39
- package/srcold/styles/staticpages/accordion.module.css +0 -9
- package/srcold/styles/staticpages/cart.module.css +0 -108
- package/srcold/styles/staticpages/dropdown.css +0 -196
- package/srcold/styles/staticpages/filter.module.css +0 -139
- package/srcold/styles/staticpages/image-gallery.css +0 -481
- package/srcold/styles/staticpages/login.module.css +0 -113
- package/srcold/styles/staticpages/productinfo.module.css +0 -54
- package/srcold/styles/staticpages/shop.module.css +0 -191
- package/srcold/styles/staticpages/signup.module.css +0 -206
- package/srcold/styles/staticpages/staticroutersidenav.module.css +0 -129
- package/srcold/styles/staticpages/viewcart.module.css +0 -129
- package/srcold/styles/staticpages/wishlist.module.css +0 -29
|
@@ -1,635 +0,0 @@
|
|
|
1
|
-
// All take sectionidprops & sectionindexprops
|
|
2
|
-
import React, { useEffect, useState, useContext } from 'react';
|
|
3
|
-
import generalstyles from '../../../../styles/general/general.module.css';
|
|
4
|
-
import { css } from 'glamor';
|
|
5
|
-
import { IKImage } from 'imagekitio-react';
|
|
6
|
-
import { IKpublicKey, IKurlEndpoint } from '../../../../../Env';
|
|
7
|
-
import { useInView } from 'react-intersection-observer';
|
|
8
|
-
import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircleRight';
|
|
9
|
-
import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
|
|
10
|
-
import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
|
|
11
|
-
|
|
12
|
-
const RandomlyStructuredCollectionCards = (props) => {
|
|
13
|
-
const { ref, inView } = useInView();
|
|
14
|
-
const lang = props.actions.lang;
|
|
15
|
-
const langdetect = props.actions.langdetect;
|
|
16
|
-
const fetchProductsQuery = props.actions.fetchProductsQuery;
|
|
17
|
-
const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
|
|
18
|
-
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
19
|
-
const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
20
|
-
const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
21
|
-
const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
22
|
-
const routingcountext = props.actions.routingcountext;
|
|
23
|
-
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
24
|
-
const setfetchingtype = props.actions.setfetchingtype;
|
|
25
|
-
const fetchingtype = props.actions.fetchingtype;
|
|
26
|
-
const actions = props.actions;
|
|
27
|
-
const setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
|
|
28
|
-
const ParentCollectionsForCollectionQueryArr = props.actions.ParentCollectionsForCollectionQueryArr;
|
|
29
|
-
const [sectionproperties, setsectionproperties] = useState('');
|
|
30
|
-
const [cardsarray, setcardsarray] = useState([]);
|
|
31
|
-
const [ProductsFetchingTypeSectionObj, setProductsFetchingTypeSectionObj] = useState({ productfetchingtype: 'Random', collectionid: '' });
|
|
32
|
-
React.useEffect(() => {
|
|
33
|
-
if (inView) {
|
|
34
|
-
fetchProductsQuery.fetchNextPage();
|
|
35
|
-
}
|
|
36
|
-
}, [inView]);
|
|
37
|
-
useEffect(() => {
|
|
38
|
-
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
39
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
40
|
-
var secpropobj = {};
|
|
41
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
42
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
43
|
-
});
|
|
44
|
-
setsectionproperties({ ...secpropobj });
|
|
45
|
-
setfetchingtype(sectionitem.fetchingtype);
|
|
46
|
-
setProductsFetchingTypeSectionObj({
|
|
47
|
-
productfetchingtype: sectionitem.productsfetchingtype,
|
|
48
|
-
collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
}, [StatePagePropertiesContext]);
|
|
53
|
-
useEffect(() => {
|
|
54
|
-
if (sectionproperties.length != 0) {
|
|
55
|
-
if (cardsarray.length == 0) {
|
|
56
|
-
if (fetchcollectionsQueryContext.isSuccess) {
|
|
57
|
-
cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}, [sectionproperties]);
|
|
62
|
-
useEffect(() => {
|
|
63
|
-
if (fetchingtype.length != 0) {
|
|
64
|
-
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
65
|
-
if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
|
|
66
|
-
setParentCollectionsForCollectionQueryArr('all');
|
|
67
|
-
} else {
|
|
68
|
-
setParentCollectionsForCollectionQueryArr([ProductsFetchingTypeSectionObj.collectionid]);
|
|
69
|
-
}
|
|
70
|
-
setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
|
|
71
|
-
}
|
|
72
|
-
}, [fetchingtype, ProductsFetchingTypeSectionObj]);
|
|
73
|
-
useEffect(() => {
|
|
74
|
-
if (fetchcollectionsQueryContext.isSuccess) {
|
|
75
|
-
cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
|
|
76
|
-
}
|
|
77
|
-
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
78
|
-
const cardobjassigner = (fetchedarray) => {
|
|
79
|
-
var temparray = [];
|
|
80
|
-
fetchedarray.forEach(function (arrayItem, arrayindex) {
|
|
81
|
-
var cardobj = {
|
|
82
|
-
name: '',
|
|
83
|
-
image: '',
|
|
84
|
-
index: arrayindex,
|
|
85
|
-
collectionid: '',
|
|
86
|
-
};
|
|
87
|
-
cardobj.collectionid = arrayItem.collectionid;
|
|
88
|
-
if (langdetect == 'en') {
|
|
89
|
-
cardobj.name = arrayItem.title_en;
|
|
90
|
-
cardobj.description = arrayItem.description_en;
|
|
91
|
-
} else if (langdetect == 'ar') {
|
|
92
|
-
cardobj.name = arrayItem.title_ar;
|
|
93
|
-
cardobj.description = arrayItem.description_ar;
|
|
94
|
-
}
|
|
95
|
-
cardobj.image = arrayItem.collectionlogo;
|
|
96
|
-
cardobj.collectionid = arrayItem.collectionid;
|
|
97
|
-
temparray.push(cardobj);
|
|
98
|
-
});
|
|
99
|
-
setcardsarray([...temparray]);
|
|
100
|
-
};
|
|
101
|
-
const section_cssstyles = {
|
|
102
|
-
sectiontitlespan: css({
|
|
103
|
-
':after': {
|
|
104
|
-
height: '5px',
|
|
105
|
-
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
106
|
-
backgroundColor: sectionproperties.linebgcolor,
|
|
107
|
-
},
|
|
108
|
-
}),
|
|
109
|
-
line_left: css({
|
|
110
|
-
height: '1px',
|
|
111
|
-
position: 'relative',
|
|
112
|
-
flex: '1 1 auto',
|
|
113
|
-
minWidth: '10%',
|
|
114
|
-
background: sectionproperties.linebgcolor,
|
|
115
|
-
}),
|
|
116
|
-
line_right: css({
|
|
117
|
-
height: '1px',
|
|
118
|
-
position: 'relative',
|
|
119
|
-
flex: '1 1 auto',
|
|
120
|
-
minWidth: '10%',
|
|
121
|
-
background: sectionproperties.linebgcolor,
|
|
122
|
-
}),
|
|
123
|
-
cards_sections: css({
|
|
124
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
125
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
126
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
127
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
128
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
129
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
130
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
131
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
132
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
133
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
134
|
-
borderColor: sectionproperties.sectioncardbordercolor,
|
|
135
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
136
|
-
}),
|
|
137
|
-
viewmorebtn: css({
|
|
138
|
-
width: sectionproperties.viewmorebtn_Width + 'px',
|
|
139
|
-
height: sectionproperties.viewmorebtn_Height + 'px',
|
|
140
|
-
background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
|
|
141
|
-
borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
|
|
142
|
-
color: sectionproperties.viewmorebtn_Textcolor,
|
|
143
|
-
fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
|
|
144
|
-
fontWeight: sectionproperties.viewmorebtn_fontWeight,
|
|
145
|
-
textDecoration: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'underline' : 'none',
|
|
146
|
-
transition: '.3s',
|
|
147
|
-
':hover': {
|
|
148
|
-
background: sectionproperties.viewmorebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColoronhover,
|
|
149
|
-
color: sectionproperties.viewmorebtn_Textcoloronhover,
|
|
150
|
-
},
|
|
151
|
-
}),
|
|
152
|
-
collectionname: css({
|
|
153
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
154
|
-
color: sectionproperties.generaltext_fontColor,
|
|
155
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
156
|
-
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
157
|
-
}),
|
|
158
|
-
collectioncardbutton: css({
|
|
159
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
160
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
161
|
-
background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
|
|
162
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
163
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
164
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
165
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
166
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
167
|
-
color: sectionproperties.generalbtn_textColor,
|
|
168
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
169
|
-
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
170
|
-
cursor: 'pointer',
|
|
171
|
-
transition: '.3s',
|
|
172
|
-
':hover': {
|
|
173
|
-
background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
|
|
174
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
175
|
-
},
|
|
176
|
-
}),
|
|
177
|
-
cardcont: css({
|
|
178
|
-
':hover .collectioncardbutton': {
|
|
179
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
180
|
-
},
|
|
181
|
-
}),
|
|
182
|
-
bgcontainer: css({
|
|
183
|
-
':before': {
|
|
184
|
-
content: 's',
|
|
185
|
-
position: 'absolute',
|
|
186
|
-
top: 0,
|
|
187
|
-
right: 0,
|
|
188
|
-
bottom: 0,
|
|
189
|
-
left: 0,
|
|
190
|
-
fontSize: 0,
|
|
191
|
-
width: '100%',
|
|
192
|
-
height: '100%',
|
|
193
|
-
backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')',
|
|
194
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
195
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
196
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
197
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
198
|
-
},
|
|
199
|
-
}),
|
|
200
|
-
};
|
|
201
|
-
const cardsrender = () => {
|
|
202
|
-
return (
|
|
203
|
-
<div class={'row m-0 w-100'}>
|
|
204
|
-
{!fetchProductsQuery.isFetching && cardsarray.length == 0 && (
|
|
205
|
-
<div class="row m-0 w-100 d-flex align-items-center" style={{ height: '45vh' }}>
|
|
206
|
-
<div className="col-lg-12 text-light d-flex align-items-center justify-content-center flex-column">
|
|
207
|
-
<FiLayers
|
|
208
|
-
style={{
|
|
209
|
-
fontSize: sectionproperties.noprod_iconfontSize + 'px',
|
|
210
|
-
color: sectionproperties.noprod_iconcolor,
|
|
211
|
-
}}
|
|
212
|
-
/>
|
|
213
|
-
<p
|
|
214
|
-
style={{
|
|
215
|
-
fontSize: sectionproperties.noprod_fontSize + 'px',
|
|
216
|
-
fontWeight: sectionproperties.noprod_fontWeight,
|
|
217
|
-
textTransform: sectionproperties.noprod_textTransform,
|
|
218
|
-
color: sectionproperties.noprod_color,
|
|
219
|
-
}}
|
|
220
|
-
>
|
|
221
|
-
{langdetect == 'en' ? 'No Collections Found' : 'لا توجد مجموعات'}
|
|
222
|
-
</p>
|
|
223
|
-
</div>
|
|
224
|
-
</div>
|
|
225
|
-
)}
|
|
226
|
-
{cardsarray.length != 0 && sectionproperties.length != 0 && (
|
|
227
|
-
<div class="row m-0 w-100 d-flex align-items-center p-sm-0">
|
|
228
|
-
<div
|
|
229
|
-
class="row ml-0 mr-0 w-100 pl-md-1 pr-md-1 pl-sm-2 pr-sm-2"
|
|
230
|
-
style={{
|
|
231
|
-
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
232
|
-
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
233
|
-
paddingLeft: sectionproperties.sectionTitleMarginLeft + 'px',
|
|
234
|
-
paddingRight: sectionproperties.sectionTitleMarginRight + 'px',
|
|
235
|
-
}}
|
|
236
|
-
>
|
|
237
|
-
{sectionproperties.sectiontitleshow == 'Show' && (
|
|
238
|
-
<div
|
|
239
|
-
class={
|
|
240
|
-
sectionproperties.viewmorebtnshow == 'Show'
|
|
241
|
-
? ' col-lg-6 col-md-6 col-sm-6 d-flex align-items-center p-0 '
|
|
242
|
-
: ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
|
|
243
|
-
}
|
|
244
|
-
>
|
|
245
|
-
<div
|
|
246
|
-
class={`${generalstyles.sectiontitlecont}` + ' col-lg-12 p-0 d-flex align-items-center mb-auto '}
|
|
247
|
-
style={{
|
|
248
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
249
|
-
}}
|
|
250
|
-
>
|
|
251
|
-
<div
|
|
252
|
-
class="d-flex align-items-center flex-row"
|
|
253
|
-
style={{
|
|
254
|
-
position: 'relative',
|
|
255
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
256
|
-
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
257
|
-
}}
|
|
258
|
-
>
|
|
259
|
-
{sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_left + ' d-sm-none '}></span>}
|
|
260
|
-
<p
|
|
261
|
-
class={`${section_cssstyles.sectiontitlespan}` + ' mb-auto mb-0 pb-0 font-sm-18 font-md-20 wordbreak d-flex align-items-center justify-content-start '}
|
|
262
|
-
style={{
|
|
263
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
264
|
-
color: sectionproperties.sectionTitleColor,
|
|
265
|
-
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
266
|
-
paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
|
|
267
|
-
paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
|
|
268
|
-
}}
|
|
269
|
-
>
|
|
270
|
-
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
271
|
-
</p>
|
|
272
|
-
{sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_right + ' d-sm-none '}></span>}
|
|
273
|
-
</div>
|
|
274
|
-
</div>
|
|
275
|
-
</div>
|
|
276
|
-
)}
|
|
277
|
-
<div class="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end justify-content-sm-center p-0">
|
|
278
|
-
<div class="row m-0 w-100 d-flex align-item-center justify-content-end ">
|
|
279
|
-
{sectionproperties.view_as_slider_vertical == 'Slider (Horizontal)' && sectionproperties.viewmorebtnshow == 'Show' && (
|
|
280
|
-
<div class={'pl-0 pr-0 d-flex justify-content-end justify-content-sm-center pl-1 pr-0'}>
|
|
281
|
-
<button
|
|
282
|
-
class={`${section_cssstyles.viewmorebtn}` + ' w-sm-auto btn-circle-resp m-sm-0 '}
|
|
283
|
-
onClick={() => {
|
|
284
|
-
if (fetchingtype == 'products') {
|
|
285
|
-
if (ProductsFetchingTypeSectionObj.productfetchingtype == 'Collection') {
|
|
286
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + ProductsFetchingTypeSectionObj.collectionid);
|
|
287
|
-
} else {
|
|
288
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
289
|
-
}
|
|
290
|
-
} else {
|
|
291
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
292
|
-
}
|
|
293
|
-
}}
|
|
294
|
-
>
|
|
295
|
-
<span class="d-md-none">{langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar}</span>
|
|
296
|
-
<span class="d-none d-md-flex align-items-center justify-content-center">
|
|
297
|
-
<i class="h-100 d-flex align-items-center justify-content-center">{langdetect == 'en' ? <FaArrowAltCircleRight /> : <FaArrowAltCircleLeft />}</i>
|
|
298
|
-
</span>
|
|
299
|
-
</button>
|
|
300
|
-
</div>
|
|
301
|
-
)}
|
|
302
|
-
</div>
|
|
303
|
-
</div>
|
|
304
|
-
{sectionproperties.showseparator == 'Show' && (
|
|
305
|
-
<div class="col-lg-12 p-0">
|
|
306
|
-
<hr class="mt-2 mb-2" style={{ borderColor: sectionproperties.upperseparatorbgcolor }} />
|
|
307
|
-
</div>
|
|
308
|
-
)}
|
|
309
|
-
</div>
|
|
310
|
-
<div
|
|
311
|
-
class={
|
|
312
|
-
sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
|
|
313
|
-
? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 pr-md-2 '
|
|
314
|
-
: sectionproperties.paddingRight != 0
|
|
315
|
-
? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pr-md-2 '
|
|
316
|
-
: sectionproperties.paddingLeft != 0
|
|
317
|
-
? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 '
|
|
318
|
-
: section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center '
|
|
319
|
-
}
|
|
320
|
-
>
|
|
321
|
-
<div class="row m-0 w-100 ">
|
|
322
|
-
<div
|
|
323
|
-
class={
|
|
324
|
-
langdetect == 'en'
|
|
325
|
-
? section_cssstyles.cardcont + ' col-lg-6 pl-0 pr-0 p-md-0 mb-md-3 cursor-pointer '
|
|
326
|
-
: section_cssstyles.cardcont + ' col-lg-6 pr-0 pl-0 p-md-0 mb-md-3 cursor-pointer '
|
|
327
|
-
}
|
|
328
|
-
style={{}}
|
|
329
|
-
onClick={() => {
|
|
330
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[0]?.collectionid);
|
|
331
|
-
}}
|
|
332
|
-
>
|
|
333
|
-
<div
|
|
334
|
-
class="row m-0 w-100"
|
|
335
|
-
style={{
|
|
336
|
-
width: '100%',
|
|
337
|
-
height: '80vh',
|
|
338
|
-
}}
|
|
339
|
-
>
|
|
340
|
-
<div
|
|
341
|
-
class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
|
|
342
|
-
style={{
|
|
343
|
-
width: '100%',
|
|
344
|
-
height: '100%',
|
|
345
|
-
}}
|
|
346
|
-
>
|
|
347
|
-
<IKImage
|
|
348
|
-
path={cardsarray[0]?.image}
|
|
349
|
-
urlEndpoint={IKurlEndpoint}
|
|
350
|
-
publicKey={IKpublicKey}
|
|
351
|
-
loading="lazy"
|
|
352
|
-
style={{
|
|
353
|
-
width: '100%',
|
|
354
|
-
height: '100%',
|
|
355
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
356
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
357
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
358
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
359
|
-
objectFit: 'cover',
|
|
360
|
-
zIndex: 1,
|
|
361
|
-
}}
|
|
362
|
-
/>
|
|
363
|
-
</div>
|
|
364
|
-
<div style={{ position: 'absolute', zIndex: 1000, height: '100%', width: '100%', zIndex: 5 }}>
|
|
365
|
-
<div class="row m-0 w-100 p-3">
|
|
366
|
-
<div class="col-lg-12 p-0 d-flex justify-content-start">
|
|
367
|
-
<p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{cardsarray[0]?.name}</p>
|
|
368
|
-
</div>
|
|
369
|
-
<div class="col-lg-12 p-0 d-flex justify-content-start">
|
|
370
|
-
<p class={section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '}>
|
|
371
|
-
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
372
|
-
</p>
|
|
373
|
-
</div>
|
|
374
|
-
</div>
|
|
375
|
-
</div>
|
|
376
|
-
</div>
|
|
377
|
-
</div>
|
|
378
|
-
<div class={'col-lg-6 pl-0 pr-0'}>
|
|
379
|
-
<div class="row m-0 w-100">
|
|
380
|
-
<div
|
|
381
|
-
class={
|
|
382
|
-
langdetect == 'en'
|
|
383
|
-
? section_cssstyles.cardcont + ' col-lg-6 pr-0 mb-2 p-md-0 mb-md-3 cursor-pointer '
|
|
384
|
-
: section_cssstyles.cardcont + ' col-lg-6 pl-0 mb-2 p-md-0 mb-md-3 cursor-pointer '
|
|
385
|
-
}
|
|
386
|
-
onClick={() => {
|
|
387
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[1]?.collectionid);
|
|
388
|
-
}}
|
|
389
|
-
>
|
|
390
|
-
<div
|
|
391
|
-
class="row m-0 w-100"
|
|
392
|
-
style={{
|
|
393
|
-
width: '100%',
|
|
394
|
-
height: '40vh',
|
|
395
|
-
}}
|
|
396
|
-
>
|
|
397
|
-
<div
|
|
398
|
-
class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
|
|
399
|
-
style={{
|
|
400
|
-
width: '100%',
|
|
401
|
-
height: '100%',
|
|
402
|
-
}}
|
|
403
|
-
>
|
|
404
|
-
<IKImage
|
|
405
|
-
urlEndpoint={IKurlEndpoint}
|
|
406
|
-
publicKey={IKpublicKey}
|
|
407
|
-
path={cardsarray[1]?.image}
|
|
408
|
-
loading="lazy"
|
|
409
|
-
style={{
|
|
410
|
-
width: '100%',
|
|
411
|
-
height: '100%',
|
|
412
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
413
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
414
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
415
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
416
|
-
objectFit: 'cover',
|
|
417
|
-
zIndex: 1,
|
|
418
|
-
}}
|
|
419
|
-
/>
|
|
420
|
-
</div>
|
|
421
|
-
<div style={{ position: 'absolute', zIndex: 1000, bottom: 20, left: 0, right: 0, margin: 'auto', zIndex: 5 }}>
|
|
422
|
-
<div class="row m-0 w-100 p-3 mt-auto">
|
|
423
|
-
<div class="col-lg-12 p-0 d-flex justify-content-center">
|
|
424
|
-
<p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{cardsarray[1]?.name}</p>
|
|
425
|
-
</div>
|
|
426
|
-
<div class="col-lg-12 p-0 d-flex justify-content-center">
|
|
427
|
-
<p class={section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '}>
|
|
428
|
-
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
429
|
-
</p>
|
|
430
|
-
</div>
|
|
431
|
-
</div>
|
|
432
|
-
</div>
|
|
433
|
-
</div>
|
|
434
|
-
</div>
|
|
435
|
-
<div
|
|
436
|
-
class={section_cssstyles.cardcont + ' col-lg-6 mb-2 p-md-0 mb-md-3 cursor-pointer '}
|
|
437
|
-
style={{
|
|
438
|
-
paddingRight: langdetect == 'en' ? 0 : '',
|
|
439
|
-
paddingLeft: langdetect == 'ar' ? 0 : '',
|
|
440
|
-
}}
|
|
441
|
-
onClick={() => {
|
|
442
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[2]?.collectionid);
|
|
443
|
-
}}
|
|
444
|
-
>
|
|
445
|
-
<div
|
|
446
|
-
class="row m-0 w-100"
|
|
447
|
-
style={{
|
|
448
|
-
width: '100%',
|
|
449
|
-
height: '40vh',
|
|
450
|
-
}}
|
|
451
|
-
>
|
|
452
|
-
<div
|
|
453
|
-
class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
|
|
454
|
-
style={{
|
|
455
|
-
width: '100%',
|
|
456
|
-
height: '100%',
|
|
457
|
-
}}
|
|
458
|
-
>
|
|
459
|
-
<IKImage
|
|
460
|
-
urlEndpoint={IKurlEndpoint}
|
|
461
|
-
publicKey={IKpublicKey}
|
|
462
|
-
path={cardsarray[2]?.image}
|
|
463
|
-
loading="lazy"
|
|
464
|
-
style={{
|
|
465
|
-
width: '100%',
|
|
466
|
-
height: '100%',
|
|
467
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
468
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
469
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
470
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
471
|
-
objectFit: 'cover',
|
|
472
|
-
zIndex: 1,
|
|
473
|
-
}}
|
|
474
|
-
/>
|
|
475
|
-
</div>
|
|
476
|
-
<div style={{ position: 'absolute', zIndex: 1000, bottom: 20, left: 0, right: 0, margin: 'auto', zIndex: 5 }}>
|
|
477
|
-
<div class="row m-0 w-100 p-3 mt-auto">
|
|
478
|
-
<div class="col-lg-12 p-0 d-flex justify-content-center">
|
|
479
|
-
<p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{cardsarray[2]?.name}</p>
|
|
480
|
-
</div>
|
|
481
|
-
<div class="col-lg-12 p-0 d-flex justify-content-center">
|
|
482
|
-
<p class={section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '}>
|
|
483
|
-
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
484
|
-
</p>
|
|
485
|
-
</div>
|
|
486
|
-
</div>
|
|
487
|
-
</div>
|
|
488
|
-
</div>
|
|
489
|
-
</div>
|
|
490
|
-
<div
|
|
491
|
-
class={
|
|
492
|
-
langdetect == 'en'
|
|
493
|
-
? section_cssstyles.cardcont + ' col-lg-7 pr-0 p-md-0 mb-md-3 cursor-pointer '
|
|
494
|
-
: section_cssstyles.cardcont + ' col-lg-7 p-md-0 pl-0 mb-md-3 cursor-pointer '
|
|
495
|
-
}
|
|
496
|
-
onClick={() => {
|
|
497
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[3]?.collectionid);
|
|
498
|
-
}}
|
|
499
|
-
>
|
|
500
|
-
<div
|
|
501
|
-
class="row m-0 w-100"
|
|
502
|
-
style={{
|
|
503
|
-
width: '100%',
|
|
504
|
-
height: '39vh',
|
|
505
|
-
}}
|
|
506
|
-
>
|
|
507
|
-
<div
|
|
508
|
-
class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
|
|
509
|
-
style={{
|
|
510
|
-
width: '100%',
|
|
511
|
-
height: '100%',
|
|
512
|
-
}}
|
|
513
|
-
>
|
|
514
|
-
<IKImage
|
|
515
|
-
urlEndpoint={IKurlEndpoint}
|
|
516
|
-
publicKey={IKpublicKey}
|
|
517
|
-
path={cardsarray[3]?.image}
|
|
518
|
-
loading="lazy"
|
|
519
|
-
style={{
|
|
520
|
-
width: '100%',
|
|
521
|
-
height: '100%',
|
|
522
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
523
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
524
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
525
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
526
|
-
objectFit: 'cover',
|
|
527
|
-
zIndex: 1,
|
|
528
|
-
}}
|
|
529
|
-
/>
|
|
530
|
-
</div>
|
|
531
|
-
<div
|
|
532
|
-
class="allcentered"
|
|
533
|
-
style={{
|
|
534
|
-
position: 'absolute',
|
|
535
|
-
zIndex: 1000,
|
|
536
|
-
height: '100%',
|
|
537
|
-
width: '100%',
|
|
538
|
-
bottom: 0,
|
|
539
|
-
top: 0,
|
|
540
|
-
left: 0,
|
|
541
|
-
right: 0,
|
|
542
|
-
margin: 'auto',
|
|
543
|
-
zIndex: 5,
|
|
544
|
-
}}
|
|
545
|
-
>
|
|
546
|
-
<div class="row m-0 w-100 p-3 mt-auto mb-auto">
|
|
547
|
-
<div class="col-lg-12 p-0 d-flex justify-content-center">
|
|
548
|
-
<p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{cardsarray[3]?.name}</p>
|
|
549
|
-
</div>
|
|
550
|
-
<div class="col-lg-12 p-0 d-flex justify-content-center">
|
|
551
|
-
<p class={section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '}>
|
|
552
|
-
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
553
|
-
</p>
|
|
554
|
-
</div>
|
|
555
|
-
</div>
|
|
556
|
-
</div>
|
|
557
|
-
</div>
|
|
558
|
-
</div>
|
|
559
|
-
<div
|
|
560
|
-
class={section_cssstyles.cardcont + ' col-lg-5 p-md-0 mb-md-3 cursor-pointer '}
|
|
561
|
-
style={{
|
|
562
|
-
paddingRight: langdetect == 'en' ? 0 : '',
|
|
563
|
-
paddingLeft: langdetect == 'ar' ? 0 : '',
|
|
564
|
-
}}
|
|
565
|
-
onClick={() => {
|
|
566
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[4]?.collectionid);
|
|
567
|
-
}}
|
|
568
|
-
>
|
|
569
|
-
<div
|
|
570
|
-
class="row m-0 w-100"
|
|
571
|
-
style={{
|
|
572
|
-
width: '100%',
|
|
573
|
-
height: '39vh',
|
|
574
|
-
}}
|
|
575
|
-
>
|
|
576
|
-
<div
|
|
577
|
-
class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
|
|
578
|
-
style={{
|
|
579
|
-
width: '100%',
|
|
580
|
-
height: '100%',
|
|
581
|
-
}}
|
|
582
|
-
>
|
|
583
|
-
<IKImage
|
|
584
|
-
urlEndpoint={IKurlEndpoint}
|
|
585
|
-
publicKey={IKpublicKey}
|
|
586
|
-
path={cardsarray[4]?.image}
|
|
587
|
-
loading="lazy"
|
|
588
|
-
style={{
|
|
589
|
-
width: '100%',
|
|
590
|
-
height: '100%',
|
|
591
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
592
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
593
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
594
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
595
|
-
objectFit: 'cover',
|
|
596
|
-
zIndex: 1,
|
|
597
|
-
}}
|
|
598
|
-
/>
|
|
599
|
-
</div>
|
|
600
|
-
<div style={{ position: 'absolute', zIndex: 1000, width: '100%', bottom: 10, zIndex: 5 }}>
|
|
601
|
-
<div class="row m-0 w-100 p-3 d-flex justify-content-end">
|
|
602
|
-
<div class="col-lg-12 p-0 d-flex justify-content-start">
|
|
603
|
-
<p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{cardsarray[4]?.name}</p>
|
|
604
|
-
</div>
|
|
605
|
-
<div class="col-lg-12 p-0 d-flex justify-content-start">
|
|
606
|
-
<p class={section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '}>
|
|
607
|
-
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
608
|
-
</p>
|
|
609
|
-
</div>
|
|
610
|
-
</div>
|
|
611
|
-
</div>
|
|
612
|
-
</div>
|
|
613
|
-
</div>
|
|
614
|
-
</div>
|
|
615
|
-
</div>
|
|
616
|
-
</div>
|
|
617
|
-
</div>
|
|
618
|
-
</div>
|
|
619
|
-
)}
|
|
620
|
-
</div>
|
|
621
|
-
);
|
|
622
|
-
};
|
|
623
|
-
return (
|
|
624
|
-
<div
|
|
625
|
-
class="row m-0 d-flex w-100 justify-content-center"
|
|
626
|
-
style={{
|
|
627
|
-
zIndex: 2,
|
|
628
|
-
background: sectionproperties.backgroundColor,
|
|
629
|
-
}}
|
|
630
|
-
>
|
|
631
|
-
{sectionproperties.length != 0 && <div class={' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '}>{cardsrender()}</div>}
|
|
632
|
-
</div>
|
|
633
|
-
);
|
|
634
|
-
};
|
|
635
|
-
export default RandomlyStructuredCollectionCards;
|