tabexseriescomponents 0.0.73 → 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.
Files changed (211) hide show
  1. package/dist/index.cjs.js +337 -225
  2. package/dist/index.esm.js +343 -231
  3. package/dist/index.umd.js +340 -229
  4. package/package.json +1 -1
  5. package/src-aya/Contexts/LanguageContext.jsx +0 -369
  6. package/src-aya/Contexts/ProductsCardsSectionContext.jsx +0 -28
  7. package/src-aya/StylesJS/Customstyles.js +0 -235
  8. package/src-aya/TabexComponents/Cards/Card20/Card20.jsx +0 -288
  9. package/src-aya/TabexComponents/Cards/Card21/Card21.jsx +0 -386
  10. package/src-aya/TabexComponents/Cards/Card22/Card22.jsx +0 -289
  11. package/src-aya/TabexComponents/Cards/Card23/Card23.jsx +0 -355
  12. package/src-aya/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -393
  13. package/src-aya/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -168
  14. package/src-aya/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -243
  15. package/src-aya/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -202
  16. package/src-aya/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -174
  17. package/src-aya/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -182
  18. package/src-aya/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -158
  19. package/src-aya/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -189
  20. package/src-aya/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -150
  21. package/src-aya/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -271
  22. package/src-aya/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -538
  23. package/src-aya/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -491
  24. package/src-aya/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -469
  25. package/src-aya/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  26. package/src-aya/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -272
  27. package/src-aya/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -295
  28. package/src-aya/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -289
  29. package/src-aya/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  30. package/src-aya/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -288
  31. package/src-aya/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -328
  32. package/src-aya/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -509
  33. package/src-aya/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -272
  34. package/src-aya/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  35. package/src-aya/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -133
  36. package/src-aya/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -125
  37. package/src-aya/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -292
  38. package/src-aya/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -336
  39. package/src-aya/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -429
  40. package/src-aya/TabexComponents/Footer/Footer1/Footer1.jsx +0 -416
  41. package/src-aya/TabexComponents/Footer/Footer2/Footer2.jsx +0 -381
  42. package/src-aya/TabexComponents/Footer/Footer3/Footer3.jsx +0 -302
  43. package/src-aya/TabexComponents/Footer/Footer4/Footer4.jsx +0 -437
  44. package/src-aya/TabexComponents/Footer/Footer5/Footer5.jsx +0 -488
  45. package/src-aya/TabexComponents/Footer/Footer6/Footer6.jsx +0 -286
  46. package/src-aya/TabexComponents/Footer/Footer7/Footer7.jsx +0 -370
  47. package/src-aya/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -231
  48. package/src-aya/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  49. package/src-aya/TabexComponents/Generalfiles/images/noimage.png +0 -0
  50. package/src-aya/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  51. package/src-aya/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  52. package/src-aya/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  53. package/src-aya/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  54. package/src-aya/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  55. package/src-aya/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  56. package/src-aya/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  57. package/src-aya/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  58. package/src-aya/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  59. package/src-aya/TabexComponents/Generalfiles/images/usflag.png +0 -0
  60. package/src-aya/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  61. package/src-aya/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -822
  62. package/src-aya/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -841
  63. package/src-aya/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -677
  64. package/src-aya/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -707
  65. package/src-aya/TabexComponents/Headers/Header4/Header4.jsx +0 -614
  66. package/src-aya/TabexComponents/Headers/Header6/Header6.jsx +0 -631
  67. package/src-aya/TabexComponents/Headers/Header8/Header8.jsx +0 -815
  68. package/src-aya/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -709
  69. package/src-aya/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -770
  70. package/src-aya/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -669
  71. package/src-aya/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -919
  72. package/src-aya/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -687
  73. package/src-aya/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -813
  74. package/src-aya/TabexComponents/Headers/Subheader/Subheader.jsx +0 -248
  75. package/src-aya/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -926
  76. package/src-aya/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -168
  77. package/src-aya/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -346
  78. package/src-aya/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -304
  79. package/src-aya/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -312
  80. package/src-aya/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -271
  81. package/src-aya/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -130
  82. package/src-aya/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -200
  83. package/src-aya/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -153
  84. package/src-aya/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -295
  85. package/src-aya/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -409
  86. package/src-aya/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -768
  87. package/src-aya/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -483
  88. package/src-aya/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.jsx +0 -663
  89. package/src-aya/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +0 -419
  90. package/src-aya/TabexComponents/Sections/Cards/Cardsection10/Arrows.js +0 -94
  91. package/src-aya/TabexComponents/Sections/Cards/Cardsection10/Cardsection10.js +0 -741
  92. package/src-aya/TabexComponents/Sections/Cards/Cardsection100/Cardsection10.js +0 -430
  93. package/src-aya/TabexComponents/Sections/Cards/Cardsection100/burger.jpg +0 -0
  94. package/src-aya/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -473
  95. package/src-aya/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -523
  96. package/src-aya/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -502
  97. package/src-aya/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -276
  98. package/src-aya/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -160
  99. package/src-aya/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -176
  100. package/src-aya/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -139
  101. package/src-aya/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -140
  102. package/src-aya/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -201
  103. package/src-aya/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -125
  104. package/src-aya/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  105. package/src-aya/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  106. package/src-aya/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -139
  107. package/src-aya/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -215
  108. package/src-aya/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -202
  109. package/src-aya/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +0 -91
  110. package/src-aya/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -277
  111. package/src-aya/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -260
  112. package/src-aya/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -458
  113. package/src-aya/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -216
  114. package/src-aya/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1220
  115. package/src-aya/TabexComponents/StaticPages/Filter/Filter.jsx +0 -542
  116. package/src-aya/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -51
  117. package/src-aya/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  118. package/src-aya/TabexComponents/StaticPages/Login/Login.jsx +0 -283
  119. package/src-aya/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +0 -192
  120. package/src-aya/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1271
  121. package/src-aya/TabexComponents/StaticPages/Policies/Policies.jsx +0 -353
  122. package/src-aya/TabexComponents/StaticPages/Productinfo/Iteminfo.js +0 -1287
  123. package/src-aya/TabexComponents/StaticPages/Productinfo/Productinfo.js +0 -710
  124. package/src-aya/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1457
  125. package/src-aya/TabexComponents/StaticPages/Productinfo/Serviceinfo.js +0 -804
  126. package/src-aya/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -206
  127. package/src-aya/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -791
  128. package/src-aya/TabexComponents/StaticPages/Signup/Signup.jsx +0 -155
  129. package/src-aya/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -279
  130. package/src-aya/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -1048
  131. package/src-aya/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -606
  132. package/src-aya/assets/images/appstore.png +0 -0
  133. package/src-aya/assets/images/cod.png +0 -0
  134. package/src-aya/assets/images/egyptflag.png +0 -0
  135. package/src-aya/assets/images/fawry.png +0 -0
  136. package/src-aya/assets/images/googleplay.png +0 -0
  137. package/src-aya/assets/images/payment.png +0 -0
  138. package/src-aya/assets/images/paymob.png +0 -0
  139. package/src-aya/assets/images/paypal.png +0 -0
  140. package/src-aya/assets/images/shoppingcart.png +0 -0
  141. package/src-aya/assets/images/usflag.png +0 -0
  142. package/src-aya/assets/images/visa.png +0 -0
  143. package/src-aya/assets/images/whatsapp.png +0 -0
  144. package/src-aya/button.jsx +0 -40
  145. package/src-aya/index.jsx +0 -222
  146. package/src-aya/styles/Home.module.css +0 -129
  147. package/src-aya/styles/cards/Categorcycard_fullimage.module.css +0 -10
  148. package/src-aya/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  149. package/src-aya/styles/cards/Categorycard_withshapes.module.css +0 -189
  150. package/src-aya/styles/cards/ModernCardWithQuantityButton.module.css +0 -34
  151. package/src-aya/styles/cards/Productcard6.module.css +0 -9
  152. package/src-aya/styles/cards/Productcard_with_circularbg.module.css +0 -137
  153. package/src-aya/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  154. package/src-aya/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  155. package/src-aya/styles/cards/categorycard.module.css +0 -85
  156. package/src-aya/styles/cards/categorycard3.module.css +0 -50
  157. package/src-aya/styles/cards/categorycardwithtext.module.css +0 -40
  158. package/src-aya/styles/cards/productcard_animatedbuttons.module.css +0 -127
  159. package/src-aya/styles/cards/productcard_with_textonhover.module.css +0 -12
  160. package/src-aya/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  161. package/src-aya/styles/general/bootstrap.css +0 -4562
  162. package/src-aya/styles/general/dropdown.css +0 -206
  163. package/src-aya/styles/general/editorbardropdown.module.css +0 -94
  164. package/src-aya/styles/general/filter.module.css +0 -108
  165. package/src-aya/styles/general/form.module.css +0 -273
  166. package/src-aya/styles/general/general.module.css +0 -861
  167. package/src-aya/styles/general/image-gallery.css +0 -481
  168. package/src-aya/styles/general/react-accessible-accordion.module.css +0 -52
  169. package/src-aya/styles/general/react-phone-input-2.module.css +0 -927
  170. package/src-aya/styles/general/scrollbtn.module.css +0 -22
  171. package/src-aya/styles/general/slick.module.css +0 -166
  172. package/src-aya/styles/general/tabs.module.css +0 -110
  173. package/src-aya/styles/general/workplaceeditor.module.css +0 -328
  174. package/src-aya/styles/globals.css +0 -26
  175. package/src-aya/styles/headers/CTAHeader.module.css +0 -40
  176. package/src-aya/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  177. package/src-aya/styles/headers/Gotoheader.module.css +0 -91
  178. package/src-aya/styles/headers/Header7.module.css +0 -50
  179. package/src-aya/styles/headers/Header_threesectionslogocentered.module.css +0 -96
  180. package/src-aya/styles/headers/Sideheader.module.css +0 -108
  181. package/src-aya/styles/headers/classicheader.module.css +0 -16
  182. package/src-aya/styles/headers/classicheaderstyles.module.css +0 -16
  183. package/src-aya/styles/headers/dropdown.css +0 -0
  184. package/src-aya/styles/headers/header4.module.css +0 -175
  185. package/src-aya/styles/headers/header5.module.css +0 -30
  186. package/src-aya/styles/headers/header6.module.css +0 -102
  187. package/src-aya/styles/headers/header_contactinfo.module.css +0 -66
  188. package/src-aya/styles/headers/headerresturant.module.css +0 -89
  189. package/src-aya/styles/headers/modernheader.module.css +0 -72
  190. package/src-aya/styles/headers/stylishheader.module.css +0 -24
  191. package/src-aya/styles/headers/subheader.module.css +0 -114
  192. package/src-aya/styles/headers/threetieredheader.module.css +0 -91
  193. package/src-aya/styles/sections/BackgroundImageWithTopContent.css +0 -4
  194. package/src-aya/styles/sections/Backgroundimage1.module.css +0 -17
  195. package/src-aya/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  196. package/src-aya/styles/sections/Section_with_rightbgcont.module.css +0 -49
  197. package/src-aya/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  198. package/src-aya/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  199. package/src-aya/styles/staticpages/accordion.module.css +0 -9
  200. package/src-aya/styles/staticpages/cart.module.css +0 -108
  201. package/src-aya/styles/staticpages/dropdown.css +0 -196
  202. package/src-aya/styles/staticpages/filter.module.css +0 -139
  203. package/src-aya/styles/staticpages/image-gallery.css +0 -481
  204. package/src-aya/styles/staticpages/login.module.css +0 -113
  205. package/src-aya/styles/staticpages/productinfo.module.css +0 -54
  206. package/src-aya/styles/staticpages/shop.module.css +0 -191
  207. package/src-aya/styles/staticpages/signup.module.css +0 -206
  208. package/src-aya/styles/staticpages/staticroutersidenav.module.css +0 -129
  209. package/src-aya/styles/staticpages/viewcart.module.css +0 -129
  210. package/src-aya/styles/staticpages/wishlist.module.css +0 -29
  211. package/src-aya/styles.rar +0 -0
@@ -1,614 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import headerstyles from '../../../styles/headers/header4.module.css';
3
- import { MdOutlineShoppingCart, MdAlternateEmail, MdLocationOn } from 'react-icons/md';
4
- import { BsCartCheck } from 'react-icons/bs';
5
- import { css } from 'glamor';
6
- import { serverbaselink } from '../../../../Env';
7
- import Dropdown from 'react-bootstrap/Dropdown';
8
- import { MdOutlinePolicy } from 'react-icons/md';
9
- import { BiLogOutCircle } from 'react-icons/bi';
10
- import { AiOutlineStar, AiOutlineUserAdd, AiOutlineLogin, AiOutlineUser, AiFillStar } from 'react-icons/ai';
11
- import { BsSearch } from 'react-icons/bs';
12
- import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
13
- import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
14
- import Subheader from '../Subheader/Subheader.jsx';
15
-
16
- const Header4 = (props) => {
17
- const [sectionproperties, setsectionproperties] = useState('');
18
- const LogoutMutationContext = props.actions.LogoutMutationContext;
19
- const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
20
- const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
21
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
22
- const lang = props.actions.lang;
23
- const langdetect = props.actions.langdetect;
24
- const setlang = props.actions.setlang;
25
- const templatepropcontext = props.actions.templatepropcontext;
26
- const authdetailsContext = props.actions.authdetailsContext;
27
- const templateproperties_context = props.actions.templateproperties_context;
28
- const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
29
- const routingcountext = props.actions.routingcountext;
30
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
31
- const actions = props.actions;
32
- const history = props.actions.history;
33
- // const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
34
- useEffect(() => {
35
- var secpropobj = {};
36
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
37
- if (sectionitem.sectionid == props.sectionidprops) {
38
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
39
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
40
- });
41
- }
42
- });
43
-
44
- if (Object.keys(secpropobj).length === 0) {
45
- props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
46
- secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
47
- });
48
- }
49
-
50
- setsectionproperties({ ...secpropobj });
51
- }, [StatePagePropertiesContext]);
52
- const header_cssstyles = {
53
- top_wrap: css({
54
- background: sectionproperties.uppersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.uppersection_bgcolor,
55
- borderTopLeftRadius: sectionproperties.uppersection_btlradius + 'px',
56
- borderTopRightRadius: sectionproperties.uppersection_btrradius + 'px',
57
- borderBottomLeftRadius: sectionproperties.uppersection_bblradius + 'px',
58
- borderBottomRightRadius: sectionproperties.uppersection_bbrradius + 'px',
59
- paddingLeft: sectionproperties.uppersection_paddingleft + 'px',
60
- paddingRight: sectionproperties.uppersection_paddingright + 'px',
61
- paddingTop: sectionproperties.uppersection_paddingtop + 'px',
62
- paddingBottom: sectionproperties.uppersection_paddingbottom + 'px',
63
- }),
64
- uppersection_title: css({
65
- color: sectionproperties.uppersection_titlecolor,
66
- fontSize: sectionproperties.uppersection_titlefontsize + 'px',
67
- fontWeight: sectionproperties.uppersection_titlefontweight,
68
- textTransform: sectionproperties.uppersection_titletextransform,
69
- }),
70
- uppersection_info: css({
71
- color: sectionproperties.uppersection_infocolor,
72
- fontSize: sectionproperties.uppersection_infofontsize + 'px',
73
- fontWeight: sectionproperties.uppersection_infofontweight,
74
- textTransform: sectionproperties.uppersection_infotextransform,
75
- }),
76
- container_xl: css({
77
- background: sectionproperties.leftlowersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.leftlowersection_bgcolor,
78
- }),
79
- btns_container: css({
80
- ':before': {
81
- background: sectionproperties.leftlowersection_bgcolor,
82
- },
83
- }),
84
- nav_link: css({
85
- fontSize: sectionproperties.leftlowersection_fontsize + 'px',
86
- color: sectionproperties.leftlowersection_color,
87
- fontWeight: sectionproperties.leftlowersection_fontweight,
88
- textTransform: sectionproperties.leftlowersection_texttransform,
89
- transition: '.3s',
90
- ':hover': {
91
- color: sectionproperties.leftlowersection_coloronhover,
92
- },
93
- ':before': {
94
- background: sectionproperties.leftlowersection_coloronhover,
95
- },
96
- }),
97
- wishlist_btn: css({
98
- width: sectionproperties.favBtnWidth + 'px',
99
- height: sectionproperties.favBtnHeight + 'px',
100
- background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
101
- borderBottomLeftRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
102
- borderBottomRightRadius: sectionproperties.fav_btn_borderBottomRightRadius + 'px',
103
- borderTopLeftRadius: sectionproperties.fav_btn_borderTopLeftRadius + 'px',
104
- borderTopRightRadius: sectionproperties.fav_btn_borderTopRightRadius + 'px',
105
- color: sectionproperties.favBtnTextcolor,
106
- fontSize: sectionproperties.favBtnTextfontsize + 'px',
107
- textTransform: sectionproperties.favBtnTexttransform,
108
- fontWeight: sectionproperties.favBtnTextfontweight,
109
- transition: '.3s',
110
- border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
111
- ':hover': {
112
- background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
113
- color: sectionproperties.favBtnTextcoloronhover,
114
- },
115
- }),
116
- cart_btn: css({
117
- width: sectionproperties.cartBtnWidth + 'px',
118
- height: sectionproperties.cartBtnHeight + 'px',
119
- background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
120
- borderBottomLeftRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
121
- borderBottomRightRadius: sectionproperties.cart_btn_borderBottomRightRadius + 'px',
122
- borderTopLeftRadius: sectionproperties.cart_btn_borderTopLeftRadius + 'px',
123
- borderTopRightRadius: sectionproperties.cart_btn_borderTopRightRadius + 'px',
124
- color: sectionproperties.cartBtnTextcolor,
125
- fontSize: sectionproperties.cartBtnTextfontsize + 'px',
126
- textTransform: sectionproperties.cartBtnTexttransform,
127
- fontWeight: sectionproperties.cartBtnTextfontweight,
128
- border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
129
- transition: '.3s',
130
- ':hover': {
131
- background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
132
- color: sectionproperties.cartBtnTextcoloronhover,
133
- },
134
- }),
135
- user_btn: css({
136
- background: sectionproperties.userbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColor,
137
- width: sectionproperties.userBtnWidth + 'px',
138
- height: sectionproperties.userBtnHeight + 'px',
139
- borderBottomLeftRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
140
- borderBottomRightRadius: sectionproperties.userbtn_borderBottomRightRadius + 'px',
141
- borderTopLeftRadius: sectionproperties.userbtn_borderTopLeftRadius + 'px',
142
- borderTopRightRadius: sectionproperties.userbtn_borderTopRightRadius + 'px',
143
- color: sectionproperties.userBtnTextcolor,
144
- fontSize: sectionproperties.userBtntextfontsize + 'px',
145
- fontWeight: sectionproperties.userBtnTextfontweight,
146
- textTransform: sectionproperties.userBtnTexttransform,
147
- border: sectionproperties.userbtnborderwidth + 'px solid ' + sectionproperties.userbtnbordercolor,
148
- transition: '.3s',
149
- ':hover': {
150
- background: sectionproperties.cartbtn_transparentbgcoloronhover == sectionproperties.userbtn_transparentbgcoloronhover ? 'transparent' : sectionproperties.userBtnbgColoronhover,
151
- color: sectionproperties.userBtnTextcoloronhover,
152
- },
153
- }),
154
- search_btn: css({
155
- marginLeft: sectionproperties.search_btn_marginLeft + 'px',
156
- marginRight: sectionproperties.search_btn_marginRight + 'px',
157
- background: sectionproperties.search_btn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.search_btn_bgColor,
158
- width: sectionproperties.search_btnWidth + 'px',
159
- height: sectionproperties.search_btnHeight + 'px',
160
- borderBottomLeftRadius: sectionproperties.search_btn_borderBottomLeftRadius + 'px',
161
- borderBottomRightRadius: sectionproperties.search_btn_borderBottomRightRadius + 'px',
162
- borderTopLeftRadius: sectionproperties.search_btn_borderTopLeftRadius + 'px',
163
- borderTopRightRadius: sectionproperties.search_btn_borderTopRightRadius + 'px',
164
- color: sectionproperties.search_btnTextcolor,
165
- boxShadow: sectionproperties.search_btn_showshadow == 'Show' ? '0 0 10px ' + sectionproperties.search_btn_shadowcolor : '',
166
- // fontSize: sectionproperties.search_btniconfontsize + 'px',
167
- fontSize: sectionproperties.search_btntextfontsize + 'px',
168
- fontWeight: sectionproperties.search_btnTextfontweight,
169
- textTransform: sectionproperties.search_btnTexttransform,
170
- border: sectionproperties.search_btnborderwidth + 'px solid ' + sectionproperties.search_btnbordercolor,
171
- opacity: sectionproperties.search_btn_opacity,
172
- transition: '.3s',
173
- ':hover': {
174
- background: sectionproperties.search_btntransparentbgcoloronhover == sectionproperties.search_btntransparentbgcoloronhover ? 'transparent' : sectionproperties.userBtnbgColoronhover,
175
- // color: sectionproperties.userBtnTextcoloronhover,
176
- color: sectionproperties.search_btnTextcoloronhover,
177
- opacity: sectionproperties.search_btn_opacityonhover,
178
- },
179
- }),
180
- dropdownitem: css({
181
- fontSize: sectionproperties.dropdown_fontsize + 'px',
182
- color: sectionproperties.dropdown_color,
183
- fontWeight: sectionproperties.dropdown_fontweight,
184
- textTransform: sectionproperties.dropdown_texttransform,
185
- padding: '0.3rem 0.8rem',
186
- display: 'flex',
187
- alignItems: 'center',
188
- transition: '.3s',
189
- ':hover': {
190
- color: sectionproperties.dropdown_hovercolor,
191
- },
192
- }),
193
- header_logo: css({
194
- width: sectionproperties.logo_width + 'px',
195
- height: sectionproperties.logo_height + 'px',
196
- background: sectionproperties.logo_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.logo_bgcolor + 'px',
197
- borderTopLeftRadius: sectionproperties.logo_bordertopleftradius + 'px',
198
- borderTopRightRadius: sectionproperties.logo_bordertoprightradius + 'px',
199
- borderBottomLeftRadius: sectionproperties.logo_borderbottomleftradius + 'px',
200
- borderBottomRightRadius: sectionproperties.logo_borderbottomrightradius + 'px',
201
- border: sectionproperties.logo_borderwidth + 'px solid ' + sectionproperties.logo_bordercolor,
202
- }),
203
- searchbarcont: css({
204
- position: 'relative',
205
- transition: '3s',
206
- background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
207
- width: sectionproperties.searchbarcont_width + 'px',
208
- borderBottomLeftRadius: sectionproperties.searchbarcont_borderBottomLeftRadius + 'px',
209
- borderBottomRightRadius: sectionproperties.searchbarcont_borderBottomRightRadius + 'px',
210
- borderTopLeftRadius: sectionproperties.searchbarcont_borderTopLeftRadius + 'px',
211
- borderTopRightRadius: sectionproperties.searchbarcont_borderTopRightRadius + 'px',
212
-
213
- border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
214
- }),
215
- searchbar_icon_cont: css({
216
- display: 'flex',
217
- justifyContent: 'center',
218
- alignItems: 'center',
219
- textAlign: 'center',
220
- // width: '40px',
221
- // height: '40px',
222
- // borderRadius: '50%',
223
- // color: '#fff',
224
- // backgroundColor: '#000',
225
- width: sectionproperties.searchbaricon_width + 'px',
226
- height: sectionproperties.searchbaricon_height + 'px',
227
- borderBottomLeftRadius: sectionproperties.searchbaricon_borderBottomLeftRadius + 'px',
228
- borderBottomRightRadius: sectionproperties.searchbaricon_borderBottomRightRadius + 'px',
229
- borderTopLeftRadius: sectionproperties.searchbaricon_borderTopLeftRadius + 'px',
230
- borderTopRightRadius: sectionproperties.searchbaricon_borderTopRightRadius + 'px',
231
- color: sectionproperties.searchbaricon_color,
232
- // new
233
- backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor,
234
- cursor: 'pointer',
235
- // end
236
-
237
- transition: '0.3s ease',
238
- position: 'absolute',
239
- right: 0,
240
- bottom: 6,
241
- // top: 0,
242
- margin: 'auto',
243
- ':hover': css({
244
- background: sectionproperties.searchbaricon_bgcoloronhover,
245
- color: sectionproperties.searchbaricon_coloronhover,
246
- }),
247
- }),
248
- searchbarcont_input: css({
249
- height: '100%',
250
- width: '100%',
251
- outline: 'none',
252
- border: 'none',
253
- color: sectionproperties.searchbarcontinput_color,
254
- transition: 'all 1s',
255
- fontWeight: sectionproperties.searchbarcont_inputfontweight,
256
- fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
257
- opacity: 1,
258
- width: '100%',
259
- transition: '0.3s',
260
- borderBottomLeftRadius: sectionproperties.searchbarcontinput_borderBottomLeftRadius + 'px',
261
- borderBottomRightRadius: sectionproperties.searchbarcontinput_borderBottomRightRadius + 'px',
262
- borderTopLeftRadius: sectionproperties.searchbarcontinput_borderTopLeftRadius + 'px',
263
- borderTopRightRadius: sectionproperties.searchbarcontinput_borderTopRightRadius + 'px',
264
- borderBottom: sectionproperties.searchbarcontinput_borderBottom + 'px solid ' + sectionproperties.searchbarcontinput_borderBottomcolor,
265
- paddingLeft: sectionproperties.searchbarcont_paddingLeft + 'px',
266
- paddingRight: sectionproperties.searchbarcont_paddingRight + 'px',
267
- paddingTop: sectionproperties.searchbarcont_paddingTop + 'px',
268
- paddingBottom: sectionproperties.searchbarcont_paddingBottom + 'px',
269
- ':focus': {
270
- borderColor: sectionproperties.searchbarcontinput_bordercoloronfocus,
271
- },
272
- }),
273
- badge_counter_header_notifications: css({
274
- background: sectionproperties.badge_bgcolor,
275
- width: sectionproperties.badge_width + 'px',
276
- height: sectionproperties.badge_height + 'px',
277
- color: sectionproperties.badge_color,
278
- borderRadius: sectionproperties.badge_borderradius + 'px',
279
- fontSize: sectionproperties.badge_fontsize + 'px',
280
- top: sectionproperties.badge_top + 'px',
281
- right: sectionproperties.badge_right + 'px',
282
- }),
283
- };
284
- return (
285
- <div className={`${headerstyles.headerone_container}` + ' row m-0 w-100 d-flex justify-content-center '}>
286
- <div
287
- className="col-lg-12 p-0 d-flex d-md-none m-0"
288
- style={{
289
- position: sectionproperties.headerstyles_position,
290
- width: sectionproperties.header_width + 'vw',
291
- }}
292
- >
293
- <div className="row m-0 w-100">
294
- <div className="col-lg-12 p-0">
295
- <div className={`${header_cssstyles.top_wrap}`}>
296
- <div className={' row m-0 w-100 d-flex align-items-center '}>
297
- <div className="col-lg-3 d-flex align-items-center">
298
- <div
299
- className={`${headerstyles.header_logo} ${header_cssstyles.header_logo}` + ' d-flex align-items-center '}
300
- style={{ cursor: 'pointer' }}
301
- onClick={() => {
302
- routingcountext('home');
303
- }}
304
- >
305
- <img
306
- src={serverbaselink + authdetailsContext.instinfo.instlogo}
307
- style={{
308
- maxWidth: '99.5%',
309
- maxHeight: '99.5%',
310
- background: sectionproperties.logo_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.logo_bgcolor + 'px',
311
- borderTopLeftRadius: sectionproperties.logo_bordertopleftradius + 'px',
312
- borderTopRightRadius: sectionproperties.logo_bordertoprightradius + 'px',
313
- borderBottomLeftRadius: sectionproperties.logo_borderbottomleftradius + 'px',
314
- borderBottomRightRadius: sectionproperties.logo_borderbottomrightradius + 'px',
315
- }}
316
- />
317
- </div>
318
- </div>
319
- <div className="col-lg-3 d-flex align-items-center mb-md-0">
320
- {authdetailsContext.instinfo.contactinfo != null && (
321
- <div className={`${headerstyles.top_wrap_inner}` + ' d-flex align-items-center '}>
322
- <div className={`${headerstyles.top_wrap_inner_icon}`}>
323
- <span
324
- className=""
325
- style={{
326
- color: sectionproperties.uppersection_iconcolor,
327
- }}
328
- >
329
- <MdAlternateEmail style={{ color: sectionproperties.uppersection_iconcolor }} />
330
- </span>
331
- </div>
332
- <div className={`${headerstyles.top_wrap_inner_text}`}>
333
- <span className={`${header_cssstyles.uppersection_title}`}>Email:</span>
334
- <span className={`${header_cssstyles.uppersection_info}` + ' text-transform-none '}>{authdetailsContext.instinfo.contactinfo.email}</span>
335
- </div>
336
- </div>
337
- )}
338
- </div>
339
- <div className="col-lg-3 d-flex align-items-center mb-md-0">
340
- {authdetailsContext.instinfo.contactinfo != null && (
341
- <div className={`${headerstyles.top_wrap_inner}` + ' d-flex align-items-center '}>
342
- <div className={`${headerstyles.top_wrap_inner_icon}`}>
343
- <span className="fa fa-phone" style={{ color: sectionproperties.uppersection_iconcolor }}></span>
344
- </div>
345
- <div className={`${headerstyles.top_wrap_inner_text}`}>
346
- <span className={`${header_cssstyles.uppersection_title}`}>Call Us</span>
347
- <span className={`${header_cssstyles.uppersection_info}`}>{authdetailsContext.instinfo.contactinfo.mobile}</span>
348
- </div>
349
- </div>
350
- )}
351
- </div>
352
- <div className="col-lg-3 d-flex align-items-center mb-md-0">
353
- <div className={`${headerstyles.top_wrap_inner}` + ' d-flex align-items-center '}>
354
- <div className={`${headerstyles.top_wrap_inner_icon}`}>
355
- <span className="">
356
- <MdLocationOn style={{ color: sectionproperties.uppersection_iconcolor }} />
357
- </span>
358
- </div>
359
- <div className={`${headerstyles.top_wrap_inner_text}`}>
360
- <span className={`${header_cssstyles.uppersection_title}`}>Location</span>
361
- <span className={`${header_cssstyles.uppersection_info}`}>{authdetailsContext.instinfo.address_en}</span>
362
- </div>
363
- </div>
364
- </div>
365
- </div>
366
- </div>
367
- </div>
368
- <div className="col-lg-12 p-0">
369
- <nav className={`${headerstyles.navbar}` + ' col-lg-12 p-0 d-flex align-items-center justify-content-end '} style={{ position: 'relative' }}>
370
- <div className={`${headerstyles.container_xl} ${header_cssstyles.container_xl}`}>
371
- <div className={`${headerstyles.btns_container}` + ' order-lg-last d-flex align-items-center justify-content-end '}>
372
- <div className="row m-0 w-100 d-flex align-items-center justify-content-end pr-2 pl-2">
373
- <div className={header_cssstyles.searchbarcont + ' d-flex '}>
374
- <input
375
- type="text"
376
- placeholder="Search..."
377
- className={`${header_cssstyles.searchbarcont_input}`}
378
- onChange={(event) => {
379
- setSearchHeaderInputContext(event.target.value);
380
- }}
381
- />
382
- <span className={header_cssstyles.searchbar_icon_cont + ' m-0 pr-0 cursor-pointer '}>
383
- <i className="h-100 d-flex align-items-center justify-content-center">
384
- <BsSearch size={sectionproperties.searchbaricon_fontsize} />
385
- </i>
386
- </span>
387
- <Searchlist actions={actions} sectionpropertiesprops={sectionproperties} srcfromprops={'header'} />
388
- </div>
389
- <div
390
- className={header_cssstyles.cart_btn + ' d-flex flex-column cursor-pointer '}
391
- onClick={() => {
392
- setsidecartnavshowcontext(true);
393
- }}
394
- style={{ position: 'relative' }}
395
- >
396
- <i className="h-100 d-flex align-items-center justify-content-center">
397
- <MdOutlineShoppingCart size={sectionproperties.cartBtn_iconFontSize} />
398
- </i>
399
- <div
400
- className={
401
- `${headerstyles.badge_counter_header_notifications} ${header_cssstyles.badge_counter_header_notifications}` +
402
- ' text-capitalize d-flex justify-content-center text-center '
403
- }
404
- ></div>
405
- <span className={`${header_cssstyles.cart_btn_text}`}>Cart</span>
406
- </div>
407
- <div className={langdetect == 'en' ? 'transformedDropdown' : ' dropdown-container-translated'}>
408
- <Dropdown>
409
- <Dropdown.Toggle>
410
- <div className={header_cssstyles.user_btn + ' d-flex flex-column align-items-center justify-content-center cursor-pointer '}>
411
- <i className="h-100 d-flex align-items-center justify-content-center">
412
- <AiOutlineUser style={{ fontSize: sectionproperties.userBtniconfontsize + 'px' }} />
413
- </i>
414
- {!authdetailsContext.loggedin && <span className={`${header_cssstyles.user_btn_text}`}>Account</span>}
415
- {authdetailsContext.loggedin && (
416
- <div className={' d-flex align-items-center justify-content-center '} sytle={{ position: 'relative' }}>
417
- <p className="m-0 p-0 text-overflow p-0 align-items-center" style={{ textTransform: 'uppercase', maxWidth: '70px' }}>
418
- {authdetailsContext.customerinfo.name.slice(0, 10)}
419
- </p>
420
- </div>
421
- )}
422
- </div>
423
- </Dropdown.Toggle>
424
- {!authdetailsContext.loggedin && (
425
- <Dropdown.Menu>
426
- <Dropdown.Item
427
- className={`${header_cssstyles.dropdownitem}`}
428
- onClick={() => {
429
- routingcountext(StaticPagesLinksContext.Login);
430
- }}
431
- >
432
- <span
433
- className="d-flex align-items-center justify-content-center"
434
- style={{
435
- fontSize: sectionproperties.dropdown_fontsize + 'px',
436
- fontWeight: sectionproperties.dropdown_fontweight,
437
- textTransform: sectionproperties.dropdown_texttransform,
438
- }}
439
- >
440
- <AiOutlineLogin className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
441
- Login
442
- </span>
443
- </Dropdown.Item>
444
- <Dropdown.Divider></Dropdown.Divider>
445
- <Dropdown.Item
446
- className={`${header_cssstyles.dropdownitem}`}
447
- onClick={() => {
448
- routingcountext(StaticPagesLinksContext.Signup);
449
- }}
450
- >
451
- <span
452
- className='d-flex align-items-center justify-content-center"'
453
- style={{
454
- fontSize: sectionproperties.dropdown_fontsize + 'px',
455
- fontWeight: sectionproperties.dropdown_fontweight,
456
- textTransform: sectionproperties.dropdown_texttransform,
457
- }}
458
- >
459
- <AiOutlineUserAdd className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
460
- SIGNUP
461
- </span>
462
- </Dropdown.Item>
463
- <Dropdown.Item
464
- className={`${header_cssstyles.dropdownitem}`}
465
- onClick={() => {
466
- routingcountext(StaticPagesLinksContext.Wishlist);
467
- }}
468
- style={{
469
- fontSize: sectionproperties.dropdown_fontsize + 'px',
470
- fontWeight: sectionproperties.dropdown_fontweight,
471
- textTransform: sectionproperties.dropdown_texttransform,
472
- }}
473
- >
474
- <AiOutlineStar className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
475
- Wish List
476
- </Dropdown.Item>
477
- </Dropdown.Menu>
478
- )}
479
- {authdetailsContext.loggedin && (
480
- <Dropdown.Menu style={{ minWidth: '200px' }}>
481
- <Dropdown.Item className={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center justify-content-center '}>
482
- <span
483
- style={{
484
- color: '#8fa0bd',
485
- }}
486
- >
487
- Hello,
488
- </span>
489
- <span
490
- className="font-weight-600 ml-1 mr-1 text-overflow text-capitalize"
491
- onClick={() => {
492
- routingcountext(StaticPagesLinksContext.accountinfo);
493
- }}
494
- >
495
- {authdetailsContext.customerinfo.name}
496
- </span>
497
- </Dropdown.Item>
498
- <Dropdown.Divider></Dropdown.Divider>
499
- <Dropdown.Item
500
- className={`${header_cssstyles.dropdownitem}`}
501
- onClick={() => {
502
- routingcountext(StaticPagesLinksContext.Ordershistory);
503
- }}
504
- style={{
505
- fontSize: sectionproperties.dropdown_fontsize + 'px',
506
- fontWeight: sectionproperties.dropdown_fontweight,
507
- textTransform: sectionproperties.dropdown_texttransform,
508
- }}
509
- >
510
- <span
511
- style={{
512
- cursor: 'pointer',
513
- zIndex: 1000,
514
- }}
515
- >
516
- <BsCartCheck className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
517
- Orders History
518
- </span>
519
- </Dropdown.Item>
520
- <Dropdown.Divider></Dropdown.Divider>
521
- <Dropdown.Item
522
- className={`${header_cssstyles.dropdownitem}`}
523
- onClick={() => {
524
- routingcountext(StaticPagesLinksContext.Wishlist);
525
- }}
526
- style={{
527
- fontSize: sectionproperties.dropdown_fontsize + 'px',
528
- fontWeight: sectionproperties.dropdown_fontweight,
529
- textTransform: sectionproperties.dropdown_texttransform,
530
- }}
531
- >
532
- <AiOutlineStar className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
533
- Wish List
534
- </Dropdown.Item>
535
- <Dropdown.Divider></Dropdown.Divider>
536
- <Dropdown.Item
537
- className={`${header_cssstyles.dropdownitem}`}
538
- onClick={() => {
539
- routingcountext(StaticPagesLinksContext.Policies);
540
- }}
541
- style={{
542
- fontSize: sectionproperties.dropdown_fontsize + 'px',
543
- fontWeight: sectionproperties.dropdown_fontweight,
544
- textTransform: sectionproperties.dropdown_texttransform,
545
- zIndex: 1000,
546
- }}
547
- >
548
- <MdOutlinePolicy className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
549
- Policies
550
- </Dropdown.Item>
551
- <Dropdown.Divider></Dropdown.Divider>
552
- <Dropdown.Item
553
- className={`${header_cssstyles.dropdownitem}`}
554
- onClick={() => {
555
- LogoutMutationContext.mutate();
556
- }}
557
- style={{
558
- fontSize: sectionproperties.dropdown_fontsize + 'px',
559
- fontWeight: sectionproperties.dropdown_fontweight,
560
- textTransform: sectionproperties.dropdown_texttransform,
561
- zIndex: 2000,
562
- }}
563
- >
564
- <BiLogOutCircle className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
565
- Logout
566
- </Dropdown.Item>
567
- </Dropdown.Menu>
568
- )}
569
- </Dropdown>
570
- </div>
571
- </div>
572
- </div>
573
- <div className="w-100">
574
- <ul className={`${headerstyles.navbar_nav}` + ' mb-0 pb-0 mt-0 w-100 '}>
575
- {templatepropcontext.pagesnprop.map((item, index) => {
576
- var activeclass = '';
577
- var pagedisabled = '';
578
- if (item.isselected) {
579
- activeclass = headerstyles.navbar_item_active;
580
- }
581
- if (item.isnavigation == 1 && item.isactive == 1) {
582
- return (
583
- <div
584
- onClick={() => {
585
- history.push(item.navigationroute);
586
- }}
587
- >
588
- <li
589
- className={`${headerstyles.nav_item} ${activeclass}`}
590
- style={{
591
- marginLeft: sectionproperties.navbar_item_textpaddingleft + 'px',
592
- marginRight: sectionproperties.navbar_item_textpaddingright + 'px',
593
- }}
594
- >
595
- <div className={`${headerstyles.nav_link} ${header_cssstyles.nav_link}`}>{langdetect == 'en' ? item.pagename : item.pagename_ar}</div>
596
- </li>
597
- </div>
598
- );
599
- }
600
- })}
601
- </ul>
602
- </div>
603
- </div>
604
- </nav>
605
- </div>
606
- <div className="col-lg-12 p-0 m-0 w-100">{sectionproperties.showhidesubheader == 'Show' && <Subheader actions={actions} sectionpropertiesprops={props.sectionproperties} />}</div>
607
- </div>
608
- </div>
609
- <Headerresponsive actions={actions} sectionpropertiesprops={sectionproperties} />
610
- </div>
611
- );
612
- };
613
-
614
- export default Header4;