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