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,5 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
import { useHistory, Link } from 'react-router-dom';
|
|
2
|
+
// import { useHistory, Link } from 'react-router-dom';
|
|
3
3
|
// import '../../Generalfiles/CSS_GENERAL/dropdown.css';
|
|
4
4
|
// import headerstyles from './headerstyles.module.css';
|
|
5
5
|
import headerstyles from '../../../styles/headers/headerstyles.module.css';
|
|
@@ -35,7 +35,8 @@ import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
|
|
|
35
35
|
import egyptflag from '../../../assets/images/egyptflag.png';
|
|
36
36
|
import usflag from '../../../assets/images/usflag.png';
|
|
37
37
|
import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
|
|
38
|
-
|
|
38
|
+
import Subheader from '../Subheader/Subheader.jsx';
|
|
39
|
+
|
|
39
40
|
const StylishHeader = (props) => {
|
|
40
41
|
// const { lang, setlang, langdetect } = useContext(LanguageContext);
|
|
41
42
|
// const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
@@ -68,7 +69,6 @@ const StylishHeader = (props) => {
|
|
|
68
69
|
const actions = props.actions;
|
|
69
70
|
// const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
|
|
70
71
|
useEffect(() => {
|
|
71
|
-
console.log('asd');
|
|
72
72
|
var secpropobj = {};
|
|
73
73
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
74
74
|
if (sectionitem.sectionid == props.sectionidprops) {
|
|
@@ -312,23 +312,23 @@ const StylishHeader = (props) => {
|
|
|
312
312
|
const [OpenCloseCartSlider, setOpenCloseCartSlider] = useState(false);
|
|
313
313
|
return (
|
|
314
314
|
<div
|
|
315
|
-
|
|
315
|
+
className={+' row m-0 w-100 d-flex justify-content-center '}
|
|
316
316
|
style={{
|
|
317
317
|
width: '100vw',
|
|
318
318
|
}}
|
|
319
319
|
>
|
|
320
320
|
<div
|
|
321
|
-
|
|
321
|
+
className={`${headerstyles.headercontainer}` + ' col-lg-12 p-0 d-md-none '}
|
|
322
322
|
style={{
|
|
323
323
|
position: sectionproperties.headerstyles_position,
|
|
324
324
|
}}
|
|
325
325
|
>
|
|
326
|
-
<div
|
|
327
|
-
<div
|
|
328
|
-
<div
|
|
329
|
-
<div
|
|
326
|
+
<div className="row m-0 w-100">
|
|
327
|
+
<div className={`${header_cssstyles.upperHeaderSection}` + ' col-lg-12 d-flex align-items-center '}>
|
|
328
|
+
<div className="row m-0 w-100 d-flex align-items-center">
|
|
329
|
+
<div className="col-lg-4 d-flex justify-content-start">
|
|
330
330
|
<i
|
|
331
|
-
|
|
331
|
+
className={header_cssstyles.searchicon + ' h-100 allcentered '}
|
|
332
332
|
onClick={() => {
|
|
333
333
|
setopenSearchBar(true);
|
|
334
334
|
}}
|
|
@@ -336,9 +336,9 @@ const StylishHeader = (props) => {
|
|
|
336
336
|
<FiSearch size={sectionproperties.searchbaricon_fontsize} />
|
|
337
337
|
</i>
|
|
338
338
|
</div>
|
|
339
|
-
<div
|
|
339
|
+
<div className="col-lg-4 allcentered">
|
|
340
340
|
<div
|
|
341
|
-
|
|
341
|
+
className={`${header_cssstyles.header_logo}`}
|
|
342
342
|
style={{ cursor: 'pointer' }}
|
|
343
343
|
onClick={() => {
|
|
344
344
|
routingcountext('home');
|
|
@@ -356,15 +356,15 @@ const StylishHeader = (props) => {
|
|
|
356
356
|
/>
|
|
357
357
|
</div>
|
|
358
358
|
</div>
|
|
359
|
-
<div
|
|
359
|
+
<div className="col-lg-4 d-flex justify-content-end">
|
|
360
360
|
{sectionproperties.showfooterphonenumber == 'Show' && (
|
|
361
|
-
<div
|
|
362
|
-
<a href={'tel:' + authdetailsContext.instinfo.contactinfo.mobile} target={'_self'}
|
|
363
|
-
<i
|
|
361
|
+
<div className="d-flex align-items-center">
|
|
362
|
+
<a href={'tel:' + authdetailsContext.instinfo.contactinfo.mobile} target={'_self'} className="d-flex align-items-center">
|
|
363
|
+
<i className="h-100 allcentered" style={{ fontSize: sectionproperties.footerinfotext_fontsize + 'px', color: sectionproperties.footerinfotext_color }}>
|
|
364
364
|
<BsTelephone />
|
|
365
365
|
</i>
|
|
366
366
|
<p
|
|
367
|
-
|
|
367
|
+
className="m-0 p-0 text-black ml-2 mr-2"
|
|
368
368
|
style={{ fontSize: sectionproperties.footerinfotext_fontsize + 'px', color: sectionproperties.footerinfotext_color }}
|
|
369
369
|
>
|
|
370
370
|
{authdetailsContext.instinfo.contactinfo.mobile}
|
|
@@ -381,12 +381,12 @@ const StylishHeader = (props) => {
|
|
|
381
381
|
<Dropdown>
|
|
382
382
|
<Dropdown.Toggle>
|
|
383
383
|
{!authdetailsContext.loggedin && (
|
|
384
|
-
<div
|
|
385
|
-
<div
|
|
384
|
+
<div className={header_cssstyles.userBtnContainer + ' d-flex align-items-center justify-content-end p-0 cursor-pointer pt-1 '}>
|
|
385
|
+
<div className={header_cssstyles.user_btn + ' user_btn allcentered p-0 '}>
|
|
386
386
|
<FiUser size={sectionproperties.userBtniconfontsize} />
|
|
387
387
|
</div>
|
|
388
388
|
<p
|
|
389
|
-
|
|
389
|
+
className={header_cssstyles.user_btn + ' user_btn mb-0 p-0 '}
|
|
390
390
|
style={{ marginLeft: langdetect == 'en' ? '7px' : 0, marginRight: langdetect == 'en' ? 0 : '7px' }}
|
|
391
391
|
>
|
|
392
392
|
{lang.login}
|
|
@@ -394,23 +394,23 @@ const StylishHeader = (props) => {
|
|
|
394
394
|
</div>
|
|
395
395
|
)}
|
|
396
396
|
{authdetailsContext.loggedin && (
|
|
397
|
-
<div
|
|
398
|
-
<div
|
|
399
|
-
<i
|
|
397
|
+
<div className={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
|
|
398
|
+
<div className={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
|
|
399
|
+
<i className={' h-100 allcentered '}>
|
|
400
400
|
<FiUser size={sectionproperties.loggedinusericonfontsize} />
|
|
401
401
|
</i>
|
|
402
402
|
</div>
|
|
403
403
|
<div
|
|
404
|
-
|
|
404
|
+
className="m-0 p-0 flex-column"
|
|
405
405
|
style={{
|
|
406
406
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
407
407
|
}}
|
|
408
408
|
>
|
|
409
|
-
<p
|
|
409
|
+
<p className={header_cssstyles.greetingstyles + ' m-0 p-0 '}>
|
|
410
410
|
{lang.hello}
|
|
411
411
|
{langdetect == 'en' ? ',' : '،'}
|
|
412
412
|
</p>
|
|
413
|
-
<p
|
|
413
|
+
<p className={header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '}>{authdetailsContext.customerinfo.name}</p>
|
|
414
414
|
</div>
|
|
415
415
|
</div>
|
|
416
416
|
)}
|
|
@@ -422,10 +422,10 @@ const StylishHeader = (props) => {
|
|
|
422
422
|
routingcountext(StaticPagesLinksContext.Login);
|
|
423
423
|
}}
|
|
424
424
|
>
|
|
425
|
-
<div
|
|
426
|
-
<p
|
|
425
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
|
|
426
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
|
|
427
427
|
<AiOutlineLogin />
|
|
428
|
-
<span
|
|
428
|
+
<span className="ml-2 mr-2">{lang.login}</span>
|
|
429
429
|
</p>
|
|
430
430
|
</div>
|
|
431
431
|
</Dropdown.Item>
|
|
@@ -435,10 +435,10 @@ const StylishHeader = (props) => {
|
|
|
435
435
|
routingcountext(StaticPagesLinksContext.Signup);
|
|
436
436
|
}}
|
|
437
437
|
>
|
|
438
|
-
<div
|
|
439
|
-
<p
|
|
438
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
|
|
439
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
|
|
440
440
|
<AiOutlineUserAdd />
|
|
441
|
-
<span
|
|
441
|
+
<span className="ml-2 mr-2 text-transform-none">{lang.signup}</span>
|
|
442
442
|
</p>
|
|
443
443
|
</div>
|
|
444
444
|
</Dropdown.Item>
|
|
@@ -447,7 +447,7 @@ const StylishHeader = (props) => {
|
|
|
447
447
|
{authdetailsContext.loggedin && (
|
|
448
448
|
<Dropdown.Menu style={{ minWidth: '200px' }}>
|
|
449
449
|
<Dropdown.Item>
|
|
450
|
-
<div
|
|
450
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
|
|
451
451
|
<span
|
|
452
452
|
style={{
|
|
453
453
|
color: sectionproperties.greetingtextcolor,
|
|
@@ -459,7 +459,7 @@ const StylishHeader = (props) => {
|
|
|
459
459
|
{lang.hello},
|
|
460
460
|
</span>
|
|
461
461
|
<p
|
|
462
|
-
|
|
462
|
+
className={`${header_cssstyles.dropdownitem}` + ' font-weight-600 ml-1 mr-1 text-overflow text-capitalize dropdownitem m-0 p-0 '}
|
|
463
463
|
style={{ maxWidth: '120px', color: sectionproperties.dropdownusernamecolor, fontSize: sectionproperties.dropdownusernamefontsize + 'px' }}
|
|
464
464
|
onClick={() => {
|
|
465
465
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
@@ -475,15 +475,15 @@ const StylishHeader = (props) => {
|
|
|
475
475
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
476
476
|
}}
|
|
477
477
|
>
|
|
478
|
-
<div
|
|
479
|
-
<p
|
|
478
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
479
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
480
480
|
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
|
|
481
481
|
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
|
|
482
482
|
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
|
|
483
483
|
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag />}
|
|
484
484
|
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
|
|
485
485
|
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart />}
|
|
486
|
-
<span
|
|
486
|
+
<span className="ml-2 mr-2">{lang.orderhistory}</span>
|
|
487
487
|
</p>
|
|
488
488
|
</div>
|
|
489
489
|
</Dropdown.Item>
|
|
@@ -493,11 +493,11 @@ const StylishHeader = (props) => {
|
|
|
493
493
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
494
494
|
}}
|
|
495
495
|
>
|
|
496
|
-
<div
|
|
497
|
-
<p
|
|
496
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
497
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
498
498
|
{sectionproperties.faviconshape == 'Heart Shape' && <AiOutlineHeart />}
|
|
499
499
|
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
|
|
500
|
-
<span
|
|
500
|
+
<span className="ml-2 mr-2">{lang.wishlist}</span>
|
|
501
501
|
</p>
|
|
502
502
|
</div>
|
|
503
503
|
</Dropdown.Item>
|
|
@@ -507,10 +507,10 @@ const StylishHeader = (props) => {
|
|
|
507
507
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
508
508
|
}}
|
|
509
509
|
>
|
|
510
|
-
<div
|
|
511
|
-
<p
|
|
510
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
511
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
512
512
|
<MdOutlinePolicy />
|
|
513
|
-
<span
|
|
513
|
+
<span className="ml-2 mr-2">{lang.policies}</span>
|
|
514
514
|
</p>
|
|
515
515
|
</div>
|
|
516
516
|
</Dropdown.Item>
|
|
@@ -520,10 +520,10 @@ const StylishHeader = (props) => {
|
|
|
520
520
|
LogoutMutationContext.mutate();
|
|
521
521
|
}}
|
|
522
522
|
>
|
|
523
|
-
<div
|
|
524
|
-
<p
|
|
523
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
524
|
+
<p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
525
525
|
<BiLogOutCircle />
|
|
526
|
-
<span
|
|
526
|
+
<span className="ml-2 mr-2">{lang.logout}</span>
|
|
527
527
|
</p>
|
|
528
528
|
</div>
|
|
529
529
|
</Dropdown.Item>
|
|
@@ -535,7 +535,7 @@ const StylishHeader = (props) => {
|
|
|
535
535
|
</div>
|
|
536
536
|
</div>
|
|
537
537
|
<div
|
|
538
|
-
|
|
538
|
+
className="col-lg-12"
|
|
539
539
|
style={{
|
|
540
540
|
paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
|
|
541
541
|
paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
|
|
@@ -543,17 +543,17 @@ const StylishHeader = (props) => {
|
|
|
543
543
|
>
|
|
544
544
|
<div style={{ background: sectionproperties.upperseparatorbgcolor, height: sectionproperties.upperseparatorheight + 'px' }} />
|
|
545
545
|
</div>
|
|
546
|
-
<div
|
|
547
|
-
<div
|
|
548
|
-
<div
|
|
549
|
-
<div
|
|
550
|
-
<nav
|
|
546
|
+
<div className={header_cssstyles.lowerHeaderSection + ' col-lg-12 d-flex align-items-center '}>
|
|
547
|
+
<div className="row m-0 w-100 d-flex align-items-center">
|
|
548
|
+
<div className="col-lg-8 d-flex align-items-center">
|
|
549
|
+
<div className="row m-0 w-100 d-flex align-items-center">
|
|
550
|
+
<nav className={headerstyles.navbar}>
|
|
551
551
|
<ul>
|
|
552
552
|
{templatepropcontext.pagesnprop.map((item, index) => {
|
|
553
553
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
554
554
|
return (
|
|
555
555
|
<li
|
|
556
|
-
|
|
556
|
+
className={header_cssstyles.navItemContainer}
|
|
557
557
|
onClick={() => {
|
|
558
558
|
templatepropcontext.pagesnprop.forEach(function (pageitem, pageindex) {
|
|
559
559
|
pageitem.isselected = false;
|
|
@@ -561,7 +561,7 @@ const StylishHeader = (props) => {
|
|
|
561
561
|
templatepropcontext.pagesnprop[index].isselected = true;
|
|
562
562
|
}}
|
|
563
563
|
>
|
|
564
|
-
<a href={item.navigationroute}
|
|
564
|
+
<a href={item.navigationroute} className={`${header_cssstyles.navbar_item_text}` + ' navbar_item_text '}>
|
|
565
565
|
{langdetect == 'en' ? item.pagename : item.pagename_ar}
|
|
566
566
|
</a>
|
|
567
567
|
</li>
|
|
@@ -572,15 +572,15 @@ const StylishHeader = (props) => {
|
|
|
572
572
|
</nav>
|
|
573
573
|
</div>
|
|
574
574
|
</div>
|
|
575
|
-
<div
|
|
575
|
+
<div className="col-lg-4 d-flex align-items-center justify-content-end">
|
|
576
576
|
<div
|
|
577
|
-
|
|
577
|
+
className={`${header_cssstyles.wishlist_btn}` + ' d-flex justify-content-center align-items-center '}
|
|
578
578
|
onClick={() => {
|
|
579
579
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
580
580
|
}}
|
|
581
581
|
>
|
|
582
582
|
<span style={{ position: 'relative' }}>
|
|
583
|
-
<i
|
|
583
|
+
<i className={' h-100 d-flex align-items-center '}>
|
|
584
584
|
{sectionproperties.faviconshape == 'Heart Shape' && (
|
|
585
585
|
<FaRegHeart
|
|
586
586
|
style={{
|
|
@@ -597,7 +597,7 @@ const StylishHeader = (props) => {
|
|
|
597
597
|
)}
|
|
598
598
|
</i>
|
|
599
599
|
<div
|
|
600
|
-
|
|
600
|
+
className={
|
|
601
601
|
`${headerstyles.badge_counter_header_notifications} ${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}` +
|
|
602
602
|
' d-flex justify-content-center text-center '
|
|
603
603
|
}
|
|
@@ -607,7 +607,7 @@ const StylishHeader = (props) => {
|
|
|
607
607
|
</span>
|
|
608
608
|
</div>
|
|
609
609
|
<div
|
|
610
|
-
|
|
610
|
+
className={`${header_cssstyles.cart_btn}` + ' cursor-pointer allcentered '}
|
|
611
611
|
onClick={() => {
|
|
612
612
|
setsidecartnavshowcontext(true);
|
|
613
613
|
}}
|
|
@@ -617,12 +617,12 @@ const StylishHeader = (props) => {
|
|
|
617
617
|
}}
|
|
618
618
|
>
|
|
619
619
|
<span style={{ position: 'relative' }}>
|
|
620
|
-
<i
|
|
621
|
-
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag
|
|
622
|
-
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag
|
|
623
|
-
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag
|
|
624
|
-
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag
|
|
625
|
-
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart
|
|
620
|
+
<i className={' allcentered '}>
|
|
621
|
+
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
622
|
+
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag className="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
623
|
+
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag className="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
624
|
+
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag className="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
625
|
+
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart className="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
626
626
|
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
627
627
|
</i>
|
|
628
628
|
<div
|
|
@@ -635,7 +635,7 @@ const StylishHeader = (props) => {
|
|
|
635
635
|
right: sectionproperties.cartbadgeright + 'px',
|
|
636
636
|
}}
|
|
637
637
|
>
|
|
638
|
-
{fetchcustomercartQueryContext
|
|
638
|
+
{fetchcustomercartQueryContext?.data?.data?.customercart != null
|
|
639
639
|
? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length >= 10
|
|
640
640
|
? '+9'
|
|
641
641
|
: fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length
|
|
@@ -643,19 +643,19 @@ const StylishHeader = (props) => {
|
|
|
643
643
|
</div>
|
|
644
644
|
</span>
|
|
645
645
|
</div>
|
|
646
|
-
<div
|
|
646
|
+
<div className={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
|
|
647
647
|
<Dropdown>
|
|
648
648
|
<Dropdown.Toggle>
|
|
649
|
-
<li
|
|
649
|
+
<li className={' d-flex align-items-center justify-content-center '}>
|
|
650
650
|
{langdetect == 'en' && (
|
|
651
|
-
<div
|
|
652
|
-
<img src={usflag}
|
|
651
|
+
<div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
652
|
+
<img src={usflag} className="mr-2" style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
653
653
|
<MdKeyboardArrowDown />
|
|
654
654
|
</div>
|
|
655
655
|
)}
|
|
656
656
|
{langdetect == 'ar' && (
|
|
657
|
-
<div
|
|
658
|
-
<img src={egyptflag}
|
|
657
|
+
<div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
658
|
+
<img src={egyptflag} className="ml-2" style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
659
659
|
<MdKeyboardArrowDown />
|
|
660
660
|
</div>
|
|
661
661
|
)}
|
|
@@ -667,9 +667,9 @@ const StylishHeader = (props) => {
|
|
|
667
667
|
setlang('ar');
|
|
668
668
|
}}
|
|
669
669
|
>
|
|
670
|
-
<div
|
|
670
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
|
|
671
671
|
<p
|
|
672
|
-
|
|
672
|
+
className={'dropdownitem d-flex align-items-center m-0 p-0'}
|
|
673
673
|
style={{
|
|
674
674
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
675
675
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -677,7 +677,7 @@ const StylishHeader = (props) => {
|
|
|
677
677
|
}}
|
|
678
678
|
>
|
|
679
679
|
<img src={egyptflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
680
|
-
<span
|
|
680
|
+
<span className={'ml-2 mr-2'}>{lang.arabic}</span>
|
|
681
681
|
</p>
|
|
682
682
|
</div>
|
|
683
683
|
</Dropdown.Item>
|
|
@@ -687,9 +687,9 @@ const StylishHeader = (props) => {
|
|
|
687
687
|
setlang('en');
|
|
688
688
|
}}
|
|
689
689
|
>
|
|
690
|
-
<div
|
|
690
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
|
|
691
691
|
<p
|
|
692
|
-
|
|
692
|
+
className={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
|
|
693
693
|
style={{
|
|
694
694
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
695
695
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -697,7 +697,7 @@ const StylishHeader = (props) => {
|
|
|
697
697
|
}}
|
|
698
698
|
>
|
|
699
699
|
<img src={usflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
700
|
-
<span
|
|
700
|
+
<span className={'ml-2 mr-2'}>{lang.english}</span>
|
|
701
701
|
</p>
|
|
702
702
|
</div>
|
|
703
703
|
</Dropdown.Item>
|
|
@@ -707,6 +707,18 @@ const StylishHeader = (props) => {
|
|
|
707
707
|
</div>
|
|
708
708
|
</div>
|
|
709
709
|
</div>
|
|
710
|
+
{sectionproperties.showhidesubheader == 'Show' && (
|
|
711
|
+
<Subheader
|
|
712
|
+
actions={actions}
|
|
713
|
+
sectionpropertiesprops={sectionproperties}
|
|
714
|
+
subheaderpropertiesprops={{
|
|
715
|
+
subheaderpositionprops: 'Full Width',
|
|
716
|
+
paddingLeftprops: '30px',
|
|
717
|
+
paddingRightprops: '30px',
|
|
718
|
+
subheadercontentpositionprops: 'center',
|
|
719
|
+
}}
|
|
720
|
+
/>
|
|
721
|
+
)}
|
|
710
722
|
<Offcanvas
|
|
711
723
|
show={OpenCloseCartSlider}
|
|
712
724
|
onHide={() => {
|
|
@@ -720,8 +732,8 @@ const StylishHeader = (props) => {
|
|
|
720
732
|
}}
|
|
721
733
|
>
|
|
722
734
|
<Offcanvas.Body>
|
|
723
|
-
<div
|
|
724
|
-
<div
|
|
735
|
+
<div className="row m-0 w-100 pt-3">
|
|
736
|
+
<div className="col-lg-6 d-flex align-items-center justify-content-start">
|
|
725
737
|
<IKImage
|
|
726
738
|
urlEndpoint={IKurlEndpoint}
|
|
727
739
|
publicKey={IKpublicKey}
|
|
@@ -733,9 +745,9 @@ const StylishHeader = (props) => {
|
|
|
733
745
|
}}
|
|
734
746
|
/>
|
|
735
747
|
</div>
|
|
736
|
-
<div
|
|
748
|
+
<div className="col-lg-6 d-flex align-items-center justify-content-end">
|
|
737
749
|
<button
|
|
738
|
-
|
|
750
|
+
className="contact100-btn-hide"
|
|
739
751
|
onClick={() => {
|
|
740
752
|
// setaddpostcategoriesshowmodal(false);
|
|
741
753
|
}}
|
|
@@ -756,17 +768,17 @@ const StylishHeader = (props) => {
|
|
|
756
768
|
backdrop={true}
|
|
757
769
|
>
|
|
758
770
|
<Offcanvas.Body>
|
|
759
|
-
<div
|
|
760
|
-
<div
|
|
761
|
-
<div
|
|
762
|
-
<div
|
|
763
|
-
<div
|
|
764
|
-
<div
|
|
771
|
+
<div className="row m-0 w-100 p-3">
|
|
772
|
+
<div className={`${generalstyles.search_modern}`}>
|
|
773
|
+
<div className={`${generalstyles.search_wrap} ${header_cssstyles.search_wrap}`}>
|
|
774
|
+
<div className={' pl-5 pr-5 '}>
|
|
775
|
+
<div className="row m-0 w-100 d-flex align-items-center">
|
|
776
|
+
<div className="col-lg-6">
|
|
765
777
|
<div style={{ width: '30vh', height: '20vh' }}>
|
|
766
778
|
<IKImage
|
|
767
779
|
urlEndpoint={IKurlEndpoint}
|
|
768
780
|
publicKey={IKpublicKey}
|
|
769
|
-
|
|
781
|
+
className={generalstyles.logo_image}
|
|
770
782
|
path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
|
|
771
783
|
style={{
|
|
772
784
|
width: '100%',
|
|
@@ -776,26 +788,26 @@ const StylishHeader = (props) => {
|
|
|
776
788
|
/>
|
|
777
789
|
</div>
|
|
778
790
|
</div>
|
|
779
|
-
<div
|
|
791
|
+
<div className="col-lg-6 d-flex align-items-center justify-content-end">
|
|
780
792
|
<div
|
|
781
|
-
|
|
793
|
+
className={header_cssstyles.closeOverlayBtn + ' cursor-pointer '}
|
|
782
794
|
onClick={() => {
|
|
783
795
|
setopenSearchBar(false);
|
|
784
796
|
setSearchHeaderInputContext('');
|
|
785
797
|
}}
|
|
786
798
|
>
|
|
787
|
-
<i
|
|
799
|
+
<i className="h-100 allcentered">
|
|
788
800
|
<IoClose size={sectionproperties.closeSlider_fontSize} />
|
|
789
801
|
</i>
|
|
790
802
|
</div>
|
|
791
803
|
</div>
|
|
792
804
|
</div>
|
|
793
805
|
</div>
|
|
794
|
-
<div
|
|
795
|
-
<div
|
|
806
|
+
<div className={generalstyles.search_form_wrap}>
|
|
807
|
+
<div className={`${generalstyles.search_form} ${header_cssstyles.search_form}`}>
|
|
796
808
|
<input
|
|
797
809
|
type="text"
|
|
798
|
-
|
|
810
|
+
className={`${generalstyles.search_field} ${header_cssstyles.search_field}`}
|
|
799
811
|
placeholder={langdetect == 'en' ? "What're we looking for?" : 'البحث...'}
|
|
800
812
|
onChange={(event) => {
|
|
801
813
|
setSearchHeaderInputContext(event.target.value);
|
|
@@ -803,8 +815,8 @@ const StylishHeader = (props) => {
|
|
|
803
815
|
/>
|
|
804
816
|
</div>
|
|
805
817
|
</div>
|
|
806
|
-
<div style={{ position: 'absolute', top: '60%', left: 0, right: 0, backgroundColor: 'red' }}
|
|
807
|
-
<Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'StylishHeader'}
|
|
818
|
+
<div style={{ position: 'absolute', top: '60%', left: 0, right: 0, backgroundColor: 'red' }} className="allcentered">
|
|
819
|
+
<Searchlist actions={actions} sectionpropertiesprops={sectionproperties} srcfromprops={'StylishHeader'} />
|
|
808
820
|
</div>
|
|
809
821
|
</div>
|
|
810
822
|
</div>
|
|
@@ -813,7 +825,7 @@ const StylishHeader = (props) => {
|
|
|
813
825
|
</Offcanvas>
|
|
814
826
|
</div>
|
|
815
827
|
</div>
|
|
816
|
-
<Headerresponsive
|
|
828
|
+
<Headerresponsive actions={actions} sectionpropertiesprops={sectionproperties} />
|
|
817
829
|
</div>
|
|
818
830
|
);
|
|
819
831
|
};
|