tabexseriescomponents 0.0.80 → 0.0.82

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