tabexseriescomponents 0.0.71 → 0.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +689 -375
- package/dist/index.esm.js +696 -382
- package/dist/index.umd.js +692 -379
- package/package.json +1 -1
- package/{src1-10 → srcOLD}/Contexts/LanguageContext.jsx +0 -0
- package/{src1-10 → srcOLD}/Contexts/ProductsCardsSectionContext.jsx +0 -0
- package/{src1-10 → srcOLD}/StylesJS/Customstyles.js +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +19 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +8 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +7 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +72 -45
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +15 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/MenuCard/MenuCard.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard6/Productcard6.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard7/Productcard7.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +14 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +17 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +14 -1
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +11 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +15 -3
- package/{src1-10 → srcOLD}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +11 -1
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer1/Footer1.jsx +26 -26
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer2/Footer2.jsx +25 -24
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer3/Footer3.jsx +6 -14
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer4/Footer4.jsx +12 -11
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer5/Footer5.jsx +88 -81
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer6/Footer6.jsx +48 -39
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer7/Footer7.jsx +61 -58
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +34 -27
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +99 -97
- package/{src1-10 → srcOLD}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +80 -74
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Header4/Header4.jsx +95 -77
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Header6/Header6.jsx +76 -73
- package/srcOLD/TabexComponents/Headers/Header8/Header8.jsx +882 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +137 -93
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +114 -85
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +23 -3
- package/{src1-10 → srcOLD}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +114 -116
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Modernheader/Modernheader.jsx +92 -100
- package/{src1-10 → srcOLD}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +98 -110
- package/srcOLD/TabexComponents/Headers/Subheader/Subheader copy.jsx +228 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Subheader/Subheader.jsx +22 -10
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +7 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +784 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +75 -7
- package/{src1-10/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx → srcOLD/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.js} +92 -82
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +0 -0
- package/{src1-10/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx → srcOLD/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.js} +74 -34
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -0
- package/srcOLD/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +284 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +8 -0
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +414 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +53 -92
- package/srcOLD/TabexComponents/StaticPages/Aboutus/Aboutus.js +175 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +15 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
- package/{src1-10/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx → srcOLD/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.js} +40 -110
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Filter/Filter.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +14 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Policies/Policies.jsx +5 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +50 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +16 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Viewcart/Viewcart.js +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +23 -0
- package/{src1-10 → srcOLD}/assets/images/cod.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/egyptflag.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/fawry.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/payment.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/paymob.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/paypal.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/shoppingcart.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/usflag.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/visa.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/whatsapp.png +0 -0
- package/{src1-10 → srcOLD}/button.jsx +0 -0
- package/{src1-10 → srcOLD}/index.jsx +2 -6
- package/{src1-10 → srcOLD}/styles/Home.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Categorcycard_fullimage.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Categorycard_withshapes.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Productcard6.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Productcard_with_circularbg.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/categorycard.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/categorycard3.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/categorycardwithtext.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/productcard_animatedbuttons.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/productcard_with_textonhover.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/bootstrap.css +73 -68
- package/{src1-10 → srcOLD}/styles/general/dropdown.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/editorbardropdown.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/filter.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/form.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/general.module.css +0 -152
- package/{src1-10 → srcOLD}/styles/general/image-gallery.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/react-accessible-accordion.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/react-phone-input-2.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/scrollbtn.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/slick.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/tabs.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/workplaceeditor.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/globals.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/Allinoneheader.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/Header7.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/Sideheader.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/classicheaderstyles.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/dropdown.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/header4.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/header5.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/header6.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/header_contactinfo.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/headerresturant.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/headerstyles.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/modernheader.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/subheader.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/sections/Backgroundimage1.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/sections/Section_with_rightbgcont.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/accordion.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/cart.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/dropdown.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/filter.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/login.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/productinfo.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/shop.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/signup.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/staticroutersidenav.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/viewcart.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/wishlist.module.css +0 -0
- package/src1-10/TabexComponents/Headers/Header8/Header8.jsx +0 -888
- package/src1-10/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -409
- package/src1-10/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -139
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -197
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +0 -91
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
// import { useHistory, Link } from 'react-router-dom';
|
|
3
|
+
// import '../../Generalfiles/CSS_GENERAL/dropdown.css';
|
|
2
4
|
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';
|
|
3
9
|
import { css } from 'glamor';
|
|
4
10
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
5
11
|
import { MdOutlinePolicy, MdOutlineShoppingCart, MdKeyboardArrowDown } from 'react-icons/md';
|
|
@@ -270,23 +276,23 @@ const ClassicHeader = (props) => {
|
|
|
270
276
|
};
|
|
271
277
|
return (
|
|
272
278
|
<div
|
|
273
|
-
|
|
279
|
+
class={+' row m-0 w-100 d-flex justify-content-center '}
|
|
274
280
|
style={{
|
|
275
281
|
width: '100vw',
|
|
276
282
|
}}
|
|
277
283
|
>
|
|
278
284
|
<div
|
|
279
|
-
|
|
285
|
+
class={`${headerstyles.headercontainer}` + ' col-lg-12 p-0 d-md-none '}
|
|
280
286
|
style={{
|
|
281
287
|
position: sectionproperties.headerstyles_position,
|
|
282
288
|
}}
|
|
283
289
|
>
|
|
284
|
-
<div
|
|
285
|
-
<div
|
|
286
|
-
<div
|
|
287
|
-
<div
|
|
290
|
+
<div class="row m-0 w-100">
|
|
291
|
+
<div class={`${header_cssstyles.upperHeaderSection}` + ' col-lg-12 d-flex align-items-center '}>
|
|
292
|
+
<div class="row m-0 w-100 d-flex align-items-center">
|
|
293
|
+
<div class="col-lg-4 d-flex justify-content-start">
|
|
288
294
|
<div
|
|
289
|
-
|
|
295
|
+
class={`${header_cssstyles.header_logo}`}
|
|
290
296
|
style={{ cursor: 'pointer' }}
|
|
291
297
|
onClick={() => {
|
|
292
298
|
routingcountext('home');
|
|
@@ -304,20 +310,20 @@ const ClassicHeader = (props) => {
|
|
|
304
310
|
/>
|
|
305
311
|
</div>
|
|
306
312
|
</div>
|
|
307
|
-
<div
|
|
313
|
+
<div class="col-lg-8 d-flex justify-content-end align-items-center">
|
|
308
314
|
<div
|
|
309
|
-
|
|
315
|
+
class={header_cssstyles.searchbarcont}
|
|
310
316
|
style={{ position: 'relative', marginRight: langdetect == 'en' ? '1.9rem' : '', marginLeft: langdetect == 'ar' ? '1.9rem' : '' }}
|
|
311
317
|
>
|
|
312
318
|
<input
|
|
313
319
|
type="text"
|
|
314
320
|
placeholder={lang.searchproducts}
|
|
315
|
-
|
|
321
|
+
class={`${header_cssstyles.searchbarcont_input}`}
|
|
316
322
|
onChange={(event) => {
|
|
317
323
|
setSearchHeaderInputContext(event.target.value);
|
|
318
324
|
}}
|
|
319
325
|
/>
|
|
320
|
-
<div
|
|
326
|
+
<div class={` ${header_cssstyles.searchbar_icon_cont}` + ' d-flex align-items-center justify-content-center '}>
|
|
321
327
|
<BsSearch color={sectionproperties.searchbaricon_color} size={sectionproperties.searchbaricon_fontsize} />
|
|
322
328
|
</div>
|
|
323
329
|
<Searchlist actions={actions} sectionpropertiesprops={sectionproperties} srcfromprops={'headerfullwidth'} />
|
|
@@ -330,12 +336,12 @@ const ClassicHeader = (props) => {
|
|
|
330
336
|
>
|
|
331
337
|
<Dropdown.Toggle>
|
|
332
338
|
{!authdetailsContext.loggedin && (
|
|
333
|
-
<div
|
|
334
|
-
<i
|
|
339
|
+
<div class={` ${header_cssstyles.user_btn}` + ' d-flex align-items-center justify-content-center '} sytle={{ position: 'relative' }}>
|
|
340
|
+
<i class={' h-100 d-flex align-items-center '}>
|
|
335
341
|
<FiUser size={sectionproperties.userBtniconfontsize} />
|
|
336
342
|
</i>
|
|
337
343
|
<p
|
|
338
|
-
|
|
344
|
+
class="mb-0 p-0"
|
|
339
345
|
style={{
|
|
340
346
|
marginLeft: langdetect == 'en' ? '8px' : 0,
|
|
341
347
|
marginRight: langdetect == 'ar' ? '8px' : 0,
|
|
@@ -346,20 +352,20 @@ const ClassicHeader = (props) => {
|
|
|
346
352
|
</div>
|
|
347
353
|
)}
|
|
348
354
|
{authdetailsContext.loggedin && (
|
|
349
|
-
<div
|
|
350
|
-
<div
|
|
351
|
-
<i
|
|
355
|
+
<div class={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
|
|
356
|
+
<div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
|
|
357
|
+
<i class={' h-100 allcentered '}>
|
|
352
358
|
<FiUser size={sectionproperties.loggedinusericonfontsize} />
|
|
353
359
|
</i>
|
|
354
360
|
</div>
|
|
355
361
|
<div
|
|
356
|
-
|
|
362
|
+
class="m-0 p-0 loggedinuserbtn flex-column"
|
|
357
363
|
style={{
|
|
358
364
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
359
365
|
}}
|
|
360
366
|
>
|
|
361
367
|
<p
|
|
362
|
-
|
|
368
|
+
class="m-0 p-0"
|
|
363
369
|
style={{
|
|
364
370
|
color: sectionproperties.greetingtextcolor,
|
|
365
371
|
fontSize: sectionproperties.greetingtextfontsize + 'px',
|
|
@@ -370,7 +376,7 @@ const ClassicHeader = (props) => {
|
|
|
370
376
|
{lang.hello}
|
|
371
377
|
{langdetect == 'en' ? ',' : '،'}
|
|
372
378
|
</p>
|
|
373
|
-
<p
|
|
379
|
+
<p class={header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow '}>{authdetailsContext.customerinfo.name}</p>
|
|
374
380
|
</div>
|
|
375
381
|
</div>
|
|
376
382
|
)}
|
|
@@ -382,9 +388,9 @@ const ClassicHeader = (props) => {
|
|
|
382
388
|
routingcountext(StaticPagesLinksContext.Login);
|
|
383
389
|
}}
|
|
384
390
|
>
|
|
385
|
-
<div
|
|
386
|
-
<p
|
|
387
|
-
<AiOutlineLogin
|
|
391
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
392
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
393
|
+
<AiOutlineLogin class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
388
394
|
<span>{lang.login}</span>
|
|
389
395
|
</p>
|
|
390
396
|
</div>
|
|
@@ -395,10 +401,10 @@ const ClassicHeader = (props) => {
|
|
|
395
401
|
routingcountext(StaticPagesLinksContext.Signup);
|
|
396
402
|
}}
|
|
397
403
|
>
|
|
398
|
-
<div
|
|
399
|
-
<p
|
|
400
|
-
<AiOutlineUserAdd
|
|
401
|
-
<span
|
|
404
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
405
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
406
|
+
<AiOutlineUserAdd class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
407
|
+
<span class="text-transform-none">{lang.signup}</span>
|
|
402
408
|
</p>
|
|
403
409
|
</div>
|
|
404
410
|
</Dropdown.Item>
|
|
@@ -411,16 +417,16 @@ const ClassicHeader = (props) => {
|
|
|
411
417
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
412
418
|
}}
|
|
413
419
|
>
|
|
414
|
-
<div
|
|
415
|
-
<i
|
|
416
|
-
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag
|
|
417
|
-
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag
|
|
418
|
-
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag
|
|
419
|
-
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag
|
|
420
|
-
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart
|
|
421
|
-
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart
|
|
420
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
|
|
421
|
+
<i class="h-100 allcentered">
|
|
422
|
+
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
423
|
+
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
424
|
+
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
425
|
+
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
426
|
+
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
427
|
+
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
422
428
|
</i>
|
|
423
|
-
<p
|
|
429
|
+
<p class={' allcenetered m-0 p-0 '}>{lang.orderhistory}</p>
|
|
424
430
|
</div>
|
|
425
431
|
</Dropdown.Item>
|
|
426
432
|
<Dropdown.Divider></Dropdown.Divider>
|
|
@@ -429,12 +435,12 @@ const ClassicHeader = (props) => {
|
|
|
429
435
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
430
436
|
}}
|
|
431
437
|
>
|
|
432
|
-
<div
|
|
433
|
-
<i
|
|
434
|
-
{sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart
|
|
435
|
-
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar
|
|
438
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
|
|
439
|
+
<i class="h-100 allcentered">
|
|
440
|
+
{sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
441
|
+
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
436
442
|
</i>
|
|
437
|
-
<p
|
|
443
|
+
<p class={' allcenetered m-0 p-0 '}>{lang.wishlist}</p>
|
|
438
444
|
</div>
|
|
439
445
|
</Dropdown.Item>
|
|
440
446
|
<Dropdown.Divider></Dropdown.Divider>
|
|
@@ -443,11 +449,11 @@ const ClassicHeader = (props) => {
|
|
|
443
449
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
444
450
|
}}
|
|
445
451
|
>
|
|
446
|
-
<div
|
|
447
|
-
<i
|
|
448
|
-
<MdOutlinePolicy
|
|
452
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
|
|
453
|
+
<i class="h-100 allcentered">
|
|
454
|
+
<MdOutlinePolicy class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
449
455
|
</i>
|
|
450
|
-
<p
|
|
456
|
+
<p class={' allcenetered m-0 p-0 '}>{lang.policies}</p>
|
|
451
457
|
</div>
|
|
452
458
|
</Dropdown.Item>
|
|
453
459
|
<Dropdown.Divider></Dropdown.Divider>
|
|
@@ -456,18 +462,18 @@ const ClassicHeader = (props) => {
|
|
|
456
462
|
LogoutMutationContext.mutate();
|
|
457
463
|
}}
|
|
458
464
|
>
|
|
459
|
-
<div
|
|
460
|
-
<i
|
|
461
|
-
<BiLogOutCircle
|
|
465
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
466
|
+
<i class="h-100 allcentered">
|
|
467
|
+
<BiLogOutCircle class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
462
468
|
</i>
|
|
463
|
-
<p
|
|
469
|
+
<p class={' allcenetered m-0 p-0 '}>{lang.logout}</p>
|
|
464
470
|
</div>
|
|
465
471
|
</Dropdown.Item>
|
|
466
472
|
</Dropdown.Menu>
|
|
467
473
|
)}
|
|
468
474
|
</Dropdown>
|
|
469
475
|
<div
|
|
470
|
-
|
|
476
|
+
class={header_cssstyles.cartbtncontainer + ' d-flex flex-row align-items-center justify-content-end '}
|
|
471
477
|
style={{
|
|
472
478
|
marginRight: langdetect == 'en' ? '2.2rem' : '',
|
|
473
479
|
marginLeft: langdetect == 'ar' ? '2.2rem' : '',
|
|
@@ -476,7 +482,7 @@ const ClassicHeader = (props) => {
|
|
|
476
482
|
setsidecartnavshowcontext(true);
|
|
477
483
|
}}
|
|
478
484
|
>
|
|
479
|
-
<div
|
|
485
|
+
<div class={`${header_cssstyles.cartbtnicon}` + ' allcentered cartbtnicon '} style={{ position: 'relative' }}>
|
|
480
486
|
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
481
487
|
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
482
488
|
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
@@ -484,7 +490,7 @@ const ClassicHeader = (props) => {
|
|
|
484
490
|
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
485
491
|
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
486
492
|
<div
|
|
487
|
-
|
|
493
|
+
class={`${header_cssstyles.badge_counter_header_notifications}`}
|
|
488
494
|
style={{
|
|
489
495
|
top: sectionproperties.cartbadgetop + 'px',
|
|
490
496
|
right: sectionproperties.cartbadgeright + 'px',
|
|
@@ -494,7 +500,7 @@ const ClassicHeader = (props) => {
|
|
|
494
500
|
</div>
|
|
495
501
|
</div>
|
|
496
502
|
<p
|
|
497
|
-
|
|
503
|
+
class={header_cssstyles.cartbtntext + ' mb-0 p-0 cartbtnicon '}
|
|
498
504
|
style={{
|
|
499
505
|
marginLeft: langdetect == 'en' ? '9px' : 0,
|
|
500
506
|
marginRight: langdetect == 'ar' ? '9px' : 0,
|
|
@@ -504,7 +510,7 @@ const ClassicHeader = (props) => {
|
|
|
504
510
|
</p>
|
|
505
511
|
</div>
|
|
506
512
|
<div
|
|
507
|
-
|
|
513
|
+
class={`${header_cssstyles.wishlist_btn}` + ' wishlist_btn d-flex justify-content-center align-items-center '}
|
|
508
514
|
style={{
|
|
509
515
|
marginRight: langdetect == 'en' ? '2.2rem' : '',
|
|
510
516
|
marginLeft: langdetect == 'ar' ? '2.2rem' : '',
|
|
@@ -518,16 +524,16 @@ const ClassicHeader = (props) => {
|
|
|
518
524
|
position: 'relative',
|
|
519
525
|
}}
|
|
520
526
|
>
|
|
521
|
-
<i
|
|
527
|
+
<i class={header_cssstyles.favbtnicon + ' wishlist_btn h-100 d-flex align-items-center '}>
|
|
522
528
|
{sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
|
|
523
529
|
{sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar />}
|
|
524
530
|
</i>
|
|
525
|
-
<div
|
|
531
|
+
<div class={` ${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}` + ' d-flex justify-content-center text-center '}>
|
|
526
532
|
<span> {favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}</span>
|
|
527
533
|
</div>
|
|
528
534
|
</div>
|
|
529
535
|
<span
|
|
530
|
-
|
|
536
|
+
class="mb-0 p-0"
|
|
531
537
|
style={{
|
|
532
538
|
marginLeft: langdetect == 'en' ? '8px' : 0,
|
|
533
539
|
marginRight: langdetect == 'ar' ? '8px' : 0,
|
|
@@ -536,20 +542,20 @@ const ClassicHeader = (props) => {
|
|
|
536
542
|
{lang.wishlist}
|
|
537
543
|
</span>
|
|
538
544
|
</div>
|
|
539
|
-
<div
|
|
545
|
+
<div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
|
|
540
546
|
<Dropdown>
|
|
541
547
|
<Dropdown.Toggle>
|
|
542
|
-
<li
|
|
548
|
+
<li class={' d-flex align-items-center justify-content-center '}>
|
|
543
549
|
{langdetect == 'en' && (
|
|
544
|
-
<div
|
|
550
|
+
<div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
545
551
|
<img src={usflag} style={{ maxWidth: '2.2vh', maxHeight: '2.2vh' }} />
|
|
546
|
-
<MdKeyboardArrowDown
|
|
552
|
+
<MdKeyboardArrowDown class="ml-2 mr-2" size={sectionproperties.language_container_fontsize} />
|
|
547
553
|
</div>
|
|
548
554
|
)}
|
|
549
555
|
{langdetect == 'ar' && (
|
|
550
|
-
<div
|
|
556
|
+
<div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
551
557
|
<img src={egyptflag} style={{ maxWidth: '2.2vh', maxHeight: '2.2vh' }} />
|
|
552
|
-
<MdKeyboardArrowDown
|
|
558
|
+
<MdKeyboardArrowDown class="ml-2 mr-2" size={sectionproperties.language_container_fontsize} />
|
|
553
559
|
</div>
|
|
554
560
|
)}
|
|
555
561
|
</li>
|
|
@@ -560,9 +566,9 @@ const ClassicHeader = (props) => {
|
|
|
560
566
|
setlang('ar');
|
|
561
567
|
}}
|
|
562
568
|
>
|
|
563
|
-
<div
|
|
569
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
|
|
564
570
|
<p
|
|
565
|
-
|
|
571
|
+
class={'dropdownitem d-flex align-items-center m-0 p-0'}
|
|
566
572
|
style={{
|
|
567
573
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
568
574
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -570,7 +576,7 @@ const ClassicHeader = (props) => {
|
|
|
570
576
|
}}
|
|
571
577
|
>
|
|
572
578
|
<img src={egyptflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
573
|
-
<span
|
|
579
|
+
<span class={'ml-2 mr-2'}>{lang.arabic}</span>
|
|
574
580
|
</p>
|
|
575
581
|
</div>
|
|
576
582
|
</Dropdown.Item>
|
|
@@ -580,9 +586,9 @@ const ClassicHeader = (props) => {
|
|
|
580
586
|
setlang('en');
|
|
581
587
|
}}
|
|
582
588
|
>
|
|
583
|
-
<div
|
|
589
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
|
|
584
590
|
<p
|
|
585
|
-
|
|
591
|
+
class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
|
|
586
592
|
style={{
|
|
587
593
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
588
594
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -590,7 +596,7 @@ const ClassicHeader = (props) => {
|
|
|
590
596
|
}}
|
|
591
597
|
>
|
|
592
598
|
<img src={usflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
|
|
593
|
-
<span
|
|
599
|
+
<span class={'ml-2 mr-2'}>{lang.english}</span>
|
|
594
600
|
</p>
|
|
595
601
|
</div>
|
|
596
602
|
</Dropdown.Item>
|
|
@@ -600,13 +606,13 @@ const ClassicHeader = (props) => {
|
|
|
600
606
|
</div>
|
|
601
607
|
</div>
|
|
602
608
|
</div>
|
|
603
|
-
<div
|
|
609
|
+
<div class="col-lg-12 allcentered p-0">
|
|
604
610
|
<div
|
|
605
611
|
style={{ background: sectionproperties.upperseparatorbgcolor, height: sectionproperties.upperseparatorheight + 'px', width: sectionproperties.upperseparatorwidth + '%' }}
|
|
606
612
|
/>
|
|
607
613
|
</div>
|
|
608
614
|
<div
|
|
609
|
-
|
|
615
|
+
class={header_cssstyles.lowerHeaderSection + ' col-lg-12 '}
|
|
610
616
|
style={
|
|
611
617
|
{
|
|
612
618
|
// display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
|
|
@@ -614,7 +620,7 @@ const ClassicHeader = (props) => {
|
|
|
614
620
|
}
|
|
615
621
|
>
|
|
616
622
|
<nav
|
|
617
|
-
|
|
623
|
+
class={headerstyles.navbar}
|
|
618
624
|
style={{
|
|
619
625
|
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
|
|
620
626
|
}}
|
|
@@ -635,7 +641,7 @@ const ClassicHeader = (props) => {
|
|
|
635
641
|
templatepropcontext.pagesnprop[index].isselected = true;
|
|
636
642
|
}}
|
|
637
643
|
>
|
|
638
|
-
<a href={item.navigationroute}
|
|
644
|
+
<a href={item.navigationroute} class={`${header_cssstyles.navbar_item_text}` + ' navbar_item_text '}>
|
|
639
645
|
{langdetect == 'en' ? item.pagename : item.pagename_ar}
|
|
640
646
|
</a>
|
|
641
647
|
</li>
|
|
@@ -657,7 +663,7 @@ const ClassicHeader = (props) => {
|
|
|
657
663
|
/>
|
|
658
664
|
)}
|
|
659
665
|
</div>
|
|
660
|
-
<div
|
|
666
|
+
<div class="col-lg-12 p-0">
|
|
661
667
|
{sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
|
|
662
668
|
<Subheader
|
|
663
669
|
sectionpropertiesprops={sectionproperties}
|