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
package/srcold/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx
DELETED
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
import { css } from 'glamor';
|
|
3
|
-
import { IKImage } from 'imagekitio-react';
|
|
4
|
-
import { IKpublicKey, IKurlEndpoint } from '../../../../../Env';
|
|
5
|
-
import ReactPlayer from 'react-player';
|
|
6
|
-
|
|
7
|
-
const FullVideoSection = (props) => {
|
|
8
|
-
const [sectionproperties, setsectionproperties] = useState('');
|
|
9
|
-
const [Videosarrayofobjs, setVideosarrayofobjs] = useState([]);
|
|
10
|
-
const lang = props.actions.lang;
|
|
11
|
-
const langdetect = props.actions.langdetect;
|
|
12
|
-
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
13
|
-
const routingcountext = props.actions.routingcountext;
|
|
14
|
-
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
15
|
-
const actions = props.actions;
|
|
16
|
-
|
|
17
|
-
useEffect(() => {
|
|
18
|
-
var secpropobj = {};
|
|
19
|
-
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
20
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
21
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
22
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
setsectionproperties({ ...secpropobj });
|
|
27
|
-
}, [StatePagePropertiesContext]);
|
|
28
|
-
useEffect(() => {
|
|
29
|
-
if (sectionproperties.length != 0 && sectionproperties.Videosarrayofobjs != undefined) {
|
|
30
|
-
var Videosarrayofobjsparsed = JSON.parse(sectionproperties.Videosarrayofobjs);
|
|
31
|
-
if (Array.isArray(Videosarrayofobjsparsed)) {
|
|
32
|
-
var temparr = [...Videosarrayofobjsparsed];
|
|
33
|
-
temparr.forEach(function (item) {
|
|
34
|
-
item.linkclicked = false;
|
|
35
|
-
});
|
|
36
|
-
setVideosarrayofobjs([...Videosarrayofobjsparsed]);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}, [sectionproperties]);
|
|
40
|
-
const bgcssstyles = {
|
|
41
|
-
text1styles: css({
|
|
42
|
-
color: sectionproperties.slideshowText1ContentColor,
|
|
43
|
-
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
44
|
-
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
45
|
-
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
46
|
-
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
47
|
-
}),
|
|
48
|
-
text2styles: css({
|
|
49
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
50
|
-
marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
|
|
51
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
52
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
53
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
54
|
-
}),
|
|
55
|
-
};
|
|
56
|
-
const SectionTitle = () => {
|
|
57
|
-
return (
|
|
58
|
-
<div
|
|
59
|
-
class="d-flex align-items-center justify-content-md-center flex-row pl-md-2 pr-md-2 w-100"
|
|
60
|
-
style={{
|
|
61
|
-
position: 'relative',
|
|
62
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
63
|
-
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
64
|
-
marginTop: sectionproperties.sectionTitleMarginTop + 'px',
|
|
65
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
|
|
66
|
-
paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
|
|
67
|
-
}}
|
|
68
|
-
>
|
|
69
|
-
<p
|
|
70
|
-
class={
|
|
71
|
-
sectionproperties.sectiontitlefontfamily == 'Pacifico'
|
|
72
|
-
? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
73
|
-
: sectionproperties.sectiontitlefontfamily == 'Playfair'
|
|
74
|
-
? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
75
|
-
: sectionproperties.sectiontitlefontfamily == 'Great Vibes'
|
|
76
|
-
? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
77
|
-
: sectionproperties.sectiontitlefontfamily == 'Quicksand'
|
|
78
|
-
? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
79
|
-
: sectionproperties.sectiontitlefontfamily == 'Satisfy'
|
|
80
|
-
? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
81
|
-
: ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start justify-content-md-center text-md-center '
|
|
82
|
-
}
|
|
83
|
-
style={{
|
|
84
|
-
color: sectionproperties.sectionTitleColor,
|
|
85
|
-
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
86
|
-
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
87
|
-
}}
|
|
88
|
-
>
|
|
89
|
-
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
90
|
-
</p>
|
|
91
|
-
</div>
|
|
92
|
-
);
|
|
93
|
-
};
|
|
94
|
-
const Description = () => {
|
|
95
|
-
return (
|
|
96
|
-
<p
|
|
97
|
-
class={
|
|
98
|
-
sectionproperties.descFontFamily == 'Pacifico'
|
|
99
|
-
? ' PacificoFont m-0 p-0 wordbreak text-md-center '
|
|
100
|
-
: sectionproperties.descFontFamily == 'Playfair'
|
|
101
|
-
? ' PlayfairFont m-0 p-0 wordbreak '
|
|
102
|
-
: sectionproperties.descFontFamily == 'Great Vibes'
|
|
103
|
-
? ' GreatvibesFont m-0 p-0 wordbreak text-md-center '
|
|
104
|
-
: sectionproperties.descFontFamily == 'Quicksand'
|
|
105
|
-
? ' QuicksandFont m-0 p-0 wordbreak text-md-center '
|
|
106
|
-
: ' m-0 p-0 wordbreak '
|
|
107
|
-
}
|
|
108
|
-
style={{
|
|
109
|
-
color: sectionproperties.prodCatColor,
|
|
110
|
-
fontWeight: sectionproperties.prodCatFontWeight,
|
|
111
|
-
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
112
|
-
}}
|
|
113
|
-
>
|
|
114
|
-
{langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
|
|
115
|
-
</p>
|
|
116
|
-
);
|
|
117
|
-
};
|
|
118
|
-
const Content = () => {
|
|
119
|
-
return (
|
|
120
|
-
<div class="col-lg-6 p-0">
|
|
121
|
-
{sectionproperties.sectiontitleshow == 'Show' && (
|
|
122
|
-
<div
|
|
123
|
-
class={' col-lg-12 p-0 d-flex d-md-none align-items-center '}
|
|
124
|
-
style={{
|
|
125
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
126
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
127
|
-
}}
|
|
128
|
-
>
|
|
129
|
-
{SectionTitle()}
|
|
130
|
-
</div>
|
|
131
|
-
)}
|
|
132
|
-
{sectionproperties.sectiontitleshow == 'Show' && (
|
|
133
|
-
<div
|
|
134
|
-
class={' col-lg-12 p-0 d-none d-md-flex align-items-center '}
|
|
135
|
-
style={{
|
|
136
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
137
|
-
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
138
|
-
}}
|
|
139
|
-
>
|
|
140
|
-
{SectionTitle()}
|
|
141
|
-
</div>
|
|
142
|
-
)}
|
|
143
|
-
{sectionproperties.prodCatShow == 'Show' && (
|
|
144
|
-
<div
|
|
145
|
-
class={' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-md-center d-md-none pl-md-2 pr-md-2 '}
|
|
146
|
-
style={{
|
|
147
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
148
|
-
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
149
|
-
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
150
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
|
|
151
|
-
paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
|
|
152
|
-
}}
|
|
153
|
-
>
|
|
154
|
-
{Description()}
|
|
155
|
-
</div>
|
|
156
|
-
)}
|
|
157
|
-
{sectionproperties.prodCatShow == 'Show' && (
|
|
158
|
-
<div
|
|
159
|
-
class={' col-lg-12 col-md-12 col-sm-12 d-none align-items-center justify-content-md-center d-md-flex pl-md-2 pr-md-2 '}
|
|
160
|
-
style={{
|
|
161
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
162
|
-
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
163
|
-
fontSize: sectionproperties.prodCatFontSizeResp + 'px',
|
|
164
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
|
|
165
|
-
paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
|
|
166
|
-
}}
|
|
167
|
-
>
|
|
168
|
-
{Description()}
|
|
169
|
-
</div>
|
|
170
|
-
)}
|
|
171
|
-
<div class="col-lg-12 p-0 d-flex justify-content-md-center">
|
|
172
|
-
<p
|
|
173
|
-
class="pb-0 text-md-center pl-sm-2 pr-sm-2"
|
|
174
|
-
style={{
|
|
175
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
176
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
177
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
178
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
179
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
180
|
-
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
181
|
-
}}
|
|
182
|
-
dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
|
|
183
|
-
></p>
|
|
184
|
-
</div>
|
|
185
|
-
</div>
|
|
186
|
-
);
|
|
187
|
-
};
|
|
188
|
-
const Video = () => {
|
|
189
|
-
return (
|
|
190
|
-
<div className={'col-lg-6 col-md-12 col-sm-12 p-0 d-flex align-items-stretch '} style={{ marginBottom: sectionproperties.image_mb + 'px' }}>
|
|
191
|
-
{Object.keys(Videosarrayofobjs).length != 0 && (
|
|
192
|
-
<div className="row ml-0 mr-0 d-flex w-100">
|
|
193
|
-
<div
|
|
194
|
-
className={'col-lg-12 p-0 d-md-flex w-100 mt-auto'}
|
|
195
|
-
style={{
|
|
196
|
-
height: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'auto' : sectionproperties.image_height + 'px',
|
|
197
|
-
}}
|
|
198
|
-
>
|
|
199
|
-
{Videosarrayofobjs[0].linkclicked == true && <ReactPlayer url={Videosarrayofobjs[0].url} height={sectionproperties.image_height + 'px'} width={'100%'} />}
|
|
200
|
-
{Videosarrayofobjs[0].linkclicked == false && (
|
|
201
|
-
<button
|
|
202
|
-
onClick={() => {
|
|
203
|
-
var temparr = [...Videosarrayofobjs];
|
|
204
|
-
temparr[0].linkclicked = true;
|
|
205
|
-
setVideosarrayofobjs([...temparr]);
|
|
206
|
-
}}
|
|
207
|
-
class="w-100 h-100"
|
|
208
|
-
>
|
|
209
|
-
<IKImage
|
|
210
|
-
urlEndpoint={IKurlEndpoint}
|
|
211
|
-
publicKey={IKpublicKey}
|
|
212
|
-
path={Videosarrayofobjs.length != 0 ? Videosarrayofobjs[0].image : ''}
|
|
213
|
-
className={sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : ''}
|
|
214
|
-
style={{
|
|
215
|
-
height: '100%',
|
|
216
|
-
width: '100%',
|
|
217
|
-
objectFit: sectionproperties.bgcovercontain,
|
|
218
|
-
}}
|
|
219
|
-
/>
|
|
220
|
-
</button>
|
|
221
|
-
)}
|
|
222
|
-
</div>
|
|
223
|
-
</div>
|
|
224
|
-
)}
|
|
225
|
-
</div>
|
|
226
|
-
);
|
|
227
|
-
};
|
|
228
|
-
return (
|
|
229
|
-
<div
|
|
230
|
-
className="row ml-0 mr-0 w-100 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2"
|
|
231
|
-
style={{
|
|
232
|
-
paddingTop: sectionproperties.marginTop + 'px',
|
|
233
|
-
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
234
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
235
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
236
|
-
background: sectionproperties.backgroundColor,
|
|
237
|
-
}}
|
|
238
|
-
>
|
|
239
|
-
{sectionproperties.sectionstyle == 'Image on right' && (
|
|
240
|
-
<div class="col-lg-12 p-0">
|
|
241
|
-
<div class="row m-0 w-100">
|
|
242
|
-
{Content()} {Video()}
|
|
243
|
-
</div>
|
|
244
|
-
</div>
|
|
245
|
-
)}
|
|
246
|
-
{sectionproperties.sectionstyle != 'Image on right' && (
|
|
247
|
-
<div class="col-lg-12 p-0 d-flex d-md-none">
|
|
248
|
-
<div class="row m-0 w-100">
|
|
249
|
-
{Video()} {Content()}
|
|
250
|
-
</div>
|
|
251
|
-
</div>
|
|
252
|
-
)}
|
|
253
|
-
{sectionproperties.sectionstyle != 'Image on right' && (
|
|
254
|
-
<div class="col-lg-12 p-0 d-none d-md-flex">
|
|
255
|
-
<div class="row m-0 w-100">
|
|
256
|
-
{Content()} {Video()}
|
|
257
|
-
</div>
|
|
258
|
-
</div>
|
|
259
|
-
)}
|
|
260
|
-
</div>
|
|
261
|
-
);
|
|
262
|
-
};
|
|
263
|
-
export default FullVideoSection;
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
import { css } from 'glamor';
|
|
3
|
-
import { serverbaselink } from '../../../../../Env';
|
|
4
|
-
|
|
5
|
-
const Section_with_rightbgcont = (props) => {
|
|
6
|
-
const [sectionproperties, setsectionproperties] = useState('');
|
|
7
|
-
const [cardsarray, setcardsarray] = useState([]);
|
|
8
|
-
const lang = props.actions.lang;
|
|
9
|
-
const langdetect = props.actions.langdetect;
|
|
10
|
-
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
11
|
-
const routingcountext = props.actions.routingcountext;
|
|
12
|
-
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
13
|
-
useEffect(() => {
|
|
14
|
-
var secpropobj = {};
|
|
15
|
-
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
16
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
17
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
18
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
setsectionproperties({ ...secpropobj });
|
|
23
|
-
}, [StatePagePropertiesContext]);
|
|
24
|
-
useEffect(() => {
|
|
25
|
-
if (sectionproperties.length != 0) {
|
|
26
|
-
if (sectionproperties.bgsection_imagearrayofobjs != null) {
|
|
27
|
-
var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.bgsection_imagearrayofobjs);
|
|
28
|
-
if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
|
|
29
|
-
setcardsarray([...bgsection_imagearrayofobjsparsed]);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}, [sectionproperties]);
|
|
34
|
-
const bg1_cssstyles = {
|
|
35
|
-
general_btn: css({
|
|
36
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
37
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
38
|
-
background: sectionproperties.generalbtn_bgColor,
|
|
39
|
-
color: sectionproperties.generalbtn_textColor,
|
|
40
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
41
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
42
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
43
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
44
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
45
|
-
lineHeight: sectionproperties.generalbtn_fontsize + 'px',
|
|
46
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
47
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
48
|
-
marginLeft: sectionproperties.generalbtn_marginLeft + 'px',
|
|
49
|
-
marginRight: sectionproperties.generalbtn_marginRight + 'px',
|
|
50
|
-
marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
|
|
51
|
-
marginTop: sectionproperties.generalbtn_marginTop + 'px',
|
|
52
|
-
transition: '.3s',
|
|
53
|
-
':hover': {
|
|
54
|
-
background: sectionproperties.generalbtn_bgColoronhover,
|
|
55
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
56
|
-
},
|
|
57
|
-
}),
|
|
58
|
-
text1styles: css({
|
|
59
|
-
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
60
|
-
lineHeight: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
61
|
-
color: sectionproperties.slideshowText1ContentColor,
|
|
62
|
-
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
63
|
-
textTransform: sectionproperties.slideshowText1ContentTextTransform,
|
|
64
|
-
marginLeft: sectionproperties.slideshowText1Content_marginLeft + 'px',
|
|
65
|
-
marginRight: sectionproperties.slideshowText1Content_marginRight + 'px',
|
|
66
|
-
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
67
|
-
marginTop: sectionproperties.slideshowText1Content_marginTop + 'px',
|
|
68
|
-
':after': {
|
|
69
|
-
display: 'block',
|
|
70
|
-
content: 's',
|
|
71
|
-
fontSize: '0',
|
|
72
|
-
width: sectionproperties.slideshowText1_lineafterwidth + '%',
|
|
73
|
-
height: '7px',
|
|
74
|
-
background: sectionproperties.slideshowText1_showlineafter == 'Show' ? sectionproperties.slideshowText1ContentColor : 'transparent',
|
|
75
|
-
position: 'absolute',
|
|
76
|
-
bottom: 0,
|
|
77
|
-
left: '10px',
|
|
78
|
-
margin: 'auto',
|
|
79
|
-
borderRadius: '10px',
|
|
80
|
-
},
|
|
81
|
-
}),
|
|
82
|
-
};
|
|
83
|
-
return (
|
|
84
|
-
<div class="row w-100 m-0 mt-sm-3" style={{ position: 'relative', zIndex: 1 }}>
|
|
85
|
-
<div class={`${sectionstyles.homestyling}` + ' d-md-none '} style={{ background: sectionproperties.formRightbgColor }}></div>
|
|
86
|
-
<div class={`${sectionstyles.home1_container} ` + ' w-100 '}>
|
|
87
|
-
<div class="row w-100 m-0 pl-5 pr-5 pl-sm-2 pr-sm-2">
|
|
88
|
-
<div class="col-lg-5 col-md-12 col-sm-12 d-flex justify-content-start align-items-center">
|
|
89
|
-
<div class="row m-0 w-100">
|
|
90
|
-
{sectionproperties.slideshowtext1_show == 'Show' && (
|
|
91
|
-
<div class="col-lg-12 d-md-flex justify-content-md-center align-items-md-center">
|
|
92
|
-
<p class={`${bg1_cssstyles.text1styles} ${sectionstyles.text1styles}` + ' ml-md-0 mr-md-0 font-sm-20 line-height-sm-20 '}>
|
|
93
|
-
{sectionproperties.slideshowtext1_show == 'Show' && sectionproperties.slideshowText1Content}
|
|
94
|
-
</p>
|
|
95
|
-
</div>
|
|
96
|
-
)}
|
|
97
|
-
{sectionproperties.slideshowtext2_show == 'Show' && (
|
|
98
|
-
<div class="col-lg-12 d-md-flex justify-content-md-center align-items-md-center">
|
|
99
|
-
{sectionproperties.slideshowtext2_show == 'Show' && (
|
|
100
|
-
<p
|
|
101
|
-
style={{
|
|
102
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
103
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
104
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
105
|
-
textTransform: sectionproperties.slideshowText2ContentTextTransform,
|
|
106
|
-
marginLeft: sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
107
|
-
marginRight: sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
108
|
-
marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
|
|
109
|
-
marginTop: sectionproperties.slideshowText2Content_marginTop + 'px',
|
|
110
|
-
}}
|
|
111
|
-
class="font-sm-20 line-height-sm-20"
|
|
112
|
-
>
|
|
113
|
-
{sectionproperties.slideshowText2Content}
|
|
114
|
-
</p>
|
|
115
|
-
)}
|
|
116
|
-
</div>
|
|
117
|
-
)}
|
|
118
|
-
{sectionproperties.generalbtn_show == 'Show' && (
|
|
119
|
-
<div class="col-lg-12 justify-content-start m-md-0 d-md-flex justify-content-md-center align-items-md-center">
|
|
120
|
-
<button
|
|
121
|
-
class={`${bg1_cssstyles.general_btn}` + ' ml-md-0 mr-md-0 '}
|
|
122
|
-
onClick={() => {
|
|
123
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
124
|
-
}}
|
|
125
|
-
>
|
|
126
|
-
{sectionproperties.generalbtn_content}
|
|
127
|
-
</button>
|
|
128
|
-
</div>
|
|
129
|
-
)}
|
|
130
|
-
</div>
|
|
131
|
-
</div>
|
|
132
|
-
|
|
133
|
-
<div class="col-lg-7 col-md-12 col-sm-12 d-flex justify-content-center align-items-center">
|
|
134
|
-
<div class={`${sectionstyles.img_container}`}>
|
|
135
|
-
<img src={cardsarray.length != 0 ? serverbaselink + cardsarray[0].bgsection_image : ''}></img>
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
</div>
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
);
|
|
142
|
-
};
|
|
143
|
-
export default Section_with_rightbgcont;
|
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState } from 'react';
|
|
2
|
-
import { css } from 'glamor';
|
|
3
|
-
import { IKImage } from 'imagekitio-react';
|
|
4
|
-
import { IKpublicKey, IKurlEndpoint } from '../../../../../Env';
|
|
5
|
-
|
|
6
|
-
const TextSectionConnectToWA = (props) => {
|
|
7
|
-
const [sectionproperties, setsectionproperties] = useState('');
|
|
8
|
-
const langdetect = props.actions.langdetect;
|
|
9
|
-
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
10
|
-
const authdetailsContext = props.actions.authdetailsContext;
|
|
11
|
-
const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
|
|
12
|
-
useEffect(() => {
|
|
13
|
-
if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
|
|
14
|
-
var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
|
|
15
|
-
if (Array.isArray(maincontainerarrayofobjsparsed)) {
|
|
16
|
-
setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}, [sectionproperties]);
|
|
20
|
-
useEffect(() => {
|
|
21
|
-
var secpropobj = {};
|
|
22
|
-
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
23
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
24
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
25
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
setsectionproperties({ ...secpropobj });
|
|
30
|
-
}, [StatePagePropertiesContext]);
|
|
31
|
-
const sectionstyles = {
|
|
32
|
-
sectionTitleStyles: css({
|
|
33
|
-
color: sectionproperties.sectionTitleColor,
|
|
34
|
-
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
35
|
-
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
36
|
-
}),
|
|
37
|
-
descriptionStyles: css({
|
|
38
|
-
color: sectionproperties.prodCatColor,
|
|
39
|
-
fontWeight: sectionproperties.prodCatFontWeight,
|
|
40
|
-
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
41
|
-
}),
|
|
42
|
-
btnStyles: css({
|
|
43
|
-
width: sectionproperties.generalbtn_width > 0 ? sectionproperties.generalbtn_width : 'auto',
|
|
44
|
-
paddingLeft: sectionproperties.generalbtn_width > 0 ? 0 : 10,
|
|
45
|
-
paddingRight: sectionproperties.generalbtn_width > 0 ? 0 : 10,
|
|
46
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
47
|
-
backgroundColor: sectionproperties.slideshow_btn_bg,
|
|
48
|
-
color: sectionproperties.generalbtn_textColor,
|
|
49
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
50
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
51
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
52
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
53
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
54
|
-
transition: '.3s',
|
|
55
|
-
':hover': {
|
|
56
|
-
backgroundColor: sectionproperties.slideshow_btn_hoverbg,
|
|
57
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
58
|
-
},
|
|
59
|
-
}),
|
|
60
|
-
imgcontainer: css({
|
|
61
|
-
':before': {
|
|
62
|
-
width: '100%',
|
|
63
|
-
height: '100%',
|
|
64
|
-
background: 'rgba(0,0,0,' + sectionproperties.cardimg_opacity + ')',
|
|
65
|
-
zIndex: 1,
|
|
66
|
-
position: 'absolute',
|
|
67
|
-
content: 's',
|
|
68
|
-
fontSize: 0,
|
|
69
|
-
left: 0,
|
|
70
|
-
right: 0,
|
|
71
|
-
top: 0,
|
|
72
|
-
bottom: 0,
|
|
73
|
-
},
|
|
74
|
-
}),
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
return (
|
|
78
|
-
<div
|
|
79
|
-
className="row ml-0 mr-0 w-100 pl-md-2 pr-md-2"
|
|
80
|
-
style={{
|
|
81
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
82
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
83
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
84
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
85
|
-
background: sectionproperties.backgroundColor,
|
|
86
|
-
position: 'relative',
|
|
87
|
-
}}
|
|
88
|
-
>
|
|
89
|
-
{maincontainerarrayofobjs != undefined && maincontainerarrayofobjs?.length != 0 && (
|
|
90
|
-
<div class={sectionstyles.imgcontainer}>
|
|
91
|
-
<IKImage
|
|
92
|
-
urlEndpoint={IKurlEndpoint}
|
|
93
|
-
publicKey={IKpublicKey}
|
|
94
|
-
path={maincontainerarrayofobjs[0]?.back_bgimage}
|
|
95
|
-
style={{
|
|
96
|
-
height: '100%',
|
|
97
|
-
width: '100%',
|
|
98
|
-
objectFit: 'cover',
|
|
99
|
-
margin: 0,
|
|
100
|
-
padding: 0,
|
|
101
|
-
position: 'absolute',
|
|
102
|
-
top: 0,
|
|
103
|
-
bottom: 0,
|
|
104
|
-
right: 0,
|
|
105
|
-
left: 0,
|
|
106
|
-
}}
|
|
107
|
-
/>
|
|
108
|
-
</div>
|
|
109
|
-
)}
|
|
110
|
-
<div class="col-lg-12 p-0" style={{ zIndex: 1 }}>
|
|
111
|
-
<div class="row m-0 w-100">
|
|
112
|
-
{sectionproperties.sectiontitleshow == 'Show' && (
|
|
113
|
-
<div
|
|
114
|
-
class="col-lg-12 p-0 d-flex align-items-center"
|
|
115
|
-
style={{
|
|
116
|
-
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
117
|
-
}}
|
|
118
|
-
>
|
|
119
|
-
<div class={sectionstyles.sectionTitleStyles + ' p-0 d-flex d-sm-none '}>
|
|
120
|
-
<p
|
|
121
|
-
class={
|
|
122
|
-
sectionproperties.sectiontitlefontfamily == 'Pacifico'
|
|
123
|
-
? ' PacificoFont wordbreak m-0 p-0 '
|
|
124
|
-
: sectionproperties.sectiontitlefontfamily == 'Playfair'
|
|
125
|
-
? ' PlayfairFont wordbreak m-0 p-0 '
|
|
126
|
-
: sectionproperties.sectiontitlefontfamily == 'Great Vibes'
|
|
127
|
-
? ' GreatvibesFont wordbreak m-0 p-0 '
|
|
128
|
-
: sectionproperties.sectiontitlefontfamily == 'Quicksand'
|
|
129
|
-
? ' QuicksandFont wordbreak m-0 p-0 '
|
|
130
|
-
: sectionproperties.sectiontitlefontfamily == 'Satisfy'
|
|
131
|
-
? ' SatisfyFont wordbreak m-0 p-0 '
|
|
132
|
-
: sectionproperties.sectiontitlefontfamily == 'ASUL'
|
|
133
|
-
? ' ASUL wordbreak m-0 p-0 '
|
|
134
|
-
: ' wordbreak m-0 p-0 '
|
|
135
|
-
}
|
|
136
|
-
style={{
|
|
137
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
138
|
-
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
139
|
-
}}
|
|
140
|
-
>
|
|
141
|
-
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
142
|
-
</p>
|
|
143
|
-
</div>
|
|
144
|
-
<div class={sectionstyles.sectionTitleStyles + ' p-0 d-none d-sm-flex '}>
|
|
145
|
-
<p
|
|
146
|
-
class={
|
|
147
|
-
sectionproperties.sectiontitlefontfamily == 'Pacifico'
|
|
148
|
-
? ' PacificoFont wordbreak m-0 p-0 '
|
|
149
|
-
: sectionproperties.sectiontitlefontfamily == 'Playfair'
|
|
150
|
-
? ' PlayfairFont wordbreak m-0 p-0 '
|
|
151
|
-
: sectionproperties.sectiontitlefontfamily == 'Great Vibes'
|
|
152
|
-
? ' GreatvibesFont wordbreak m-0 p-0 '
|
|
153
|
-
: sectionproperties.sectiontitlefontfamily == 'Quicksand'
|
|
154
|
-
? ' QuicksandFont wordbreak m-0 p-0 '
|
|
155
|
-
: sectionproperties.sectiontitlefontfamily == 'Satisfy'
|
|
156
|
-
? ' SatisfyFont wordbreak m-0 p-0 '
|
|
157
|
-
: sectionproperties.sectiontitlefontfamily == 'ASUL'
|
|
158
|
-
? ' ASUL wordbreak m-0 p-0 '
|
|
159
|
-
: ' wordbreak m-0 p-0 '
|
|
160
|
-
}
|
|
161
|
-
style={{
|
|
162
|
-
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
163
|
-
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
164
|
-
}}
|
|
165
|
-
>
|
|
166
|
-
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
167
|
-
</p>
|
|
168
|
-
</div>
|
|
169
|
-
</div>
|
|
170
|
-
)}
|
|
171
|
-
{sectionproperties.prodCatShow == 'Show' && (
|
|
172
|
-
<div
|
|
173
|
-
class="col-lg-12 p-0 d-flex align-items-center"
|
|
174
|
-
style={{
|
|
175
|
-
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
|
|
176
|
-
}}
|
|
177
|
-
>
|
|
178
|
-
<div class={sectionstyles.descriptionStyles + ' p-0 d-flex d-sm-none '}>
|
|
179
|
-
<p
|
|
180
|
-
class={
|
|
181
|
-
sectionproperties.descFontFamily == 'Pacifico'
|
|
182
|
-
? ' PacificoFont m-0 p-0 wordbreak '
|
|
183
|
-
: sectionproperties.descFontFamily == 'Playfair'
|
|
184
|
-
? ' PlayfairFont m-0 p-0 wordbreak '
|
|
185
|
-
: sectionproperties.descFontFamily == 'Great Vibes'
|
|
186
|
-
? ' GreatvibesFont m-0 p-0 wordbreak '
|
|
187
|
-
: sectionproperties.descFontFamily == 'Quicksand'
|
|
188
|
-
? ' QuicksandFont m-0 p-0 wordbreak'
|
|
189
|
-
: sectionproperties.descFontFamily == 'ASUL'
|
|
190
|
-
? ' ASUL m-0 p-0 wordbreak '
|
|
191
|
-
: ' m-0 p-0 wordbreak '
|
|
192
|
-
}
|
|
193
|
-
style={{
|
|
194
|
-
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
195
|
-
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
196
|
-
}}
|
|
197
|
-
>
|
|
198
|
-
{langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
|
|
199
|
-
</p>
|
|
200
|
-
</div>
|
|
201
|
-
<div class={sectionstyles.descriptionStyles + ' p-0 d-none d-sm-flex '}>
|
|
202
|
-
<p
|
|
203
|
-
class={
|
|
204
|
-
sectionproperties.descFontFamily == 'Pacifico'
|
|
205
|
-
? ' PacificoFont m-0 p-0 wordbreak '
|
|
206
|
-
: sectionproperties.descFontFamily == 'Playfair'
|
|
207
|
-
? ' PlayfairFont m-0 p-0 wordbreak '
|
|
208
|
-
: sectionproperties.descFontFamily == 'Great Vibes'
|
|
209
|
-
? ' GreatvibesFont m-0 p-0 wordbreak '
|
|
210
|
-
: sectionproperties.descFontFamily == 'Quicksand'
|
|
211
|
-
? ' QuicksandFont m-0 p-0 wordbreak'
|
|
212
|
-
: sectionproperties.descFontFamily == 'ASUL'
|
|
213
|
-
? ' ASUL m-0 p-0 wordbreak '
|
|
214
|
-
: ' m-0 p-0 wordbreak '
|
|
215
|
-
}
|
|
216
|
-
style={{
|
|
217
|
-
fontSize: sectionproperties.prodCatFontSizeResp + 'px',
|
|
218
|
-
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
219
|
-
}}
|
|
220
|
-
>
|
|
221
|
-
{langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
|
|
222
|
-
</p>
|
|
223
|
-
</div>
|
|
224
|
-
</div>
|
|
225
|
-
)}
|
|
226
|
-
<div
|
|
227
|
-
class="col-lg-12 p-0 d-flex align-items-center"
|
|
228
|
-
style={{
|
|
229
|
-
justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
|
|
230
|
-
}}
|
|
231
|
-
>
|
|
232
|
-
<button
|
|
233
|
-
class={sectionstyles.btnStyles}
|
|
234
|
-
onClick={() => {
|
|
235
|
-
if (authdetailsContext?.instinfo?.whatsappnumber != null) {
|
|
236
|
-
window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
|
|
237
|
-
}
|
|
238
|
-
}}
|
|
239
|
-
>
|
|
240
|
-
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
241
|
-
</button>
|
|
242
|
-
</div>
|
|
243
|
-
</div>
|
|
244
|
-
</div>
|
|
245
|
-
</div>
|
|
246
|
-
);
|
|
247
|
-
};
|
|
248
|
-
export default TextSectionConnectToWA;
|