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