tabexseriescomponents 0.0.65 → 0.0.67
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 +22892 -14865
- package/dist/index.esm.js +22897 -14871
- package/dist/index.umd.js +21722 -13696
- package/package.json +1 -1
- package/{srcOLD → src1-10}/Contexts/LanguageContext.jsx +0 -0
- package/{srcOLD → src1-10}/Contexts/ProductsCardsSectionContext.jsx +0 -0
- package/{srcOLD → src1-10}/StylesJS/Customstyles.js +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -9
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -19
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -8
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -7
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +45 -72
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -9
- package/{srcOLD → src1-10}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -9
- package/{srcOLD → src1-10}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -15
- package/{srcOLD → src1-10}/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -12
- package/{srcOLD → src1-10}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -12
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -14
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -17
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +1 -14
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -11
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -12
- package/{srcOLD → src1-10}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -12
- package/{srcOLD → src1-10}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -9
- package/{srcOLD → src1-10}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +3 -15
- package/{srcOLD → src1-10}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +1 -11
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer1/Footer1.jsx +26 -26
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer2/Footer2.jsx +24 -25
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer3/Footer3.jsx +14 -6
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer4/Footer4.jsx +11 -12
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer5/Footer5.jsx +81 -88
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer6/Footer6.jsx +39 -48
- package/{srcOLD → src1-10}/TabexComponents/Footer/Footer7/Footer7.jsx +58 -61
- package/{srcOLD → src1-10}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +27 -34
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +97 -99
- package/{srcOLD → src1-10}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +74 -80
- package/{srcOLD → src1-10}/TabexComponents/Headers/Header4/Header4.jsx +77 -95
- package/{srcOLD → src1-10}/TabexComponents/Headers/Header6/Header6.jsx +73 -76
- package/src1-10/TabexComponents/Headers/Header8/Header8.jsx +888 -0
- package/{srcOLD → src1-10}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +93 -137
- package/{srcOLD → src1-10}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +85 -114
- package/{srcOLD → src1-10}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +3 -23
- package/{srcOLD → src1-10}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +116 -114
- package/{srcOLD → src1-10}/TabexComponents/Headers/Modernheader/Modernheader.jsx +100 -92
- package/{srcOLD → src1-10}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +110 -98
- package/{srcOLD → src1-10}/TabexComponents/Headers/Subheader/Subheader.jsx +10 -22
- package/{srcOLD → src1-10}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -9
- package/{srcOLD → src1-10}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -7
- package/{srcOLD → src1-10}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
- package/src1-10/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +409 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +7 -75
- package/{srcOLD/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.js → src1-10/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx} +82 -92
- package/{srcOLD → src1-10}/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +0 -0
- package/{srcOLD/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.js → src1-10/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx} +34 -74
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +139 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -8
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +197 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +91 -0
- package/{srcOLD → src1-10}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +92 -53
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -15
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
- package/{srcOLD/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.js → src1-10/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx} +110 -40
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Filter/Filter.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -14
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Policies/Policies.jsx +0 -5
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -50
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -16
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -12
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -10
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Viewcart/Viewcart.js +0 -0
- package/{srcOLD → src1-10}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -23
- package/{srcOLD → src1-10}/assets/images/cod.png +0 -0
- package/{srcOLD → src1-10}/assets/images/egyptflag.png +0 -0
- package/{srcOLD → src1-10}/assets/images/fawry.png +0 -0
- package/{srcOLD → src1-10}/assets/images/payment.png +0 -0
- package/{srcOLD → src1-10}/assets/images/paymob.png +0 -0
- package/{srcOLD → src1-10}/assets/images/paypal.png +0 -0
- package/{srcOLD → src1-10}/assets/images/shoppingcart.png +0 -0
- package/{srcOLD → src1-10}/assets/images/usflag.png +0 -0
- package/{srcOLD → src1-10}/assets/images/visa.png +0 -0
- package/{srcOLD → src1-10}/assets/images/whatsapp.png +0 -0
- package/{srcOLD → src1-10}/button.jsx +0 -0
- package/{srcOLD → src1-10}/index.jsx +6 -2
- package/{srcOLD → src1-10}/styles/Home.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Categorcycard_fullimage.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Categorycard_withshapes.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Productcard6.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Productcard_with_circularbg.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/categorycard.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/categorycard3.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/categorycardwithtext.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/productcard_animatedbuttons.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/productcard_with_textonhover.module.css +0 -0
- package/{srcOLD → src1-10}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/bootstrap.css +68 -73
- package/{srcOLD → src1-10}/styles/general/dropdown.css +0 -0
- package/{srcOLD → src1-10}/styles/general/editorbardropdown.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/filter.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/form.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/general.module.css +152 -0
- package/{srcOLD → src1-10}/styles/general/image-gallery.css +0 -0
- package/{srcOLD → src1-10}/styles/general/react-accessible-accordion.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/react-phone-input-2.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/scrollbtn.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/slick.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/tabs.module.css +0 -0
- package/{srcOLD → src1-10}/styles/general/workplaceeditor.module.css +0 -0
- package/{srcOLD → src1-10}/styles/globals.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/Allinoneheader.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/Header7.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/Sideheader.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/classicheaderstyles.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/dropdown.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/header4.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/header5.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/header6.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/header_contactinfo.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/headerresturant.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/headerstyles.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/modernheader.module.css +0 -0
- package/{srcOLD → src1-10}/styles/headers/subheader.module.css +0 -0
- package/{srcOLD → src1-10}/styles/sections/Backgroundimage1.module.css +0 -0
- package/{srcOLD → src1-10}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
- package/{srcOLD → src1-10}/styles/sections/Section_with_rightbgcont.module.css +0 -0
- package/{srcOLD → src1-10}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
- package/{srcOLD → src1-10}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/accordion.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/cart.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/dropdown.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/filter.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/login.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/productinfo.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/shop.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/signup.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/staticroutersidenav.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/viewcart.module.css +0 -0
- package/{srcOLD → src1-10}/styles/staticpages/wishlist.module.css +0 -0
- package/srcOLD/TabexComponents/Headers/Header8/Header8.jsx +0 -882
- package/srcOLD/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -228
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -784
- package/srcOLD/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -284
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -414
- package/srcOLD/TabexComponents/StaticPages/Aboutus/Aboutus.js +0 -175
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
3
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
4
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
5
2
|
import { AiFillStar, AiOutlineStar } from 'react-icons/ai';
|
|
6
3
|
import { css } from 'glamor';
|
|
7
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
8
4
|
import { IKImage } from 'imagekitio-react';
|
|
9
5
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
10
|
-
|
|
11
6
|
import { FaRegHeart, FaHeart } from 'react-icons/fa';
|
|
12
7
|
|
|
13
8
|
const Productcard_with_variants = (props) => {
|
|
14
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
15
|
-
// const { StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
16
|
-
// const { addtofavoritescontext, setShowProductInfoModalContext, setProductIdProdutInfoModalContext } = useContext(FetchingContext);
|
|
17
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
18
9
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
19
10
|
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
20
|
-
|
|
21
11
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
22
12
|
const lang = props.actions.lang;
|
|
23
13
|
const langdetect = props.actions.langdetect;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
|
|
3
|
-
// import { FetchingContext } from '../../../../../../../Contexts/FetchingContext';
|
|
4
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../../../../Contexts/WebsiteDesignWorkPlaceContext';
|
|
5
|
-
// import { TemplateRoutingContext } from '../../../../../../../Contexts/TemplateRoutingContext';
|
|
6
2
|
import cardsstyles from '../../../styles/cards/Productccard_with_zoominonhover.module.css';
|
|
7
3
|
import { css } from 'glamor';
|
|
8
4
|
import { AiFillStar, AiOutlineHeart } from 'react-icons/ai';
|
|
@@ -11,10 +7,6 @@ import { FiShoppingCart } from 'react-icons/fi';
|
|
|
11
7
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
12
8
|
import { CircularProgress } from 'react-cssfx-loading';
|
|
13
9
|
const Productcard_with_zoominonhover = (props) => {
|
|
14
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
15
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
16
|
-
// const { addtofavoritescontext, setShowProductInfoModalContext, ProductIdProdutInfoModalContext, setProductIdProdutInfoModalContext, AddtoCartContext, AddtoCartMutationContext } =
|
|
17
|
-
// useContext(FetchingContext);
|
|
18
10
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
19
11
|
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
20
12
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -25,9 +17,7 @@ const Productcard_with_zoominonhover = (props) => {
|
|
|
25
17
|
const setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
26
18
|
const AddtoCartContext = props.actions.AddtoCartContext;
|
|
27
19
|
const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
28
|
-
|
|
29
20
|
const NotificationManager = NotificationManager;
|
|
30
|
-
|
|
31
21
|
useEffect(() => {
|
|
32
22
|
if (props.srcfrom == 'addsectionform') {
|
|
33
23
|
var secpropobj = {};
|
|
@@ -1,24 +1,14 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { serverbaselink } from '../../../Env_Variables';
|
|
3
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
4
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
5
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
6
2
|
import { css } from 'glamor';
|
|
7
3
|
import { AiFillStar, AiFillHeart } from 'react-icons/ai';
|
|
8
4
|
import { MdOutlineShoppingCart } from 'react-icons/md';
|
|
9
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
10
5
|
import { IKImage } from 'imagekitio-react';
|
|
11
6
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
12
7
|
|
|
13
8
|
const Productcarddefault = (props) => {
|
|
14
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
15
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
16
|
-
// const { addtofavoritescontext, setShowProductInfoModalContext, ProductIdProdutInfoModalContext, setProductIdProdutInfoModalContext } = useContext(FetchingContext);
|
|
17
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
18
9
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
19
10
|
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
20
11
|
const [index, setindex] = useState(props.cardinfoindexprops);
|
|
21
|
-
|
|
22
12
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
23
13
|
const lang = props.actions.lang;
|
|
24
14
|
const langdetect = props.actions.langdetect;
|
|
@@ -1,27 +1,15 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { serverbaselink } from '../../../Env_Variables';
|
|
3
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
4
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
5
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
6
|
-
|
|
7
2
|
import cardsstyles from '../../../styles/cards/productccard_with_imageontopleft.module.css';
|
|
8
|
-
|
|
9
3
|
import { css } from 'glamor';
|
|
10
4
|
import { AiFillStar, AiOutlineStar } from 'react-icons/ai';
|
|
11
5
|
import { FaRegHeart, FaHeart } from 'react-icons/fa';
|
|
12
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
13
6
|
import { MdOutlineShoppingCart } from 'react-icons/md';
|
|
14
7
|
import { IKImage } from 'imagekitio-react';
|
|
15
8
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
16
9
|
|
|
17
10
|
const Productccard_with_imageontopleft = (props) => {
|
|
18
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
19
|
-
// const { StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
20
|
-
// const { addtofavoritescontext, setShowProductInfoModalContext, setProductIdProdutInfoModalContext } = useContext(FetchingContext);
|
|
21
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
22
11
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
23
12
|
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
24
|
-
|
|
25
13
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
26
14
|
const lang = props.actions.lang;
|
|
27
15
|
const langdetect = props.actions.langdetect;
|
|
@@ -1,25 +1,13 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { serverbaselink } from '../../../Env_Variables';
|
|
3
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
4
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
5
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
6
2
|
import cardsstyles from '../../../styles/cards/Prouductcard_with_zoomhover.module.css';
|
|
7
|
-
|
|
8
3
|
import { css } from 'glamor';
|
|
9
4
|
import { AiFillStar } from 'react-icons/ai';
|
|
10
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
11
5
|
import { MdOutlineShoppingCart } from 'react-icons/md';
|
|
12
6
|
import { IKImage } from 'imagekitio-react';
|
|
13
|
-
|
|
14
7
|
const Prouductcard_with_zoomhover = (props) => {
|
|
15
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
16
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
17
|
-
// const { addtofavoritescontext, setShowProductInfoModalContext, ProductIdProdutInfoModalContext, setProductIdProdutInfoModalContext } = useContext(FetchingContext);
|
|
18
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
19
8
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
20
9
|
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
21
10
|
const [index, setindex] = useState(props.cardinfoindexprops);
|
|
22
|
-
|
|
23
11
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
24
12
|
const lang = props.actions.lang;
|
|
25
13
|
const langdetect = props.actions.langdetect;
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
3
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
4
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
5
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
6
2
|
import { css } from 'glamor';
|
|
7
3
|
import { IKImage } from 'imagekitio-react';
|
|
8
4
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
9
5
|
|
|
10
6
|
const Simplecategorycardwithtextbelow = (props) => {
|
|
11
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
12
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
13
|
-
// const { addtofavoritescontext, setShowProductInfoModalContext, ProductIdProdutInfoModalContext, setProductIdProdutInfoModalContext } = useContext(FetchingContext);
|
|
14
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
15
7
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
16
8
|
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
17
9
|
const [index, setindex] = useState(props.cardinfoindexprops);
|
|
18
|
-
|
|
19
10
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
20
11
|
const lang = props.actions.lang;
|
|
21
12
|
const langdetect = props.actions.langdetect;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
3
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
4
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
5
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
6
2
|
import { css } from 'glamor';
|
|
7
3
|
import { IKImage } from 'imagekitio-react';
|
|
8
4
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
9
|
-
|
|
10
5
|
import { FiShoppingCart, FiShoppingBag } from 'react-icons/fi';
|
|
11
6
|
import { IoBagHandleOutline } from 'react-icons/io5';
|
|
12
7
|
import { CgShoppingBag } from 'react-icons/cg';
|
|
@@ -17,14 +12,9 @@ import { FaRegHeart, FaHeart } from 'react-icons/fa';
|
|
|
17
12
|
import { BsHandbag } from 'react-icons/bs';
|
|
18
13
|
|
|
19
14
|
const Simpleproductcard = (props) => {
|
|
20
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
21
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
22
|
-
// const { addtofavoritescontext, setShowProductInfoModalContext, ProductIdProdutInfoModalContext, setProductIdProdutInfoModalContext } = useContext(FetchingContext);
|
|
23
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
24
15
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
25
16
|
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
26
17
|
const [index, setindex] = useState(props.cardinfoindexprops);
|
|
27
|
-
|
|
28
18
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
29
19
|
const lang = props.actions.lang;
|
|
30
20
|
const langdetect = props.actions.langdetect;
|
|
@@ -237,25 +227,23 @@ const Simpleproductcard = (props) => {
|
|
|
237
227
|
<div>
|
|
238
228
|
<div class="row m-0 w-100 ">
|
|
239
229
|
{sectionproperties.prodNameShow == 'Show' && (
|
|
240
|
-
<div class="col-lg-12 p-0
|
|
230
|
+
<div class="col-lg-12 p-0">
|
|
241
231
|
<p
|
|
242
232
|
onClick={() => {
|
|
243
|
-
// e.stopPropagation();
|
|
244
|
-
|
|
245
233
|
if (props.fetchingtypeprops == 'collections') {
|
|
246
234
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
|
|
247
235
|
} else {
|
|
248
236
|
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
249
237
|
}
|
|
250
238
|
}}
|
|
251
|
-
class={`${card_cssstyles.productNameStyles}` + ' wordbreak
|
|
239
|
+
class={`${card_cssstyles.productNameStyles}` + ' wordbreak wordbreak1 text-center m-0 '}
|
|
252
240
|
>
|
|
253
241
|
{item.name}
|
|
254
242
|
</p>
|
|
255
243
|
</div>
|
|
256
244
|
)}
|
|
257
245
|
|
|
258
|
-
<div style={{
|
|
246
|
+
<div style={{ flexDirection: 'column' }} class="col-lg-12 d-flex align-items-center justify-content-center p-0 ">
|
|
259
247
|
<div class="row m-0 w-100 ">
|
|
260
248
|
<div class="d-flex flex-row col-lg-12 m-0 p-0 align-items-center justify-content-center mb-1 ">
|
|
261
249
|
<div class=" d-flex align-items-center justify-content-center p-0 mb-0">
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
3
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
4
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
5
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
6
2
|
import { NotificationManager } from 'react-notifications';
|
|
7
3
|
import { css } from 'glamor';
|
|
8
4
|
import { IKImage } from 'imagekitio-react';
|
|
9
5
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
10
|
-
|
|
11
6
|
import { FiShoppingCart, FiShoppingBag } from 'react-icons/fi';
|
|
12
7
|
import { IoBagHandleOutline } from 'react-icons/io5';
|
|
13
8
|
import { IoIosArrowUp } from 'react-icons/io';
|
|
@@ -19,13 +14,8 @@ import { FaRegHeart, FaHeart } from 'react-icons/fa';
|
|
|
19
14
|
import { BsHandbag } from 'react-icons/bs';
|
|
20
15
|
|
|
21
16
|
const StylishProductCard = (props) => {
|
|
22
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
23
|
-
// const { StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
24
|
-
// const { addtofavoritescontext, setShowProductInfoModalContext, ProductIdProdutInfoModalContext, setProductIdProdutInfoModalContext, AddtoCartContext } = useContext(FetchingContext);
|
|
25
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
26
17
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
27
18
|
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
28
|
-
|
|
29
19
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
30
20
|
const lang = props.actions.lang;
|
|
31
21
|
const langdetect = props.actions.langdetect;
|
|
@@ -249,7 +239,7 @@ const StylishProductCard = (props) => {
|
|
|
249
239
|
</p>
|
|
250
240
|
</div>
|
|
251
241
|
<div class="col-lg-12 p-0 m-0 p-0 d-flex flex-row align-items-center justify-content-start">
|
|
252
|
-
{sectionproperties.
|
|
242
|
+
{sectionproperties.prodPriceShow == 'Show' && (
|
|
253
243
|
<p class={`${card_cssstyles.productPricestyles}` + ' m-0 wordbreak '} style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}>
|
|
254
244
|
{langdetect == 'en' ? 'EGP' : ''} {item.hassale == 1 ? item.defaultsaleprice : item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
|
|
255
245
|
</p>
|
|
@@ -1,26 +1,16 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { Link } from 'react-router-dom';
|
|
3
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
4
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
5
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
6
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
7
2
|
import { css } from 'glamor';
|
|
8
3
|
import { FaFacebookF } from 'react-icons/fa';
|
|
9
4
|
import { BsWhatsapp } from 'react-icons/bs';
|
|
10
5
|
import { AiFillInstagram } from 'react-icons/ai';
|
|
11
6
|
import { MdLocationPin } from 'react-icons/md';
|
|
12
|
-
|
|
13
7
|
import { IKImage } from 'imagekitio-react';
|
|
14
8
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
15
9
|
|
|
16
10
|
const Footer1 = (props) => {
|
|
17
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
18
|
-
// const { fetchAuthorizationQueryContext, templateproperties_context } = useContext(FetchingContext);
|
|
19
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
20
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
21
11
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
22
12
|
const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
|
|
23
|
-
|
|
13
|
+
const history = props.actions.history;
|
|
24
14
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
25
15
|
const lang = props.actions.lang;
|
|
26
16
|
const langdetect = props.actions.langdetect;
|
|
@@ -29,7 +19,6 @@ const Footer1 = (props) => {
|
|
|
29
19
|
const authdetailsContext = props.actions.authdetailsContext;
|
|
30
20
|
const templateproperties_context = props.actions.templateproperties_context;
|
|
31
21
|
const templatepropcontext = props.actions.templatepropcontext;
|
|
32
|
-
// const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
|
|
33
22
|
useEffect(() => {
|
|
34
23
|
if (props.srcfrom == 'addsectionform') {
|
|
35
24
|
var secpropobj = {};
|
|
@@ -242,7 +231,11 @@ const Footer1 = (props) => {
|
|
|
242
231
|
}
|
|
243
232
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
244
233
|
return (
|
|
245
|
-
<div
|
|
234
|
+
<div
|
|
235
|
+
onClick={() => {
|
|
236
|
+
routingcountext(item.navigationroute);
|
|
237
|
+
}}
|
|
238
|
+
>
|
|
246
239
|
<p class={`${footerStyles.footertitlestyles}` + ' '}>{langdetect == 'en' ? item.pagename : item.pagename_ar}</p>
|
|
247
240
|
</div>
|
|
248
241
|
);
|
|
@@ -261,9 +254,13 @@ const Footer1 = (props) => {
|
|
|
261
254
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
262
255
|
return (
|
|
263
256
|
<div class="col-lg-12 p-0 d-flex justify-content-center">
|
|
264
|
-
<
|
|
257
|
+
<div
|
|
258
|
+
onClick={() => {
|
|
259
|
+
history.push(item.navigationroute);
|
|
260
|
+
}}
|
|
261
|
+
>
|
|
265
262
|
<p class={`${footerStyles.footertitlestyles}`}>{langdetect == 'en' ? item.pagename : item.pagename_ar} </p>
|
|
266
|
-
</
|
|
263
|
+
</div>
|
|
267
264
|
</div>
|
|
268
265
|
);
|
|
269
266
|
}
|
|
@@ -377,17 +374,20 @@ const Footer1 = (props) => {
|
|
|
377
374
|
</p>
|
|
378
375
|
</div>
|
|
379
376
|
<div class="col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0">
|
|
380
|
-
<p
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
377
|
+
<p class={`${footerStyles.footerinfotext}` + ' d-flex align-items-center justify-content-md-center mr-1 '}>
|
|
378
|
+
<a
|
|
379
|
+
style={{
|
|
380
|
+
color: sectionproperties.footerinfotext_color,
|
|
381
|
+
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
382
|
+
fontWeight: sectionproperties.footerinfotext_fontweight,
|
|
383
|
+
textTransform: sectionproperties.footerinfotext_textTransform,
|
|
384
|
+
}}
|
|
385
|
+
href={'tel:' + authdetailsContext.instinfo.contactinfo.mobile}
|
|
386
|
+
target={'_self'}
|
|
387
|
+
>
|
|
388
|
+
<i class={' fa fa-phone mr-2 ml-2 '}></i>
|
|
389
|
+
{authdetailsContext.instinfo.contactinfo.mobile}
|
|
390
|
+
</a>
|
|
391
391
|
</p>
|
|
392
392
|
</div>
|
|
393
393
|
<div class="col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0">
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { Link } from 'react-router-dom';
|
|
3
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
4
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
5
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
6
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
7
2
|
import { css } from 'glamor';
|
|
8
3
|
import { FaFacebookF } from 'react-icons/fa';
|
|
9
4
|
import { BsWhatsapp } from 'react-icons/bs';
|
|
@@ -13,13 +8,9 @@ import { IKImage } from 'imagekitio-react';
|
|
|
13
8
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
14
9
|
|
|
15
10
|
const Footer2 = (props) => {
|
|
16
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
17
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
18
|
-
// const { fetchAuthorizationQueryContext, templateproperties_context } = useContext(FetchingContext);
|
|
19
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
20
11
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
21
12
|
const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
|
|
22
|
-
|
|
13
|
+
const history = props.actions.history;
|
|
23
14
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
24
15
|
const lang = props.actions.lang;
|
|
25
16
|
const langdetect = props.actions.langdetect;
|
|
@@ -28,7 +19,6 @@ const Footer2 = (props) => {
|
|
|
28
19
|
const authdetailsContext = props.actions.authdetailsContext;
|
|
29
20
|
const templateproperties_context = props.actions.templateproperties_context;
|
|
30
21
|
const templatepropcontext = props.actions.templatepropcontext;
|
|
31
|
-
// const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
|
|
32
22
|
useEffect(() => {
|
|
33
23
|
if (props.srcfrom == 'addsectionform') {
|
|
34
24
|
var secpropobj = {};
|
|
@@ -224,7 +214,9 @@ const Footer2 = (props) => {
|
|
|
224
214
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
225
215
|
return (
|
|
226
216
|
<div
|
|
227
|
-
|
|
217
|
+
onClick={() => {
|
|
218
|
+
history.push(item.navigationroute);
|
|
219
|
+
}}
|
|
228
220
|
style={{
|
|
229
221
|
marginLeft: langdetect == 'en' ? 0 : '15px',
|
|
230
222
|
marginRight: langdetect == 'en' ? '15px' : 0,
|
|
@@ -248,9 +240,13 @@ const Footer2 = (props) => {
|
|
|
248
240
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
249
241
|
return (
|
|
250
242
|
<div class="col-lg-12 p-0 d-flex justify-content-center">
|
|
251
|
-
<
|
|
243
|
+
<div
|
|
244
|
+
onClick={() => {
|
|
245
|
+
history.push(item.navigationroute);
|
|
246
|
+
}}
|
|
247
|
+
>
|
|
252
248
|
<p class={`${footerStyles.footertitlestyles}`}>{langdetect == 'en' ? item.pagename : item.pagename_ar} </p>
|
|
253
|
-
</
|
|
249
|
+
</div>
|
|
254
250
|
</div>
|
|
255
251
|
);
|
|
256
252
|
}
|
|
@@ -341,17 +337,20 @@ const Footer2 = (props) => {
|
|
|
341
337
|
</p>
|
|
342
338
|
</div>
|
|
343
339
|
<div class="col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0">
|
|
344
|
-
<p
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
340
|
+
<p class={`${footerStyles.footerinfotext}` + ' d-flex align-items-center justify-content-md-center mr-1 '}>
|
|
341
|
+
<a
|
|
342
|
+
style={{
|
|
343
|
+
color: sectionproperties.footerinfotext_color,
|
|
344
|
+
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
345
|
+
fontWeight: sectionproperties.footerinfotext_fontweight,
|
|
346
|
+
textTransform: sectionproperties.footerinfotext_textTransform,
|
|
347
|
+
}}
|
|
348
|
+
href={'tel:' + authdetailsContext.instinfo.contactinfo.mobile}
|
|
349
|
+
target={'_self'}
|
|
350
|
+
>
|
|
351
|
+
<i class={' fa fa-phone mr-2 ml-2 '}></i>
|
|
352
|
+
{authdetailsContext.instinfo.contactinfo.mobile}
|
|
353
|
+
</a>
|
|
355
354
|
</p>
|
|
356
355
|
</div>
|
|
357
356
|
<div class="col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0">
|
|
@@ -19,7 +19,7 @@ const Footer3 = (props) => {
|
|
|
19
19
|
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
20
20
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
21
21
|
const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
|
|
22
|
-
|
|
22
|
+
const history = props.actions.history;
|
|
23
23
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
24
24
|
const lang = props.actions.lang;
|
|
25
25
|
const langdetect = props.actions.langdetect;
|
|
@@ -201,10 +201,12 @@ const Footer3 = (props) => {
|
|
|
201
201
|
marginLeft: langdetect == 'en' ? 0 : '15px',
|
|
202
202
|
marginRight: langdetect == 'en' ? '15px' : 0,
|
|
203
203
|
}}
|
|
204
|
+
onClick={()=>{
|
|
205
|
+
|
|
206
|
+
history.push(item.navigationroute)
|
|
207
|
+
}}
|
|
204
208
|
>
|
|
205
|
-
<div to={item.navigationroute}>
|
|
206
209
|
<p class={`${footerStyles.footertitlestyles}` + ' m-0 p-0 '}>{langdetect == 'en' ? item.pagename : item.pagename_ar}</p>
|
|
207
|
-
</div>
|
|
208
210
|
</div>
|
|
209
211
|
);
|
|
210
212
|
}
|
|
@@ -283,9 +285,15 @@ const Footer3 = (props) => {
|
|
|
283
285
|
</p>
|
|
284
286
|
</div>
|
|
285
287
|
<div class="col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0">
|
|
286
|
-
<p class={
|
|
287
|
-
<
|
|
288
|
-
|
|
288
|
+
<p class={' d-flex align-items-center justify-content-md-center mr-1 '}>
|
|
289
|
+
<a
|
|
290
|
+
class={`${footerStyles.footerinfotext}`}
|
|
291
|
+
href={'tel:' + authdetailsContext.instinfo.contactinfo.mobile}
|
|
292
|
+
target={'_self'}
|
|
293
|
+
>
|
|
294
|
+
<i class={' fa fa-phone mr-2 ml-2 '}></i>
|
|
295
|
+
{authdetailsContext.instinfo.contactinfo.mobile}
|
|
296
|
+
</a>
|
|
289
297
|
</p>
|
|
290
298
|
</div>
|
|
291
299
|
<div class="col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0">
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { Link } from 'react-router-dom';
|
|
3
|
-
// import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
|
|
4
|
-
// import { FetchingContext } from '../../../../../../../Contexts/FetchingContext';
|
|
5
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../../../../Contexts/WebsiteDesignWorkPlaceContext';
|
|
6
|
-
// import { TemplateRoutingContext } from '../../../../../../../Contexts/TemplateRoutingContext';
|
|
7
2
|
import { css } from 'glamor';
|
|
8
3
|
import { FaFacebookF } from 'react-icons/fa';
|
|
9
4
|
import { AiFillInstagram, AiOutlineMail, AiOutlinePhone } from 'react-icons/ai';
|
|
@@ -16,10 +11,6 @@ import { BsWhatsapp } from 'react-icons/bs';
|
|
|
16
11
|
import { IKImage } from 'imagekitio-react';
|
|
17
12
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
18
13
|
const Footer4 = (props) => {
|
|
19
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
20
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
21
|
-
// const { fetchAuthorizationQueryContext, templateproperties_context } = useContext(FetchingContext);
|
|
22
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
23
14
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
24
15
|
const lang = props.actions.lang;
|
|
25
16
|
const langdetect = props.actions.langdetect;
|
|
@@ -28,7 +19,7 @@ const Footer4 = (props) => {
|
|
|
28
19
|
const authdetailsContext = props.actions.authdetailsContext;
|
|
29
20
|
const templateproperties_context = props.actions.templateproperties_context;
|
|
30
21
|
const templatepropcontext = props.actions.templatepropcontext;
|
|
31
|
-
|
|
22
|
+
const history = props.actions.history;
|
|
32
23
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
33
24
|
useEffect(() => {
|
|
34
25
|
if (props.srcfrom == 'addsectionform') {
|
|
@@ -263,7 +254,11 @@ const Footer4 = (props) => {
|
|
|
263
254
|
if (index < 3) {
|
|
264
255
|
return (
|
|
265
256
|
<div className="col-lg-12 p-0">
|
|
266
|
-
<div
|
|
257
|
+
<div
|
|
258
|
+
onClick={() => {
|
|
259
|
+
history.push(item.navigationroute);
|
|
260
|
+
}}
|
|
261
|
+
>
|
|
267
262
|
<p className={`${footerStyles.footersubtitlestyles}` + ' wordbreak '} style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}>
|
|
268
263
|
{langdetect == 'en' ? item.pagename : item.pagename_ar}
|
|
269
264
|
</p>
|
|
@@ -289,7 +284,11 @@ const Footer4 = (props) => {
|
|
|
289
284
|
if (index > 2) {
|
|
290
285
|
return (
|
|
291
286
|
<div className="col-lg-12 p-0">
|
|
292
|
-
<div
|
|
287
|
+
<div
|
|
288
|
+
onClick={() => {
|
|
289
|
+
history.push(item.navigationroute);
|
|
290
|
+
}}
|
|
291
|
+
>
|
|
293
292
|
<p className={`${footerStyles.footersubtitlestyles}` + ' wordbreak '} style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}>
|
|
294
293
|
{langdetect == 'en' ? item.pagename : item.pagename_ar}
|
|
295
294
|
</p>
|