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,11 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { useHistory, Link } from 'react-router-dom';
|
|
3
|
-
// import '../../Generalfiles/CSS_GENERAL/dropdown.css';
|
|
4
2
|
import headerstyles from '../../../styles/headers//headerstyles.module.css';
|
|
5
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
6
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
7
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
8
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
9
3
|
import { css } from 'glamor';
|
|
10
4
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
11
5
|
import { MdOutlinePolicy, MdOutlineShoppingCart, MdKeyboardArrowDown } from 'react-icons/md';
|
|
@@ -276,23 +270,23 @@ const ClassicHeader = (props) => {
|
|
|
276
270
|
};
|
|
277
271
|
return (
|
|
278
272
|
<div
|
|
279
|
-
|
|
273
|
+
className={+' row m-0 w-100 d-flex justify-content-center '}
|
|
280
274
|
style={{
|
|
281
275
|
width: '100vw',
|
|
282
276
|
}}
|
|
283
277
|
>
|
|
284
278
|
<div
|
|
285
|
-
|
|
279
|
+
className={`${headerstyles.headercontainer}` + ' col-lg-12 p-0 d-md-none '}
|
|
286
280
|
style={{
|
|
287
281
|
position: sectionproperties.headerstyles_position,
|
|
288
282
|
}}
|
|
289
283
|
>
|
|
290
|
-
<div
|
|
291
|
-
<div
|
|
292
|
-
<div
|
|
293
|
-
<div
|
|
284
|
+
<div className="row m-0 w-100">
|
|
285
|
+
<div className={`${header_cssstyles.upperHeaderSection}` + ' col-lg-12 d-flex align-items-center '}>
|
|
286
|
+
<div className="row m-0 w-100 d-flex align-items-center">
|
|
287
|
+
<div className="col-lg-4 d-flex justify-content-start">
|
|
294
288
|
<div
|
|
295
|
-
|
|
289
|
+
className={`${header_cssstyles.header_logo}`}
|
|
296
290
|
style={{ cursor: 'pointer' }}
|
|
297
291
|
onClick={() => {
|
|
298
292
|
routingcountext('home');
|
|
@@ -310,20 +304,20 @@ const ClassicHeader = (props) => {
|
|
|
310
304
|
/>
|
|
311
305
|
</div>
|
|
312
306
|
</div>
|
|
313
|
-
<div
|
|
307
|
+
<div className="col-lg-8 d-flex justify-content-end align-items-center">
|
|
314
308
|
<div
|
|
315
|
-
|
|
309
|
+
className={header_cssstyles.searchbarcont}
|
|
316
310
|
style={{ position: 'relative', marginRight: langdetect == 'en' ? '1.9rem' : '', marginLeft: langdetect == 'ar' ? '1.9rem' : '' }}
|
|
317
311
|
>
|
|
318
312
|
<input
|
|
319
313
|
type="text"
|
|
320
314
|
placeholder={lang.searchproducts}
|
|
321
|
-
|
|
315
|
+
className={`${header_cssstyles.searchbarcont_input}`}
|
|
322
316
|
onChange={(event) => {
|
|
323
317
|
setSearchHeaderInputContext(event.target.value);
|
|
324
318
|
}}
|
|
325
319
|
/>
|
|
326
|
-
<div
|
|
320
|
+
<div className={` ${header_cssstyles.searchbar_icon_cont}` + ' d-flex align-items-center justify-content-center '}>
|
|
327
321
|
<BsSearch color={sectionproperties.searchbaricon_color} size={sectionproperties.searchbaricon_fontsize} />
|
|
328
322
|
</div>
|
|
329
323
|
<Searchlist actions={actions} sectionpropertiesprops={sectionproperties} srcfromprops={'headerfullwidth'} />
|
|
@@ -336,12 +330,12 @@ const ClassicHeader = (props) => {
|
|
|
336
330
|
>
|
|
337
331
|
<Dropdown.Toggle>
|
|
338
332
|
{!authdetailsContext.loggedin && (
|
|
339
|
-
<div
|
|
340
|
-
<i
|
|
333
|
+
<div className={` ${header_cssstyles.user_btn}` + ' d-flex align-items-center justify-content-center '} sytle={{ position: 'relative' }}>
|
|
334
|
+
<i className={' h-100 d-flex align-items-center '}>
|
|
341
335
|
<FiUser size={sectionproperties.userBtniconfontsize} />
|
|
342
336
|
</i>
|
|
343
337
|
<p
|
|
344
|
-
|
|
338
|
+
className="mb-0 p-0"
|
|
345
339
|
style={{
|
|
346
340
|
marginLeft: langdetect == 'en' ? '8px' : 0,
|
|
347
341
|
marginRight: langdetect == 'ar' ? '8px' : 0,
|
|
@@ -352,20 +346,20 @@ const ClassicHeader = (props) => {
|
|
|
352
346
|
</div>
|
|
353
347
|
)}
|
|
354
348
|
{authdetailsContext.loggedin && (
|
|
355
|
-
<div
|
|
356
|
-
<div
|
|
357
|
-
<i
|
|
349
|
+
<div className={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
|
|
350
|
+
<div className={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
|
|
351
|
+
<i className={' h-100 allcentered '}>
|
|
358
352
|
<FiUser size={sectionproperties.loggedinusericonfontsize} />
|
|
359
353
|
</i>
|
|
360
354
|
</div>
|
|
361
355
|
<div
|
|
362
|
-
|
|
356
|
+
className="m-0 p-0 loggedinuserbtn flex-column"
|
|
363
357
|
style={{
|
|
364
358
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
365
359
|
}}
|
|
366
360
|
>
|
|
367
361
|
<p
|
|
368
|
-
|
|
362
|
+
className="m-0 p-0"
|
|
369
363
|
style={{
|
|
370
364
|
color: sectionproperties.greetingtextcolor,
|
|
371
365
|
fontSize: sectionproperties.greetingtextfontsize + 'px',
|
|
@@ -376,7 +370,7 @@ const ClassicHeader = (props) => {
|
|
|
376
370
|
{lang.hello}
|
|
377
371
|
{langdetect == 'en' ? ',' : '،'}
|
|
378
372
|
</p>
|
|
379
|
-
<p
|
|
373
|
+
<p className={header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow '}>{authdetailsContext.customerinfo.name}</p>
|
|
380
374
|
</div>
|
|
381
375
|
</div>
|
|
382
376
|
)}
|
|
@@ -388,9 +382,9 @@ const ClassicHeader = (props) => {
|
|
|
388
382
|
routingcountext(StaticPagesLinksContext.Login);
|
|
389
383
|
}}
|
|
390
384
|
>
|
|
391
|
-
<div
|
|
392
|
-
<p
|
|
393
|
-
<AiOutlineLogin
|
|
385
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
386
|
+
<p className={' d-flex align-items-center m-0 p-0 '}>
|
|
387
|
+
<AiOutlineLogin className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
394
388
|
<span>{lang.login}</span>
|
|
395
389
|
</p>
|
|
396
390
|
</div>
|
|
@@ -401,10 +395,10 @@ const ClassicHeader = (props) => {
|
|
|
401
395
|
routingcountext(StaticPagesLinksContext.Signup);
|
|
402
396
|
}}
|
|
403
397
|
>
|
|
404
|
-
<div
|
|
405
|
-
<p
|
|
406
|
-
<AiOutlineUserAdd
|
|
407
|
-
<span
|
|
398
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
399
|
+
<p className={' d-flex align-items-center m-0 p-0 '}>
|
|
400
|
+
<AiOutlineUserAdd className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
401
|
+
<span className="text-transform-none">{lang.signup}</span>
|
|
408
402
|
</p>
|
|
409
403
|
</div>
|
|
410
404
|
</Dropdown.Item>
|
|
@@ -417,16 +411,16 @@ const ClassicHeader = (props) => {
|
|
|
417
411
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
418
412
|
}}
|
|
419
413
|
>
|
|
420
|
-
<div
|
|
421
|
-
<i
|
|
422
|
-
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag
|
|
423
|
-
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag
|
|
424
|
-
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag
|
|
425
|
-
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag
|
|
426
|
-
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart
|
|
427
|
-
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart
|
|
414
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
|
|
415
|
+
<i className="h-100 allcentered">
|
|
416
|
+
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
417
|
+
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
418
|
+
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
419
|
+
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
420
|
+
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
421
|
+
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
428
422
|
</i>
|
|
429
|
-
<p
|
|
423
|
+
<p className={' allcenetered m-0 p-0 '}>{lang.orderhistory}</p>
|
|
430
424
|
</div>
|
|
431
425
|
</Dropdown.Item>
|
|
432
426
|
<Dropdown.Divider></Dropdown.Divider>
|
|
@@ -435,12 +429,12 @@ const ClassicHeader = (props) => {
|
|
|
435
429
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
436
430
|
}}
|
|
437
431
|
>
|
|
438
|
-
<div
|
|
439
|
-
<i
|
|
440
|
-
{sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart
|
|
441
|
-
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar
|
|
432
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
|
|
433
|
+
<i className="h-100 allcentered">
|
|
434
|
+
{sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
435
|
+
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
442
436
|
</i>
|
|
443
|
-
<p
|
|
437
|
+
<p className={' allcenetered m-0 p-0 '}>{lang.wishlist}</p>
|
|
444
438
|
</div>
|
|
445
439
|
</Dropdown.Item>
|
|
446
440
|
<Dropdown.Divider></Dropdown.Divider>
|
|
@@ -449,11 +443,11 @@ const ClassicHeader = (props) => {
|
|
|
449
443
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
450
444
|
}}
|
|
451
445
|
>
|
|
452
|
-
<div
|
|
453
|
-
<i
|
|
454
|
-
<MdOutlinePolicy
|
|
446
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
|
|
447
|
+
<i className="h-100 allcentered">
|
|
448
|
+
<MdOutlinePolicy className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
455
449
|
</i>
|
|
456
|
-
<p
|
|
450
|
+
<p className={' allcenetered m-0 p-0 '}>{lang.policies}</p>
|
|
457
451
|
</div>
|
|
458
452
|
</Dropdown.Item>
|
|
459
453
|
<Dropdown.Divider></Dropdown.Divider>
|
|
@@ -462,18 +456,18 @@ const ClassicHeader = (props) => {
|
|
|
462
456
|
LogoutMutationContext.mutate();
|
|
463
457
|
}}
|
|
464
458
|
>
|
|
465
|
-
<div
|
|
466
|
-
<i
|
|
467
|
-
<BiLogOutCircle
|
|
459
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
460
|
+
<i className="h-100 allcentered">
|
|
461
|
+
<BiLogOutCircle className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
468
462
|
</i>
|
|
469
|
-
<p
|
|
463
|
+
<p className={' allcenetered m-0 p-0 '}>{lang.logout}</p>
|
|
470
464
|
</div>
|
|
471
465
|
</Dropdown.Item>
|
|
472
466
|
</Dropdown.Menu>
|
|
473
467
|
)}
|
|
474
468
|
</Dropdown>
|
|
475
469
|
<div
|
|
476
|
-
|
|
470
|
+
className={header_cssstyles.cartbtncontainer + ' d-flex flex-row align-items-center justify-content-end '}
|
|
477
471
|
style={{
|
|
478
472
|
marginRight: langdetect == 'en' ? '2.2rem' : '',
|
|
479
473
|
marginLeft: langdetect == 'ar' ? '2.2rem' : '',
|
|
@@ -482,7 +476,7 @@ const ClassicHeader = (props) => {
|
|
|
482
476
|
setsidecartnavshowcontext(true);
|
|
483
477
|
}}
|
|
484
478
|
>
|
|
485
|
-
<div
|
|
479
|
+
<div className={`${header_cssstyles.cartbtnicon}` + ' allcentered cartbtnicon '} style={{ position: 'relative' }}>
|
|
486
480
|
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
487
481
|
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
488
482
|
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
@@ -490,7 +484,7 @@ const ClassicHeader = (props) => {
|
|
|
490
484
|
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
491
485
|
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
492
486
|
<div
|
|
493
|
-
|
|
487
|
+
className={`${header_cssstyles.badge_counter_header_notifications}`}
|
|
494
488
|
style={{
|
|
495
489
|
top: sectionproperties.cartbadgetop + 'px',
|
|
496
490
|
right: sectionproperties.cartbadgeright + 'px',
|
|
@@ -500,7 +494,7 @@ const ClassicHeader = (props) => {
|
|
|
500
494
|
</div>
|
|
501
495
|
</div>
|
|
502
496
|
<p
|
|
503
|
-
|
|
497
|
+
className={header_cssstyles.cartbtntext + ' mb-0 p-0 cartbtnicon '}
|
|
504
498
|
style={{
|
|
505
499
|
marginLeft: langdetect == 'en' ? '9px' : 0,
|
|
506
500
|
marginRight: langdetect == 'ar' ? '9px' : 0,
|
|
@@ -510,7 +504,7 @@ const ClassicHeader = (props) => {
|
|
|
510
504
|
</p>
|
|
511
505
|
</div>
|
|
512
506
|
<div
|
|
513
|
-
|
|
507
|
+
className={`${header_cssstyles.wishlist_btn}` + ' wishlist_btn d-flex justify-content-center align-items-center '}
|
|
514
508
|
style={{
|
|
515
509
|
marginRight: langdetect == 'en' ? '2.2rem' : '',
|
|
516
510
|
marginLeft: langdetect == 'ar' ? '2.2rem' : '',
|
|
@@ -524,16 +518,16 @@ const ClassicHeader = (props) => {
|
|
|
524
518
|
position: 'relative',
|
|
525
519
|
}}
|
|
526
520
|
>
|
|
527
|
-
<i
|
|
521
|
+
<i className={header_cssstyles.favbtnicon + ' wishlist_btn h-100 d-flex align-items-center '}>
|
|
528
522
|
{sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
|
|
529
523
|
{sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar />}
|
|
530
524
|
</i>
|
|
531
|
-
<div
|
|
525
|
+
<div className={` ${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}` + ' d-flex justify-content-center text-center '}>
|
|
532
526
|
<span> {favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}</span>
|
|
533
527
|
</div>
|
|
534
528
|
</div>
|
|
535
529
|
<span
|
|
536
|
-
|
|
530
|
+
className="mb-0 p-0"
|
|
537
531
|
style={{
|
|
538
532
|
marginLeft: langdetect == 'en' ? '8px' : 0,
|
|
539
533
|
marginRight: langdetect == 'ar' ? '8px' : 0,
|
|
@@ -542,20 +536,20 @@ const ClassicHeader = (props) => {
|
|
|
542
536
|
{lang.wishlist}
|
|
543
537
|
</span>
|
|
544
538
|
</div>
|
|
545
|
-
<div
|
|
539
|
+
<div className={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
|
|
546
540
|
<Dropdown>
|
|
547
541
|
<Dropdown.Toggle>
|
|
548
|
-
<li
|
|
542
|
+
<li className={' d-flex align-items-center justify-content-center '}>
|
|
549
543
|
{langdetect == 'en' && (
|
|
550
|
-
<div
|
|
544
|
+
<div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
551
545
|
<img src={usflag} style={{ maxWidth: '2.2vh', maxHeight: '2.2vh' }} />
|
|
552
|
-
<MdKeyboardArrowDown
|
|
546
|
+
<MdKeyboardArrowDown className="ml-2 mr-2" size={sectionproperties.language_container_fontsize} />
|
|
553
547
|
</div>
|
|
554
548
|
)}
|
|
555
549
|
{langdetect == 'ar' && (
|
|
556
|
-
<div
|
|
550
|
+
<div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
557
551
|
<img src={egyptflag} style={{ maxWidth: '2.2vh', maxHeight: '2.2vh' }} />
|
|
558
|
-
<MdKeyboardArrowDown
|
|
552
|
+
<MdKeyboardArrowDown className="ml-2 mr-2" size={sectionproperties.language_container_fontsize} />
|
|
559
553
|
</div>
|
|
560
554
|
)}
|
|
561
555
|
</li>
|
|
@@ -566,9 +560,9 @@ const ClassicHeader = (props) => {
|
|
|
566
560
|
setlang('ar');
|
|
567
561
|
}}
|
|
568
562
|
>
|
|
569
|
-
<div
|
|
563
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
|
|
570
564
|
<p
|
|
571
|
-
|
|
565
|
+
className={'dropdownitem d-flex align-items-center m-0 p-0'}
|
|
572
566
|
style={{
|
|
573
567
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
574
568
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -576,7 +570,7 @@ const ClassicHeader = (props) => {
|
|
|
576
570
|
}}
|
|
577
571
|
>
|
|
578
572
|
<img src={egyptflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
579
|
-
<span
|
|
573
|
+
<span className={'ml-2 mr-2'}>{lang.arabic}</span>
|
|
580
574
|
</p>
|
|
581
575
|
</div>
|
|
582
576
|
</Dropdown.Item>
|
|
@@ -586,9 +580,9 @@ const ClassicHeader = (props) => {
|
|
|
586
580
|
setlang('en');
|
|
587
581
|
}}
|
|
588
582
|
>
|
|
589
|
-
<div
|
|
583
|
+
<div className={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
|
|
590
584
|
<p
|
|
591
|
-
|
|
585
|
+
className={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
|
|
592
586
|
style={{
|
|
593
587
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
594
588
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -596,7 +590,7 @@ const ClassicHeader = (props) => {
|
|
|
596
590
|
}}
|
|
597
591
|
>
|
|
598
592
|
<img src={usflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
599
|
-
<span
|
|
593
|
+
<span className={'ml-2 mr-2'}>{lang.english}</span>
|
|
600
594
|
</p>
|
|
601
595
|
</div>
|
|
602
596
|
</Dropdown.Item>
|
|
@@ -606,13 +600,13 @@ const ClassicHeader = (props) => {
|
|
|
606
600
|
</div>
|
|
607
601
|
</div>
|
|
608
602
|
</div>
|
|
609
|
-
<div
|
|
603
|
+
<div className="col-lg-12 allcentered p-0">
|
|
610
604
|
<div
|
|
611
605
|
style={{ background: sectionproperties.upperseparatorbgcolor, height: sectionproperties.upperseparatorheight + 'px', width: sectionproperties.upperseparatorwidth + '%' }}
|
|
612
606
|
/>
|
|
613
607
|
</div>
|
|
614
608
|
<div
|
|
615
|
-
|
|
609
|
+
className={header_cssstyles.lowerHeaderSection + ' col-lg-12 '}
|
|
616
610
|
style={
|
|
617
611
|
{
|
|
618
612
|
// display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
|
|
@@ -620,7 +614,7 @@ const ClassicHeader = (props) => {
|
|
|
620
614
|
}
|
|
621
615
|
>
|
|
622
616
|
<nav
|
|
623
|
-
|
|
617
|
+
className={headerstyles.navbar}
|
|
624
618
|
style={{
|
|
625
619
|
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
|
|
626
620
|
}}
|
|
@@ -641,7 +635,7 @@ const ClassicHeader = (props) => {
|
|
|
641
635
|
templatepropcontext.pagesnprop[index].isselected = true;
|
|
642
636
|
}}
|
|
643
637
|
>
|
|
644
|
-
<a href={item.navigationroute}
|
|
638
|
+
<a href={item.navigationroute} className={`${header_cssstyles.navbar_item_text}` + ' navbar_item_text '}>
|
|
645
639
|
{langdetect == 'en' ? item.pagename : item.pagename_ar}
|
|
646
640
|
</a>
|
|
647
641
|
</li>
|
|
@@ -663,7 +657,7 @@ const ClassicHeader = (props) => {
|
|
|
663
657
|
/>
|
|
664
658
|
)}
|
|
665
659
|
</div>
|
|
666
|
-
<div
|
|
660
|
+
<div className="col-lg-12 p-0">
|
|
667
661
|
{sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
|
|
668
662
|
<Subheader
|
|
669
663
|
sectionpropertiesprops={sectionproperties}
|