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
package/{srcOLD → src1-10}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx
RENAMED
|
@@ -327,12 +327,12 @@ const HeaderwithContactinfo = (props) => {
|
|
|
327
327
|
}
|
|
328
328
|
}, [templateproperties_context]);
|
|
329
329
|
return (
|
|
330
|
-
<div
|
|
331
|
-
<div
|
|
332
|
-
<div
|
|
330
|
+
<div className={' row m-0 w-100 d-flex justify-content-center align-items-center '} style={{ zIndex: 1000 }}>
|
|
331
|
+
<div className="col-lg-12 p-0">
|
|
332
|
+
<div className={`${header_cssstyles.header_outercontainer}` + ' d-flex d-md-none row ml-0 mr-0 '}>
|
|
333
333
|
{sectionproperties.showupperheadersection == 'Show' && (
|
|
334
334
|
<div
|
|
335
|
-
|
|
335
|
+
className="col-lg-12 d-flex align-items-center plr-1025-0"
|
|
336
336
|
style={{
|
|
337
337
|
paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
|
|
338
338
|
paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
|
|
@@ -340,72 +340,72 @@ const HeaderwithContactinfo = (props) => {
|
|
|
340
340
|
borderBottom: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg,
|
|
341
341
|
}}
|
|
342
342
|
>
|
|
343
|
-
<div
|
|
344
|
-
<div
|
|
345
|
-
<div
|
|
343
|
+
<div className="row m-0 w-100">
|
|
344
|
+
<div className="col-lg-3 d-flex align-items-center p-0">
|
|
345
|
+
<div className="row m-0 w-100">
|
|
346
346
|
{sectionproperties.fbbtn_show == 'Show' && (
|
|
347
|
-
<div
|
|
347
|
+
<div className={header_cssstyles.fbbtn + ' p-0 allcentered cursor-pointer '}>
|
|
348
348
|
<FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
|
|
349
349
|
</div>
|
|
350
350
|
)}
|
|
351
351
|
{sectionproperties.youtbtn_show == 'Show' && (
|
|
352
|
-
<div
|
|
352
|
+
<div className={header_cssstyles.whatsappbtn + ' p-0 allcentered cursor-pointer '}>
|
|
353
353
|
<BsWhatsapp size={sectionproperties.youtubebtniconfontsize} />
|
|
354
354
|
</div>
|
|
355
355
|
)}
|
|
356
356
|
{sectionproperties.instbtn_show == 'Show' && (
|
|
357
|
-
<div
|
|
357
|
+
<div className={header_cssstyles.instagrambtn + ' p-0 allcentered cursor-pointer '}>
|
|
358
358
|
<AiOutlineInstagram size={sectionproperties.instgrambtniconfontsize} />
|
|
359
359
|
</div>
|
|
360
360
|
)}
|
|
361
361
|
</div>
|
|
362
362
|
</div>
|
|
363
|
-
<div
|
|
364
|
-
<div
|
|
363
|
+
<div className="col-lg-9 d-flex align-items-center justify-content-end">
|
|
364
|
+
<div className="row m-0 w-100 d-flex align-items-center justify-content-end h-100">
|
|
365
365
|
{sectionproperties.showfooterphonenumber == 'Show' && (
|
|
366
366
|
<div
|
|
367
|
-
|
|
367
|
+
className="d-flex align-items-center justify-content-center pl-3 pr-3 h-100"
|
|
368
368
|
style={{ borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg }}
|
|
369
369
|
>
|
|
370
|
-
<a href={'tel:' + authdetailsContext.instinfo.contactinfo.mobile} target={'_self'}
|
|
371
|
-
<AiFillPhone
|
|
372
|
-
<span
|
|
370
|
+
<a href={'tel:' + authdetailsContext.instinfo.contactinfo.mobile} target={'_self'} className="d-flex align-items-center">
|
|
371
|
+
<AiFillPhone className={header_cssstyles.upperheadertext + ' ml-1 mr-1 '} size={sectionproperties.footerinfotext_fontsize} />
|
|
372
|
+
<span className={header_cssstyles.upperheadertext}>{authdetailsContext.instinfo.contactinfo.mobile}</span>
|
|
373
373
|
</a>
|
|
374
374
|
</div>
|
|
375
375
|
)}
|
|
376
376
|
{sectionproperties.showfooteremail == 'Show' && (
|
|
377
377
|
<div
|
|
378
|
-
|
|
378
|
+
className="d-flex align-items-center justify-content-center pl-3 pr-3 h-100 cursor-pointer"
|
|
379
379
|
style={{ borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg }}
|
|
380
380
|
onClick={() => {
|
|
381
381
|
window.open('mailto:' + authdetailsContext.instinfo.contactinfo.email, '_self');
|
|
382
382
|
}}
|
|
383
383
|
>
|
|
384
|
-
<AiOutlineMail
|
|
385
|
-
<span
|
|
384
|
+
<AiOutlineMail className={header_cssstyles.upperheadertext + ' ml-1 mr-1 '} size={sectionproperties.footerinfotext_fontsize} />
|
|
385
|
+
<span className={header_cssstyles.upperheadertext}>{authdetailsContext.instinfo.contactinfo.email}</span>
|
|
386
386
|
</div>
|
|
387
387
|
)}
|
|
388
388
|
{sectionproperties.showopeninghours == 'Show' && (
|
|
389
389
|
<div
|
|
390
|
-
|
|
390
|
+
className="d-flex align-items-center justify-content-center pl-3 pr-3 h-100"
|
|
391
391
|
style={{ borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg }}
|
|
392
392
|
>
|
|
393
|
-
<AiOutlineClockCircle
|
|
393
|
+
<AiOutlineClockCircle className={header_cssstyles.upperheadertext + ' ml-1 mr-1 '} size={sectionproperties.footerinfotext_fontsize} />
|
|
394
394
|
|
|
395
|
-
<span
|
|
395
|
+
<span className={header_cssstyles.upperheadertext}> Monday - Friday: 10:00 - 18:00</span>
|
|
396
396
|
</div>
|
|
397
397
|
)}
|
|
398
398
|
<div
|
|
399
|
-
|
|
399
|
+
className="d-flex align-items-center justify-content-center pl-3 pr-3 h-100"
|
|
400
400
|
style={{ borderRight: sectionproperties.vl_width + 'px solid ' + sectionproperties.vl_bg }}
|
|
401
401
|
onClick={() => {
|
|
402
402
|
setopenSearchBar(true);
|
|
403
403
|
}}
|
|
404
404
|
>
|
|
405
|
-
<BsSearch
|
|
405
|
+
<BsSearch className={header_cssstyles.searchicon + ' cursor-pointer '} size={sectionproperties.searchbaricon_fontsize} />
|
|
406
406
|
</div>
|
|
407
407
|
<div
|
|
408
|
-
|
|
408
|
+
className={
|
|
409
409
|
langdetect == 'en'
|
|
410
410
|
? 'headerdropdownml d-flex align-items-center justify-content-center pl-3 pr-3'
|
|
411
411
|
: 'headerdropdownmr d-flex align-items-center justify-content-center pl-3 pr-3'
|
|
@@ -413,16 +413,16 @@ const HeaderwithContactinfo = (props) => {
|
|
|
413
413
|
>
|
|
414
414
|
<Dropdown>
|
|
415
415
|
<Dropdown.Toggle>
|
|
416
|
-
<li
|
|
416
|
+
<li className={' d-flex align-items-center justify-content-center '}>
|
|
417
417
|
{langdetect == 'en' && (
|
|
418
|
-
<div
|
|
419
|
-
<p
|
|
418
|
+
<div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
419
|
+
<p className="m-0 p-0 mr-2">English</p>
|
|
420
420
|
<MdKeyboardArrowDown />
|
|
421
421
|
</div>
|
|
422
422
|
)}
|
|
423
423
|
{langdetect == 'ar' && (
|
|
424
|
-
<div
|
|
425
|
-
<p
|
|
424
|
+
<div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
425
|
+
<p className="m-0 p-0 ml-2">لغة عربية</p>
|
|
426
426
|
<MdKeyboardArrowDown />
|
|
427
427
|
</div>
|
|
428
428
|
)}
|
|
@@ -434,9 +434,9 @@ const HeaderwithContactinfo = (props) => {
|
|
|
434
434
|
setlang('ar');
|
|
435
435
|
}}
|
|
436
436
|
>
|
|
437
|
-
<div
|
|
437
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}`}>
|
|
438
438
|
<p
|
|
439
|
-
|
|
439
|
+
className={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
|
|
440
440
|
style={{
|
|
441
441
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
442
442
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -444,7 +444,7 @@ const HeaderwithContactinfo = (props) => {
|
|
|
444
444
|
}}
|
|
445
445
|
>
|
|
446
446
|
<img src={egyptflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
447
|
-
<span
|
|
447
|
+
<span className={'ml-2 mr-2'}>{lang.arabic}</span>
|
|
448
448
|
</p>
|
|
449
449
|
</div>
|
|
450
450
|
</Dropdown.Item>
|
|
@@ -454,9 +454,9 @@ const HeaderwithContactinfo = (props) => {
|
|
|
454
454
|
setlang('en');
|
|
455
455
|
}}
|
|
456
456
|
>
|
|
457
|
-
<div
|
|
457
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}`}>
|
|
458
458
|
<p
|
|
459
|
-
|
|
459
|
+
className={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
|
|
460
460
|
style={{
|
|
461
461
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
462
462
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -464,7 +464,7 @@ const HeaderwithContactinfo = (props) => {
|
|
|
464
464
|
}}
|
|
465
465
|
>
|
|
466
466
|
<img src={usflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
467
|
-
<span
|
|
467
|
+
<span className={'ml-2 mr-2'}>{lang.english}</span>
|
|
468
468
|
</p>
|
|
469
469
|
</div>
|
|
470
470
|
</Dropdown.Item>
|
|
@@ -476,10 +476,10 @@ const HeaderwithContactinfo = (props) => {
|
|
|
476
476
|
</div>
|
|
477
477
|
</div>
|
|
478
478
|
)}
|
|
479
|
-
<div
|
|
480
|
-
<div
|
|
479
|
+
<div className={`${headerstyles.lowerHeaderContainer} ${header_cssstyles.lowerHeaderContainer}` + ' row m-0 w-100 d-flex align-items-center plr-1025-1 '} style={{ zIndex: 2 }}>
|
|
480
|
+
<div className="col-lg-2 p-0 d-flex align-items-center justify-content-start">
|
|
481
481
|
<div
|
|
482
|
-
|
|
482
|
+
className={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
|
|
483
483
|
style={{ cursor: 'pointer' }}
|
|
484
484
|
onClick={() => {
|
|
485
485
|
routingcountext('home');
|
|
@@ -496,8 +496,8 @@ const HeaderwithContactinfo = (props) => {
|
|
|
496
496
|
/>
|
|
497
497
|
</div>
|
|
498
498
|
</div>
|
|
499
|
-
<div
|
|
500
|
-
<nav
|
|
499
|
+
<div className="col-lg-6 p-0 d-flex align-items-center justify-content-start">
|
|
500
|
+
<nav className={headerstyles.navbar}>
|
|
501
501
|
<ul>
|
|
502
502
|
{templatepropcontext.pagesnprop.map((item, index) => {
|
|
503
503
|
var activeclass = '';
|
|
@@ -518,8 +518,8 @@ const HeaderwithContactinfo = (props) => {
|
|
|
518
518
|
routingcountext(item.navigationroute, false, '');
|
|
519
519
|
}}
|
|
520
520
|
>
|
|
521
|
-
<div
|
|
522
|
-
<span
|
|
521
|
+
<div className={`${headerstyles.navbar_item} ${activeclass}`}>
|
|
522
|
+
<span className={`${headerstyles.navbar_item_text} ${header_cssstyles.navbar_item_text}`}>
|
|
523
523
|
{langdetect == 'en' ? item.pagename : item.pagename_ar}
|
|
524
524
|
</span>
|
|
525
525
|
</div>
|
|
@@ -533,6 +533,7 @@ const HeaderwithContactinfo = (props) => {
|
|
|
533
533
|
{sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
|
|
534
534
|
<Subheader
|
|
535
535
|
sectionpropertiesprops={sectionproperties}
|
|
536
|
+
actions={actions}
|
|
536
537
|
subheaderpropertiesprops={{
|
|
537
538
|
subheaderpositionprops: 'in nav',
|
|
538
539
|
paddingLeftprops: '35px',
|
|
@@ -543,13 +544,13 @@ const HeaderwithContactinfo = (props) => {
|
|
|
543
544
|
)}
|
|
544
545
|
</div>
|
|
545
546
|
|
|
546
|
-
<div
|
|
547
|
+
<div className="col-lg-4 d-flex align-items-center justify-content-end">
|
|
547
548
|
{sectionproperties.searchbar_show == 'Show' && (
|
|
548
|
-
<div
|
|
549
|
-
<div
|
|
550
|
-
<div
|
|
549
|
+
<div className="col-lg-4 p-0 d-flex justify-content-end align-items-center">
|
|
550
|
+
<div className="row m-0 w-100 d-flex justify-content-end align-items-center">
|
|
551
|
+
<div className="col-lg-12 p-0 d-flex justify-content-end align-items-center">
|
|
551
552
|
<input
|
|
552
|
-
|
|
553
|
+
className={`${headerstyles.searchbar} ${header_cssstyles.searchbarcont_input}`}
|
|
553
554
|
placeholder={langdetect == 'en' ? "What're we looking for?" : 'البحث...'}
|
|
554
555
|
onChange={(event) => {
|
|
555
556
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -559,8 +560,8 @@ const HeaderwithContactinfo = (props) => {
|
|
|
559
560
|
left: langdetect == 'en' ? '' : 0,
|
|
560
561
|
}}
|
|
561
562
|
/>
|
|
562
|
-
<div
|
|
563
|
-
<i
|
|
563
|
+
<div className={`${header_cssstyles.searchbarcont}` + ' d-flex justify-content-center align-items-center '}>
|
|
564
|
+
<i className={headerstyles.searchbaractive + ' h-100 d-flex align-items-center'}>
|
|
564
565
|
<GoSearch
|
|
565
566
|
size={sectionproperties.searchbarcontfontsize}
|
|
566
567
|
style={{
|
|
@@ -570,19 +571,19 @@ const HeaderwithContactinfo = (props) => {
|
|
|
570
571
|
</i>
|
|
571
572
|
</div>
|
|
572
573
|
</div>
|
|
573
|
-
<div
|
|
574
|
-
<Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'header-300'} />
|
|
574
|
+
<div className="col-lg-12 p-0 d-flex justify-content-end align-items-center">
|
|
575
|
+
<Searchlist sectionpropertiesprops={sectionproperties} actions={actions} srcfromprops={'header-300'} />
|
|
575
576
|
</div>
|
|
576
577
|
</div>
|
|
577
578
|
</div>
|
|
578
579
|
)}
|
|
579
|
-
<div
|
|
580
|
+
<div className="headerdropdownml ml-3 mr-3">
|
|
580
581
|
<Dropdown>
|
|
581
582
|
<Dropdown.Toggle>
|
|
582
583
|
{!authdetailsContext.loggedin && (
|
|
583
|
-
<div
|
|
584
|
+
<div className={' d-flex justify-content-center align-items-center '}>
|
|
584
585
|
<span
|
|
585
|
-
|
|
586
|
+
className={
|
|
586
587
|
`${headerstyles.navbar_item_text} ${header_cssstyles.navbar_item_text} ${header_cssstyles.user_btn}` +
|
|
587
588
|
' d-flex justify-content-center align-items-center '
|
|
588
589
|
}
|
|
@@ -592,20 +593,20 @@ const HeaderwithContactinfo = (props) => {
|
|
|
592
593
|
</div>
|
|
593
594
|
)}
|
|
594
595
|
{authdetailsContext.loggedin && (
|
|
595
|
-
<div
|
|
596
|
-
<div
|
|
597
|
-
<i
|
|
596
|
+
<div className={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
|
|
597
|
+
<div className={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
|
|
598
|
+
<i className={' h-100 allcentered '}>
|
|
598
599
|
<FiUser size={sectionproperties.loggedinusericonfontsize} />
|
|
599
600
|
</i>
|
|
600
601
|
</div>
|
|
601
602
|
<div
|
|
602
|
-
|
|
603
|
+
className="m-0 p-0 loggedinuserbtn flex-column"
|
|
603
604
|
style={{
|
|
604
605
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
605
606
|
}}
|
|
606
607
|
>
|
|
607
608
|
<p
|
|
608
|
-
|
|
609
|
+
className="m-0 p-0"
|
|
609
610
|
style={{
|
|
610
611
|
color: sectionproperties.greetingtextcolor,
|
|
611
612
|
fontSize: sectionproperties.greetingtextfontsize + 'px',
|
|
@@ -616,7 +617,7 @@ const HeaderwithContactinfo = (props) => {
|
|
|
616
617
|
{lang.hello}
|
|
617
618
|
{langdetect == 'en' ? ',' : '،'}
|
|
618
619
|
</p>
|
|
619
|
-
<p
|
|
620
|
+
<p className={header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow '} style={{ maxWidth: '60px' }}>
|
|
620
621
|
{authdetailsContext.customerinfo.name}
|
|
621
622
|
</p>
|
|
622
623
|
</div>
|
|
@@ -630,10 +631,10 @@ const HeaderwithContactinfo = (props) => {
|
|
|
630
631
|
routingcountext(StaticPagesLinksContext.Login);
|
|
631
632
|
}}
|
|
632
633
|
>
|
|
633
|
-
<div
|
|
634
|
-
<p
|
|
634
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
|
|
635
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
|
|
635
636
|
<AiOutlineLogin />
|
|
636
|
-
<span
|
|
637
|
+
<span className="ml-2 mr-2">{lang.login}</span>
|
|
637
638
|
</p>
|
|
638
639
|
</div>
|
|
639
640
|
</Dropdown.Item>
|
|
@@ -643,10 +644,10 @@ const HeaderwithContactinfo = (props) => {
|
|
|
643
644
|
routingcountext(StaticPagesLinksContext.Signup);
|
|
644
645
|
}}
|
|
645
646
|
>
|
|
646
|
-
<div
|
|
647
|
-
<p
|
|
647
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
|
|
648
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
|
|
648
649
|
<AiOutlineUserAdd />
|
|
649
|
-
<span
|
|
650
|
+
<span className="ml-2 mr-2 text-transform-none">{lang.signup}</span>
|
|
650
651
|
</p>
|
|
651
652
|
</div>
|
|
652
653
|
</Dropdown.Item>
|
|
@@ -655,7 +656,7 @@ const HeaderwithContactinfo = (props) => {
|
|
|
655
656
|
{authdetailsContext.loggedin && (
|
|
656
657
|
<Dropdown.Menu style={{ minWidth: '200px' }}>
|
|
657
658
|
<Dropdown.Item>
|
|
658
|
-
<div
|
|
659
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}`}>
|
|
659
660
|
<span
|
|
660
661
|
style={{
|
|
661
662
|
color: '#8fa0bd',
|
|
@@ -664,7 +665,7 @@ const HeaderwithContactinfo = (props) => {
|
|
|
664
665
|
{lang.hello},
|
|
665
666
|
</span>
|
|
666
667
|
<span
|
|
667
|
-
|
|
668
|
+
className={`${header_cssstyles.dropdownitem}` + ' dropdownitem font-weight-600 text-overflow text-capitalize p-0 ml-1 mr-1 '}
|
|
668
669
|
onClick={() => {
|
|
669
670
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
670
671
|
}}
|
|
@@ -679,15 +680,15 @@ const HeaderwithContactinfo = (props) => {
|
|
|
679
680
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
680
681
|
}}
|
|
681
682
|
>
|
|
682
|
-
<div
|
|
683
|
-
<p
|
|
683
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
684
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
684
685
|
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
|
|
685
686
|
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
|
|
686
687
|
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
|
|
687
688
|
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag />}
|
|
688
689
|
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
|
|
689
690
|
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart />}
|
|
690
|
-
<span
|
|
691
|
+
<span className="ml-2 mr-2">{lang.orderhistory}</span>
|
|
691
692
|
</p>
|
|
692
693
|
</div>
|
|
693
694
|
</Dropdown.Item>
|
|
@@ -697,11 +698,11 @@ const HeaderwithContactinfo = (props) => {
|
|
|
697
698
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
698
699
|
}}
|
|
699
700
|
>
|
|
700
|
-
<div
|
|
701
|
-
<p
|
|
701
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
702
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
702
703
|
{sectionproperties.faviconshape == 'Heart Shape' && <AiOutlineHeart />}
|
|
703
704
|
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
|
|
704
|
-
<span
|
|
705
|
+
<span className="ml-2 mr-2">{lang.wishlist}</span>
|
|
705
706
|
</p>
|
|
706
707
|
</div>
|
|
707
708
|
</Dropdown.Item>
|
|
@@ -711,10 +712,10 @@ const HeaderwithContactinfo = (props) => {
|
|
|
711
712
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
712
713
|
}}
|
|
713
714
|
>
|
|
714
|
-
<div
|
|
715
|
-
<p
|
|
715
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
716
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
716
717
|
<MdOutlinePolicy />
|
|
717
|
-
<span
|
|
718
|
+
<span className="ml-2 mr-2">{lang.policies}</span>
|
|
718
719
|
</p>
|
|
719
720
|
</div>
|
|
720
721
|
</Dropdown.Item>
|
|
@@ -724,10 +725,10 @@ const HeaderwithContactinfo = (props) => {
|
|
|
724
725
|
LogoutMutationContext.mutate();
|
|
725
726
|
}}
|
|
726
727
|
>
|
|
727
|
-
<div
|
|
728
|
-
<p
|
|
728
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
729
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
729
730
|
<BiLogOutCircle />
|
|
730
|
-
<span
|
|
731
|
+
<span className="ml-2 mr-2">{lang.logout}</span>
|
|
731
732
|
</p>
|
|
732
733
|
</div>
|
|
733
734
|
</Dropdown.Item>
|
|
@@ -736,7 +737,7 @@ const HeaderwithContactinfo = (props) => {
|
|
|
736
737
|
</Dropdown>
|
|
737
738
|
</div>
|
|
738
739
|
<div
|
|
739
|
-
|
|
740
|
+
className={`${header_cssstyles.wishlist_btn}` + ' d-flex justify-content-center align-items-center cursor-pointer '}
|
|
740
741
|
onClick={() => {
|
|
741
742
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
742
743
|
}}
|
|
@@ -750,14 +751,14 @@ const HeaderwithContactinfo = (props) => {
|
|
|
750
751
|
</div>
|
|
751
752
|
{sectionproperties.cartBtnShow == 'Show' && (
|
|
752
753
|
<div
|
|
753
|
-
|
|
754
|
+
className={'d-flex align-items-center justify-content-end'}
|
|
754
755
|
style={{
|
|
755
756
|
marginRight: sectionproperties.showupperheadersection == 'Hide' ? (langdetect == 'en' ? '1.5rem' : 0) : 0,
|
|
756
757
|
marginLeft: sectionproperties.showupperheadersection == 'Hide' ? (langdetect == 'ar' ? '1.5rem' : 0) : 0,
|
|
757
758
|
}}
|
|
758
759
|
>
|
|
759
760
|
<div
|
|
760
|
-
|
|
761
|
+
className={`${header_cssstyles.cart_btn}` + ' allcentered '}
|
|
761
762
|
onClick={() => {
|
|
762
763
|
setsidecartnavshowcontext(true);
|
|
763
764
|
}}
|
|
@@ -784,19 +785,19 @@ const HeaderwithContactinfo = (props) => {
|
|
|
784
785
|
</div>
|
|
785
786
|
)}
|
|
786
787
|
{sectionproperties.showupperheadersection == 'Hide' && (
|
|
787
|
-
<div
|
|
788
|
+
<div className={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
|
|
788
789
|
<Dropdown>
|
|
789
790
|
<Dropdown.Toggle>
|
|
790
|
-
<li
|
|
791
|
+
<li className={' d-flex align-items-center justify-content-center '}>
|
|
791
792
|
{langdetect == 'en' && (
|
|
792
|
-
<div
|
|
793
|
-
<p
|
|
793
|
+
<div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
794
|
+
<p className="m-0 p-0 mr-2">En</p>
|
|
794
795
|
<MdKeyboardArrowDown />
|
|
795
796
|
</div>
|
|
796
797
|
)}
|
|
797
798
|
{langdetect == 'ar' && (
|
|
798
|
-
<div
|
|
799
|
-
<p
|
|
799
|
+
<div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
800
|
+
<p className="m-0 p-0 ml-2">ع</p>
|
|
800
801
|
<MdKeyboardArrowDown />
|
|
801
802
|
</div>
|
|
802
803
|
)}
|
|
@@ -808,9 +809,9 @@ const HeaderwithContactinfo = (props) => {
|
|
|
808
809
|
setlang('ar');
|
|
809
810
|
}}
|
|
810
811
|
>
|
|
811
|
-
<div
|
|
812
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
|
|
812
813
|
<p
|
|
813
|
-
|
|
814
|
+
className={'dropdownitem d-flex align-items-center m-0 p-0'}
|
|
814
815
|
style={{
|
|
815
816
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
816
817
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -818,7 +819,7 @@ const HeaderwithContactinfo = (props) => {
|
|
|
818
819
|
}}
|
|
819
820
|
>
|
|
820
821
|
<img src={egyptflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
821
|
-
<span
|
|
822
|
+
<span className={'ml-2 mr-2'}>{lang.arabic}</span>
|
|
822
823
|
</p>
|
|
823
824
|
</div>
|
|
824
825
|
</Dropdown.Item>
|
|
@@ -828,9 +829,9 @@ const HeaderwithContactinfo = (props) => {
|
|
|
828
829
|
setlang('en');
|
|
829
830
|
}}
|
|
830
831
|
>
|
|
831
|
-
<div
|
|
832
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
|
|
832
833
|
<p
|
|
833
|
-
|
|
834
|
+
className={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
|
|
834
835
|
style={{
|
|
835
836
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
836
837
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -838,7 +839,7 @@ const HeaderwithContactinfo = (props) => {
|
|
|
838
839
|
}}
|
|
839
840
|
>
|
|
840
841
|
<img src={usflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
841
|
-
<span
|
|
842
|
+
<span className={'ml-2 mr-2'}>{lang.english}</span>
|
|
842
843
|
</p>
|
|
843
844
|
</div>
|
|
844
845
|
</Dropdown.Item>
|
|
@@ -848,10 +849,11 @@ const HeaderwithContactinfo = (props) => {
|
|
|
848
849
|
)}
|
|
849
850
|
</div>
|
|
850
851
|
</div>
|
|
851
|
-
<div
|
|
852
|
+
<div className="col-lg-12 p-0">
|
|
852
853
|
{sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
|
|
853
854
|
<Subheader
|
|
854
855
|
sectionpropertiesprops={sectionproperties}
|
|
856
|
+
actions={actions}
|
|
855
857
|
subheaderpropertiesprops={{
|
|
856
858
|
subheaderpositionprops: 'Full Width',
|
|
857
859
|
paddingLeftprops: '35px',
|
|
@@ -862,8 +864,8 @@ const HeaderwithContactinfo = (props) => {
|
|
|
862
864
|
)}
|
|
863
865
|
</div>
|
|
864
866
|
</div>
|
|
865
|
-
<div
|
|
866
|
-
<Headerresponsive sectionpropertiesprops={sectionproperties} />
|
|
867
|
+
<div className="col-lg-12 p-0">
|
|
868
|
+
<Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />
|
|
867
869
|
</div>
|
|
868
870
|
</div>
|
|
869
871
|
<Offcanvas
|
|
@@ -876,17 +878,17 @@ const HeaderwithContactinfo = (props) => {
|
|
|
876
878
|
backdrop={true}
|
|
877
879
|
>
|
|
878
880
|
<Offcanvas.Body>
|
|
879
|
-
<div
|
|
880
|
-
<div
|
|
881
|
-
<div
|
|
882
|
-
<div
|
|
883
|
-
<div
|
|
884
|
-
<div
|
|
881
|
+
<div className="row m-0 w-100 p-3">
|
|
882
|
+
<div className={`${generalstyles.search_modern}`}>
|
|
883
|
+
<div className={`${generalstyles.search_wrap} ${header_cssstyles.search_wrap}`}>
|
|
884
|
+
<div className={' pl-5 pr-5 '}>
|
|
885
|
+
<div className="row m-0 w-100 d-flex align-items-center">
|
|
886
|
+
<div className="col-lg-6">
|
|
885
887
|
<div style={{ width: '30vh', height: '20vh' }}>
|
|
886
888
|
<IKImage
|
|
887
889
|
urlEndpoint={IKurlEndpoint}
|
|
888
890
|
publicKey={IKpublicKey}
|
|
889
|
-
|
|
891
|
+
className={generalstyles.logo_image}
|
|
890
892
|
path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
|
|
891
893
|
style={{
|
|
892
894
|
width: '100%',
|
|
@@ -896,26 +898,26 @@ const HeaderwithContactinfo = (props) => {
|
|
|
896
898
|
/>
|
|
897
899
|
</div>
|
|
898
900
|
</div>
|
|
899
|
-
<div
|
|
901
|
+
<div className="col-lg-6 d-flex align-items-center justify-content-end">
|
|
900
902
|
<div
|
|
901
|
-
|
|
903
|
+
className={header_cssstyles.closeOverlayBtn + ' cursor-pointer '}
|
|
902
904
|
onClick={() => {
|
|
903
905
|
setopenSearchBar(false);
|
|
904
906
|
setSearchHeaderInputContext('');
|
|
905
907
|
}}
|
|
906
908
|
>
|
|
907
|
-
<i
|
|
909
|
+
<i className="h-100 allcentered">
|
|
908
910
|
<IoClose size={sectionproperties.closeSlider_fontSize} />
|
|
909
911
|
</i>
|
|
910
912
|
</div>
|
|
911
913
|
</div>
|
|
912
914
|
</div>
|
|
913
915
|
</div>
|
|
914
|
-
<div
|
|
915
|
-
<div
|
|
916
|
+
<div className={generalstyles.search_form_wrap}>
|
|
917
|
+
<div className={`${generalstyles.search_form} ${header_cssstyles.search_form}`}>
|
|
916
918
|
<input
|
|
917
919
|
type="text"
|
|
918
|
-
|
|
920
|
+
className={`${generalstyles.search_field} ${header_cssstyles.search_field}`}
|
|
919
921
|
placeholder={langdetect == 'en' ? "What're we looking for?" : 'البحث...'}
|
|
920
922
|
onChange={(event) => {
|
|
921
923
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -923,8 +925,8 @@ const HeaderwithContactinfo = (props) => {
|
|
|
923
925
|
/>
|
|
924
926
|
</div>
|
|
925
927
|
</div>
|
|
926
|
-
<div style={{ position: 'absolute', top: '60%', left: 0, right: 0 }}
|
|
927
|
-
<Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'StylishHeader'} />
|
|
928
|
+
<div style={{ position: 'absolute', top: '60%', left: 0, right: 0 }} className="allcentered">
|
|
929
|
+
<Searchlist sectionpropertiesprops={sectionproperties} actions={actions} srcfromprops={'StylishHeader'} />
|
|
928
930
|
</div>
|
|
929
931
|
</div>
|
|
930
932
|
</div>
|