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,18 +1,9 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { useHistory, Link } from 'react-router-dom';
|
|
3
2
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
4
|
-
// import '../../Generalfiles/CSS_GENERAL/dropdown.css';
|
|
5
3
|
import headerstyles from '../../../styles/headers/Allinoneheader.module.css';
|
|
6
|
-
|
|
7
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
8
4
|
import { IKImage } from 'imagekitio-react';
|
|
9
5
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
10
|
-
|
|
11
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
12
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
13
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
14
6
|
import { css } from 'glamor';
|
|
15
|
-
|
|
16
7
|
import { BsBag, BsHandbag } from 'react-icons/bs';
|
|
17
8
|
import { BiLogOutCircle } from 'react-icons/bi';
|
|
18
9
|
import { MdOutlinePolicy, MdOutlineShoppingCart, MdKeyboardArrowDown } from 'react-icons/md';
|
|
@@ -22,23 +13,15 @@ import { GoSearch } from 'react-icons/go';
|
|
|
22
13
|
import { AiOutlineLogin, AiOutlineUserAdd } from 'react-icons/ai';
|
|
23
14
|
import { AiOutlineStar, AiFillStar } from 'react-icons/ai';
|
|
24
15
|
import { FiShoppingBag, FiShoppingCart, FiUser } from 'react-icons/fi';
|
|
25
|
-
import { IoBagHandleOutline } from 'react-icons/io5';
|
|
26
|
-
|
|
27
16
|
import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
|
|
28
17
|
import egyptflag from '../../../assets/images/egyptflag.png';
|
|
29
18
|
import usflag from '../../../assets/images/usflag.png';
|
|
30
19
|
import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
|
|
31
20
|
import Subheader from '../Subheader/Subheader.jsx';
|
|
21
|
+
// import { useHistory } from 'react-router-dom';
|
|
32
22
|
|
|
33
23
|
const AllinoneHeader = (props) => {
|
|
34
|
-
// let history = useHistory();
|
|
35
|
-
// const { lang, setlang, langdetect } = useContext(LanguageContext);
|
|
36
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
37
|
-
// const { templateproperties_context, setsidecartnavshowcontext, fetchAuthorizationQueryContext, LogoutMutationContext, fetchcustomercartQueryContext, setSearchHeaderInputContext } =
|
|
38
|
-
// useContext(FetchingContext);
|
|
39
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
40
24
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
41
|
-
|
|
42
25
|
const LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
43
26
|
const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
44
27
|
const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -54,6 +37,7 @@ const AllinoneHeader = (props) => {
|
|
|
54
37
|
const routingcountext = props.actions.routingcountext;
|
|
55
38
|
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
56
39
|
const actions = props.actions;
|
|
40
|
+
const history = props.actions.history;
|
|
57
41
|
// const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
|
|
58
42
|
useEffect(() => {
|
|
59
43
|
var secpropobj = {};
|
|
@@ -302,9 +286,9 @@ const AllinoneHeader = (props) => {
|
|
|
302
286
|
return totalprice;
|
|
303
287
|
};
|
|
304
288
|
return (
|
|
305
|
-
<div
|
|
289
|
+
<div className={`${headerstyles.header_container}` + ' row m-0 w-100 d-flex justify-content-center '} style={{ position: 'relative' }}>
|
|
306
290
|
<div
|
|
307
|
-
|
|
291
|
+
className="row m-0 d-md-none"
|
|
308
292
|
style={{
|
|
309
293
|
position: sectionproperties.headerstyles_position,
|
|
310
294
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
@@ -312,11 +296,11 @@ const AllinoneHeader = (props) => {
|
|
|
312
296
|
width: '100vw',
|
|
313
297
|
}}
|
|
314
298
|
>
|
|
315
|
-
<div
|
|
316
|
-
<div
|
|
317
|
-
<div
|
|
299
|
+
<div className="col-lg-12 p-0">
|
|
300
|
+
<div className={`${header_cssstyles.top_bar}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
301
|
+
<div className="col-lg-3 col-md-6 col-sm-12 d-flex align-items-center justify-content-start p-0">
|
|
318
302
|
<div
|
|
319
|
-
|
|
303
|
+
className={`${header_cssstyles.header_logo}`}
|
|
320
304
|
style={{ cursor: 'pointer' }}
|
|
321
305
|
onClick={() => {
|
|
322
306
|
routingcountext('home');
|
|
@@ -334,14 +318,14 @@ const AllinoneHeader = (props) => {
|
|
|
334
318
|
/>
|
|
335
319
|
</div>
|
|
336
320
|
</div>
|
|
337
|
-
<div
|
|
338
|
-
<div
|
|
321
|
+
<div className="col-lg-9 col-md-6 col-sm-12 allcentered p-0">
|
|
322
|
+
<div className="row m-0 w-100 d-flex justify-content-end align-items-center">
|
|
339
323
|
{sectionproperties.searchbar_show == 'Show' && (
|
|
340
|
-
<div
|
|
341
|
-
<div
|
|
342
|
-
<div
|
|
324
|
+
<div className="col-lg-5 p-0 d-flex justify-content-end align-items-center">
|
|
325
|
+
<div className="row m-0 w-100 d-flex justify-content-end align-items-center">
|
|
326
|
+
<div className="col-lg-12 p-0 d-flex justify-content-end align-items-center">
|
|
343
327
|
<input
|
|
344
|
-
|
|
328
|
+
className={`${headerstyles.searchbar} ${header_cssstyles.searchbarcont_input}`}
|
|
345
329
|
placeholder={langdetect == 'en' ? "What're we looking for?" : 'البحث...'}
|
|
346
330
|
onChange={(event) => {
|
|
347
331
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -351,8 +335,8 @@ const AllinoneHeader = (props) => {
|
|
|
351
335
|
left: langdetect == 'en' ? '' : 0,
|
|
352
336
|
}}
|
|
353
337
|
/>
|
|
354
|
-
<div
|
|
355
|
-
<i
|
|
338
|
+
<div className={`${header_cssstyles.searchbarcont}` + ' d-flex justify-content-center align-items-center '}>
|
|
339
|
+
<i className={headerstyles.searchbaractive + ' h-100 d-flex align-items-center'}>
|
|
356
340
|
<GoSearch
|
|
357
341
|
size={sectionproperties.searchbarcontfontsize}
|
|
358
342
|
style={{
|
|
@@ -362,8 +346,8 @@ const AllinoneHeader = (props) => {
|
|
|
362
346
|
</i>
|
|
363
347
|
</div>
|
|
364
348
|
</div>
|
|
365
|
-
<div
|
|
366
|
-
<Searchlist
|
|
349
|
+
<div className="col-lg-12 p-0 d-flex justify-content-end align-items-center">
|
|
350
|
+
<Searchlist sectionpropertiesprops={sectionproperties} actions={actions} srcfromprops={'header-400'} />
|
|
367
351
|
</div>
|
|
368
352
|
</div>
|
|
369
353
|
</div>
|
|
@@ -376,27 +360,27 @@ const AllinoneHeader = (props) => {
|
|
|
376
360
|
>
|
|
377
361
|
<Dropdown.Toggle>
|
|
378
362
|
{!authdetailsContext.loggedin && (
|
|
379
|
-
<div
|
|
380
|
-
<i
|
|
363
|
+
<div className={` ${header_cssstyles.user_btn}` + ' d-flex align-items-center justify-content-center '} sytle={{ position: 'relative' }}>
|
|
364
|
+
<i className={' h-100 d-flex align-items-center '}>
|
|
381
365
|
<FiUser size={sectionproperties.userBtnTextfontsize} />
|
|
382
366
|
</i>
|
|
383
367
|
</div>
|
|
384
368
|
)}
|
|
385
369
|
{authdetailsContext.loggedin && (
|
|
386
|
-
<div
|
|
387
|
-
<div
|
|
388
|
-
<i
|
|
370
|
+
<div className={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
|
|
371
|
+
<div className={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
|
|
372
|
+
<i className={' h-100 allcentered '}>
|
|
389
373
|
<FiUser size={sectionproperties.loggedinusericonfontsize} />
|
|
390
374
|
</i>
|
|
391
375
|
</div>
|
|
392
376
|
<div
|
|
393
|
-
|
|
377
|
+
className="m-0 p-0 loggedinuserbtn flex-column"
|
|
394
378
|
style={{
|
|
395
379
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
396
380
|
}}
|
|
397
381
|
>
|
|
398
382
|
<p
|
|
399
|
-
|
|
383
|
+
className="m-0 p-0"
|
|
400
384
|
style={{
|
|
401
385
|
color: sectionproperties.greetingtextcolor,
|
|
402
386
|
fontSize: sectionproperties.greetingtextfontsize + 'px',
|
|
@@ -407,7 +391,7 @@ const AllinoneHeader = (props) => {
|
|
|
407
391
|
{lang.hello}
|
|
408
392
|
{langdetect == 'en' ? ',' : '،'}
|
|
409
393
|
</p>
|
|
410
|
-
<p
|
|
394
|
+
<p className={header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow '}>{authdetailsContext.customerinfo.name}</p>
|
|
411
395
|
</div>
|
|
412
396
|
</div>
|
|
413
397
|
)}
|
|
@@ -419,9 +403,9 @@ const AllinoneHeader = (props) => {
|
|
|
419
403
|
routingcountext(StaticPagesLinksContext.Login);
|
|
420
404
|
}}
|
|
421
405
|
>
|
|
422
|
-
<div
|
|
423
|
-
<p
|
|
424
|
-
<AiOutlineLogin
|
|
406
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
407
|
+
<p className={' d-flex align-items-center m-0 p-0 '}>
|
|
408
|
+
<AiOutlineLogin className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
425
409
|
<span>{lang.login}</span>
|
|
426
410
|
</p>
|
|
427
411
|
</div>
|
|
@@ -432,10 +416,10 @@ const AllinoneHeader = (props) => {
|
|
|
432
416
|
routingcountext(StaticPagesLinksContext.Signup);
|
|
433
417
|
}}
|
|
434
418
|
>
|
|
435
|
-
<div
|
|
436
|
-
<p
|
|
437
|
-
<AiOutlineUserAdd
|
|
438
|
-
<span
|
|
419
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
420
|
+
<p className={' d-flex align-items-center m-0 p-0 '}>
|
|
421
|
+
<AiOutlineUserAdd className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
422
|
+
<span className="text-transform-none">{lang.signup}</span>
|
|
439
423
|
</p>
|
|
440
424
|
</div>
|
|
441
425
|
</Dropdown.Item>
|
|
@@ -448,16 +432,16 @@ const AllinoneHeader = (props) => {
|
|
|
448
432
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
449
433
|
}}
|
|
450
434
|
>
|
|
451
|
-
<div
|
|
452
|
-
<i
|
|
453
|
-
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag
|
|
454
|
-
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag
|
|
455
|
-
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag
|
|
456
|
-
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag
|
|
457
|
-
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart
|
|
458
|
-
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart
|
|
435
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
|
|
436
|
+
<i className="h-100 allcentered">
|
|
437
|
+
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
438
|
+
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
439
|
+
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
440
|
+
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
441
|
+
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
442
|
+
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
459
443
|
</i>
|
|
460
|
-
<p
|
|
444
|
+
<p className={' allcenetered m-0 p-0 '}>{lang.orderhistory}</p>
|
|
461
445
|
</div>
|
|
462
446
|
</Dropdown.Item>
|
|
463
447
|
<Dropdown.Divider></Dropdown.Divider>
|
|
@@ -466,12 +450,12 @@ const AllinoneHeader = (props) => {
|
|
|
466
450
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
467
451
|
}}
|
|
468
452
|
>
|
|
469
|
-
<div
|
|
470
|
-
<i
|
|
471
|
-
{sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart
|
|
472
|
-
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar
|
|
453
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
|
|
454
|
+
<i className="h-100 allcentered">
|
|
455
|
+
{sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
456
|
+
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
473
457
|
</i>
|
|
474
|
-
<p
|
|
458
|
+
<p className={' allcenetered m-0 p-0 '}>{lang.wishlist}</p>
|
|
475
459
|
</div>
|
|
476
460
|
</Dropdown.Item>
|
|
477
461
|
<Dropdown.Divider></Dropdown.Divider>
|
|
@@ -480,11 +464,11 @@ const AllinoneHeader = (props) => {
|
|
|
480
464
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
481
465
|
}}
|
|
482
466
|
>
|
|
483
|
-
<div
|
|
484
|
-
<i
|
|
485
|
-
<MdOutlinePolicy
|
|
467
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
|
|
468
|
+
<i className="h-100 allcentered">
|
|
469
|
+
<MdOutlinePolicy className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
486
470
|
</i>
|
|
487
|
-
<p
|
|
471
|
+
<p className={' allcenetered m-0 p-0 '}>{lang.policies}</p>
|
|
488
472
|
</div>
|
|
489
473
|
</Dropdown.Item>
|
|
490
474
|
<Dropdown.Divider></Dropdown.Divider>
|
|
@@ -493,11 +477,11 @@ const AllinoneHeader = (props) => {
|
|
|
493
477
|
LogoutMutationContext.mutate();
|
|
494
478
|
}}
|
|
495
479
|
>
|
|
496
|
-
<div
|
|
497
|
-
<i
|
|
498
|
-
<BiLogOutCircle
|
|
480
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
481
|
+
<i className="h-100 allcentered">
|
|
482
|
+
<BiLogOutCircle className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
499
483
|
</i>
|
|
500
|
-
<p
|
|
484
|
+
<p className={' allcenetered m-0 p-0 '}>{lang.logout}</p>
|
|
501
485
|
</div>
|
|
502
486
|
</Dropdown.Item>
|
|
503
487
|
</Dropdown.Menu>
|
|
@@ -505,7 +489,7 @@ const AllinoneHeader = (props) => {
|
|
|
505
489
|
</Dropdown>
|
|
506
490
|
{sectionproperties.favBtnShow == 'Show' && (
|
|
507
491
|
<div
|
|
508
|
-
|
|
492
|
+
className={
|
|
509
493
|
langdetect == 'en'
|
|
510
494
|
? `${header_cssstyles.wishlist_btn}` + ' d-flex justify-content-center align-items-center ml-3 '
|
|
511
495
|
: `${header_cssstyles.wishlist_btn}` + ' d-flex justify-content-center align-items-center mr-3 '
|
|
@@ -514,7 +498,7 @@ const AllinoneHeader = (props) => {
|
|
|
514
498
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
515
499
|
}}
|
|
516
500
|
>
|
|
517
|
-
<i
|
|
501
|
+
<i className={'h-100 d-flex align-items-center'}>
|
|
518
502
|
{sectionproperties.faviconshape == 'Heart Shape' && (
|
|
519
503
|
<FaRegHeart
|
|
520
504
|
style={{
|
|
@@ -535,24 +519,24 @@ const AllinoneHeader = (props) => {
|
|
|
535
519
|
|
|
536
520
|
{sectionproperties.cartBtnShow == 'Show' && (
|
|
537
521
|
<div
|
|
538
|
-
|
|
522
|
+
className="m-0 d-flex flex-row align-items-center justify-content-end ml-3 mr-4"
|
|
539
523
|
onClick={() => {
|
|
540
524
|
setsidecartnavshowcontext(true);
|
|
541
525
|
}}
|
|
542
526
|
>
|
|
543
|
-
<div
|
|
527
|
+
<div className={`${header_cssstyles.cart_btn}` + ' allcentered ml-2 mr-2 '} style={{ position: 'relative' }}>
|
|
544
528
|
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
545
529
|
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
546
530
|
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
547
531
|
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
548
532
|
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
549
533
|
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
550
|
-
<div
|
|
534
|
+
<div className={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.cartbadge}`}>
|
|
551
535
|
{fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
|
|
552
536
|
</div>
|
|
553
537
|
</div>
|
|
554
538
|
<p
|
|
555
|
-
|
|
539
|
+
className="m-0 p-0 d-flex flex-column "
|
|
556
540
|
style={{
|
|
557
541
|
color: sectionproperties.cartBtnTextcolor,
|
|
558
542
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
@@ -565,7 +549,7 @@ const AllinoneHeader = (props) => {
|
|
|
565
549
|
>
|
|
566
550
|
{lang.cart}
|
|
567
551
|
<p
|
|
568
|
-
|
|
552
|
+
className="m-0 p-0"
|
|
569
553
|
style={{
|
|
570
554
|
color: sectionproperties.total_color,
|
|
571
555
|
fontSize: sectionproperties.total_fontsize + 'px',
|
|
@@ -579,19 +563,19 @@ const AllinoneHeader = (props) => {
|
|
|
579
563
|
</p>
|
|
580
564
|
</div>
|
|
581
565
|
)}
|
|
582
|
-
<div
|
|
566
|
+
<div className={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
|
|
583
567
|
<Dropdown>
|
|
584
568
|
<Dropdown.Toggle>
|
|
585
|
-
<li
|
|
569
|
+
<li className={' d-flex align-items-center justify-content-center '}>
|
|
586
570
|
{langdetect == 'en' && (
|
|
587
|
-
<div
|
|
588
|
-
<p
|
|
571
|
+
<div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
572
|
+
<p className="m-0 p-0 mr-2">En</p>
|
|
589
573
|
<MdKeyboardArrowDown />
|
|
590
574
|
</div>
|
|
591
575
|
)}
|
|
592
576
|
{langdetect == 'ar' && (
|
|
593
|
-
<div
|
|
594
|
-
<p
|
|
577
|
+
<div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
578
|
+
<p className="m-0 p-0 ml-2">ع</p>
|
|
595
579
|
<MdKeyboardArrowDown />
|
|
596
580
|
</div>
|
|
597
581
|
)}
|
|
@@ -603,9 +587,9 @@ const AllinoneHeader = (props) => {
|
|
|
603
587
|
setlang('ar');
|
|
604
588
|
}}
|
|
605
589
|
>
|
|
606
|
-
<div
|
|
590
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
|
|
607
591
|
<p
|
|
608
|
-
|
|
592
|
+
className={'dropdownitem d-flex align-items-center m-0 p-0'}
|
|
609
593
|
style={{
|
|
610
594
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
611
595
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -613,7 +597,7 @@ const AllinoneHeader = (props) => {
|
|
|
613
597
|
}}
|
|
614
598
|
>
|
|
615
599
|
<img src={egyptflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
616
|
-
<span
|
|
600
|
+
<span className={'ml-2 mr-2'}>{lang.arabic}</span>
|
|
617
601
|
</p>
|
|
618
602
|
</div>
|
|
619
603
|
</Dropdown.Item>
|
|
@@ -623,9 +607,9 @@ const AllinoneHeader = (props) => {
|
|
|
623
607
|
setlang('en');
|
|
624
608
|
}}
|
|
625
609
|
>
|
|
626
|
-
<div
|
|
610
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
|
|
627
611
|
<p
|
|
628
|
-
|
|
612
|
+
className={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
|
|
629
613
|
style={{
|
|
630
614
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
631
615
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -633,7 +617,7 @@ const AllinoneHeader = (props) => {
|
|
|
633
617
|
}}
|
|
634
618
|
>
|
|
635
619
|
<img src={usflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
636
|
-
<span
|
|
620
|
+
<span className={'ml-2 mr-2'}>{lang.english}</span>
|
|
637
621
|
</p>
|
|
638
622
|
</div>
|
|
639
623
|
</Dropdown.Item>
|
|
@@ -643,17 +627,27 @@ const AllinoneHeader = (props) => {
|
|
|
643
627
|
</div>
|
|
644
628
|
</div>
|
|
645
629
|
{sectionproperties.showlowerheadersection == 'Show' && (
|
|
646
|
-
<div
|
|
647
|
-
<div
|
|
630
|
+
<div className="col-lg-12 p-0 mt-2 mb-2">
|
|
631
|
+
<div className={header_cssstyles.header_divider}></div>
|
|
648
632
|
</div>
|
|
649
633
|
)}
|
|
650
634
|
</div>
|
|
651
635
|
</div>
|
|
652
636
|
{sectionproperties.showlowerheadersection == 'Show' && (
|
|
653
|
-
<div
|
|
654
|
-
|
|
637
|
+
<div
|
|
638
|
+
className={`${header_cssstyles.navbar_nav} ` + ' col-lg-12 align-items-center '}
|
|
639
|
+
style={{
|
|
640
|
+
display: sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'block' : 'flex',
|
|
641
|
+
}}
|
|
642
|
+
>
|
|
643
|
+
<div
|
|
644
|
+
className="row m-0 w-100 align-items-center"
|
|
645
|
+
style={{
|
|
646
|
+
display: sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'block' : 'flex',
|
|
647
|
+
}}
|
|
648
|
+
>
|
|
655
649
|
<nav
|
|
656
|
-
|
|
650
|
+
className={headerstyles.navbar}
|
|
657
651
|
style={{
|
|
658
652
|
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
|
|
659
653
|
}}
|
|
@@ -662,9 +656,13 @@ const AllinoneHeader = (props) => {
|
|
|
662
656
|
{templatepropcontext.pagesnprop.map((item, index) => {
|
|
663
657
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
664
658
|
return (
|
|
665
|
-
<div
|
|
659
|
+
<div
|
|
660
|
+
onClick={() => {
|
|
661
|
+
history.push(item.navigationroute);
|
|
662
|
+
}}
|
|
663
|
+
>
|
|
666
664
|
<li
|
|
667
|
-
|
|
665
|
+
className={`${headerstyles.topbar_item_container}`}
|
|
668
666
|
style={{
|
|
669
667
|
marginRight: langdetect == 'en' ? '35px' : 0,
|
|
670
668
|
marginLeft: langdetect == 'en' ? 0 : '35px',
|
|
@@ -676,7 +674,7 @@ const AllinoneHeader = (props) => {
|
|
|
676
674
|
templatepropcontext.pagesnprop[index].isselected = true;
|
|
677
675
|
}}
|
|
678
676
|
>
|
|
679
|
-
<div
|
|
677
|
+
<div className={`${headerstyles.topbar_item} ${header_cssstyles.topbar_item}`}>
|
|
680
678
|
<span>{langdetect == 'en' ? item.pagename : item.pagename_ar}</span>
|
|
681
679
|
</div>
|
|
682
680
|
</li>
|
|
@@ -701,7 +699,7 @@ const AllinoneHeader = (props) => {
|
|
|
701
699
|
</div>
|
|
702
700
|
</div>
|
|
703
701
|
)}
|
|
704
|
-
<div
|
|
702
|
+
<div className="col-lg-12 p-0">
|
|
705
703
|
{sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
|
|
706
704
|
<Subheader
|
|
707
705
|
sectionpropertiesprops={sectionproperties}
|