tabexseriescomponents 0.0.217 → 0.0.220

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 (255) hide show
  1. package/dist/index.cjs.js +1044 -780
  2. package/dist/index.esm.js +1044 -780
  3. package/dist/index.umd.js +1042 -778
  4. package/library.zip +0 -0
  5. package/package.json +2 -1
  6. package/srcold/Contexts/LanguageContext.jsx +390 -0
  7. package/srcold/Contexts/ProductsCardsSectionContext.jsx +34 -0
  8. package/srcold/StylesJS/Customstyles.js +236 -0
  9. package/srcold/TabexComponents/Cards/Card20/Card20.jsx +282 -0
  10. package/srcold/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  11. package/srcold/TabexComponents/Cards/Card22/Card22.jsx +287 -0
  12. package/srcold/TabexComponents/Cards/Card23/Card23.jsx +403 -0
  13. package/srcold/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +395 -0
  14. package/srcold/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  15. package/srcold/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  16. package/srcold/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +220 -0
  17. package/srcold/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +230 -0
  18. package/srcold/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +198 -0
  19. package/srcold/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +170 -0
  20. package/srcold/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  21. package/srcold/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  22. package/srcold/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +180 -0
  23. package/srcold/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +487 -0
  24. package/srcold/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +123 -0
  25. package/srcold/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +192 -0
  26. package/srcold/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +270 -0
  27. package/srcold/TabexComponents/Cards/MenuCard/MenuCard.jsx +543 -0
  28. package/srcold/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +467 -0
  29. package/srcold/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +469 -0
  30. package/srcold/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +445 -0
  31. package/srcold/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  32. package/srcold/TabexComponents/Cards/Productcard6/Productcard6.jsx +256 -0
  33. package/srcold/TabexComponents/Cards/Productcard7/Productcard7.jsx +278 -0
  34. package/srcold/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +443 -0
  35. package/srcold/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +275 -0
  36. package/srcold/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  37. package/srcold/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +301 -0
  38. package/srcold/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +419 -0
  39. package/srcold/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +524 -0
  40. package/srcold/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  41. package/srcold/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  42. package/srcold/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +136 -0
  43. package/srcold/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +179 -0
  44. package/srcold/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +291 -0
  45. package/srcold/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +339 -0
  46. package/srcold/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +338 -0
  47. package/srcold/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +515 -0
  48. package/srcold/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +184 -0
  49. package/srcold/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +475 -0
  50. package/srcold/TabexComponents/Footer/Footer1/Footer1.jsx +448 -0
  51. package/srcold/TabexComponents/Footer/Footer2/Footer2.jsx +383 -0
  52. package/srcold/TabexComponents/Footer/Footer3/Footer3.jsx +394 -0
  53. package/srcold/TabexComponents/Footer/Footer4/Footer4.jsx +699 -0
  54. package/srcold/TabexComponents/Footer/Footer5/Footer5.jsx +523 -0
  55. package/srcold/TabexComponents/Footer/Footer6/Footer6.jsx +301 -0
  56. package/srcold/TabexComponents/Footer/Footer7/Footer7.jsx +415 -0
  57. package/srcold/TabexComponents/Footer/Footer8/Footer8.jsx +454 -0
  58. package/srcold/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +329 -0
  59. package/srcold/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +274 -0
  60. package/srcold/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  61. package/srcold/TabexComponents/Generalfiles/images/noimage.png +0 -0
  62. package/srcold/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  63. package/srcold/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  64. package/srcold/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  65. package/srcold/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  66. package/srcold/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  67. package/srcold/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  68. package/srcold/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  69. package/srcold/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  70. package/srcold/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  71. package/srcold/TabexComponents/Generalfiles/images/usflag.png +0 -0
  72. package/srcold/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  73. package/srcold/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +880 -0
  74. package/srcold/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +870 -0
  75. package/srcold/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +688 -0
  76. package/srcold/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +720 -0
  77. package/srcold/TabexComponents/Headers/Header4/Header4.jsx +621 -0
  78. package/srcold/TabexComponents/Headers/Header8/Header8.jsx +824 -0
  79. package/srcold/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +730 -0
  80. package/srcold/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +762 -0
  81. package/srcold/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +706 -0
  82. package/srcold/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +900 -0
  83. package/srcold/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +841 -0
  84. package/srcold/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +988 -0
  85. package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveNew.jsx +1081 -0
  86. package/srcold/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +988 -0
  87. package/srcold/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +917 -0
  88. package/srcold/TabexComponents/Headers/Modernheader/Modernheader.jsx +693 -0
  89. package/srcold/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +952 -0
  90. package/srcold/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +636 -0
  91. package/srcold/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +853 -0
  92. package/srcold/TabexComponents/Headers/Subheader/Subheader copy.jsx +373 -0
  93. package/srcold/TabexComponents/Headers/Subheader/Subheader.jsx +515 -0
  94. package/srcold/TabexComponents/Headers/Subheader/SubheaderDropdown.jsx +190 -0
  95. package/srcold/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +483 -0
  96. package/srcold/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1005 -0
  97. package/srcold/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1020 -0
  98. package/srcold/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader .jsx +843 -0
  99. package/srcold/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +448 -0
  100. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +346 -0
  101. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +304 -0
  102. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +301 -0
  103. package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +312 -0
  104. package/srcold/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +271 -0
  105. package/srcold/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +174 -0
  106. package/srcold/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +200 -0
  107. package/srcold/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +263 -0
  108. package/srcold/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +143 -0
  109. package/srcold/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +248 -0
  110. package/srcold/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +295 -0
  111. package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +394 -0
  112. package/srcold/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +406 -0
  113. package/srcold/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +246 -0
  114. package/srcold/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1220 -0
  115. package/srcold/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +480 -0
  116. package/srcold/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +718 -0
  117. package/srcold/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  118. package/srcold/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +652 -0
  119. package/srcold/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +635 -0
  120. package/srcold/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +495 -0
  121. package/srcold/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  122. package/srcold/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +250 -0
  123. package/srcold/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +160 -0
  124. package/srcold/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +256 -0
  125. package/srcold/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +329 -0
  126. package/srcold/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +266 -0
  127. package/srcold/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +371 -0
  128. package/srcold/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +140 -0
  129. package/srcold/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +374 -0
  130. package/srcold/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +339 -0
  131. package/srcold/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +303 -0
  132. package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +224 -0
  133. package/srcold/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +147 -0
  134. package/srcold/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +139 -0
  135. package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  136. package/srcold/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +324 -0
  137. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +525 -0
  138. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +569 -0
  139. package/srcold/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +475 -0
  140. package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +91 -0
  141. package/srcold/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +369 -0
  142. package/srcold/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +392 -0
  143. package/srcold/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +213 -0
  144. package/srcold/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +467 -0
  145. package/srcold/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +181 -0
  146. package/srcold/TabexComponents/StaticPages/Checkout/Checkout.jsx +1280 -0
  147. package/srcold/TabexComponents/StaticPages/Filter/Filter copy.jsx +1392 -0
  148. package/srcold/TabexComponents/StaticPages/Filter/Filter.jsx +1399 -0
  149. package/srcold/TabexComponents/StaticPages/Filter/FilterOriginal.jsx +1132 -0
  150. package/srcold/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +60 -0
  151. package/srcold/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  152. package/srcold/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  153. package/srcold/TabexComponents/StaticPages/Login/Login.jsx +469 -0
  154. package/srcold/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +143 -0
  155. package/srcold/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1329 -0
  156. package/srcold/TabexComponents/StaticPages/Policies/Policies.jsx +306 -0
  157. package/srcold/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1334 -0
  158. package/srcold/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +715 -0
  159. package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype copy.jsx +361 -0
  160. package/srcold/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +361 -0
  161. package/srcold/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +501 -0
  162. package/srcold/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  163. package/srcold/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +227 -0
  164. package/srcold/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +832 -0
  165. package/srcold/TabexComponents/StaticPages/Signup/Signup.jsx +154 -0
  166. package/srcold/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +280 -0
  167. package/srcold/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +671 -0
  168. package/srcold/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +538 -0
  169. package/srcold/assets/images/appstore.png +0 -0
  170. package/srcold/assets/images/cod.png +0 -0
  171. package/srcold/assets/images/egyptflag.png +0 -0
  172. package/srcold/assets/images/fawry.png +0 -0
  173. package/srcold/assets/images/googleplay.png +0 -0
  174. package/srcold/assets/images/ksa.png +0 -0
  175. package/srcold/assets/images/mastercard.png +0 -0
  176. package/srcold/assets/images/payment.png +0 -0
  177. package/srcold/assets/images/paymob.png +0 -0
  178. package/srcold/assets/images/paypal.png +0 -0
  179. package/srcold/assets/images/shoppingcart.png +0 -0
  180. package/srcold/assets/images/usflag.png +0 -0
  181. package/srcold/assets/images/visa.png +0 -0
  182. package/srcold/assets/images/whatsapp.png +0 -0
  183. package/srcold/button.jsx +40 -0
  184. package/srcold/index.jsx +283 -0
  185. package/srcold/styles/Home.module.css +129 -0
  186. package/srcold/styles/cards/Categorcycard_fullimage.module.css +10 -0
  187. package/srcold/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  188. package/srcold/styles/cards/Categorycard_withshapes.module.css +189 -0
  189. package/srcold/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  190. package/srcold/styles/cards/Productcard6.module.css +9 -0
  191. package/srcold/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  192. package/srcold/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  193. package/srcold/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  194. package/srcold/styles/cards/categorycard.module.css +85 -0
  195. package/srcold/styles/cards/categorycard3.module.css +50 -0
  196. package/srcold/styles/cards/categorycardwithtext.module.css +40 -0
  197. package/srcold/styles/cards/productcard_animatedbuttons.module.css +130 -0
  198. package/srcold/styles/cards/productcard_with_textonhover.module.css +18 -0
  199. package/srcold/styles/cards/productcard_withtextonimage.module.css +0 -0
  200. package/srcold/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  201. package/srcold/styles/general/bootstrap.css +4727 -0
  202. package/srcold/styles/general/dropdown.css +206 -0
  203. package/srcold/styles/general/editorbardropdown.module.css +94 -0
  204. package/srcold/styles/general/filter.module.css +108 -0
  205. package/srcold/styles/general/form.module.css +273 -0
  206. package/srcold/styles/general/general.module.css +872 -0
  207. package/srcold/styles/general/image-gallery.css +531 -0
  208. package/srcold/styles/general/react-accessible-accordion.module.css +52 -0
  209. package/srcold/styles/general/react-phone-input-2.module.css +927 -0
  210. package/srcold/styles/general/scrollbtn.module.css +22 -0
  211. package/srcold/styles/general/slick.module.css +166 -0
  212. package/srcold/styles/general/tabs.module.css +119 -0
  213. package/srcold/styles/general/workplaceeditor.module.css +328 -0
  214. package/srcold/styles/globals.css +26 -0
  215. package/srcold/styles/headers/CTAHeader.module.css +40 -0
  216. package/srcold/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  217. package/srcold/styles/headers/Gotoheader.module.css +81 -0
  218. package/srcold/styles/headers/Header7.module.css +50 -0
  219. package/srcold/styles/headers/HeaderWithAdSlider.module.css +86 -0
  220. package/srcold/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  221. package/srcold/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  222. package/srcold/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  223. package/srcold/styles/headers/NewHeader.module.css +101 -0
  224. package/srcold/styles/headers/SearchFocusedHeader.module.css +62 -0
  225. package/srcold/styles/headers/Sideheader.module.css +108 -0
  226. package/srcold/styles/headers/Simpleheader.module.css +102 -0
  227. package/srcold/styles/headers/classicheader.module.css +16 -0
  228. package/srcold/styles/headers/classicheaderstyles.module.css +9 -0
  229. package/srcold/styles/headers/dropdown.css +0 -0
  230. package/srcold/styles/headers/header4.module.css +175 -0
  231. package/srcold/styles/headers/header5.module.css +30 -0
  232. package/srcold/styles/headers/header_contactinfo.module.css +53 -0
  233. package/srcold/styles/headers/headerresturant.module.css +89 -0
  234. package/srcold/styles/headers/modernheader.module.css +72 -0
  235. package/srcold/styles/headers/stylishheader.module.css +24 -0
  236. package/srcold/styles/headers/subheader.module.css +114 -0
  237. package/srcold/styles/headers/threetieredheader.module.css +91 -0
  238. package/srcold/styles/sections/BackgroundImageWithTopContent.css +4 -0
  239. package/srcold/styles/sections/Backgroundimage1.module.css +17 -0
  240. package/srcold/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  241. package/srcold/styles/sections/Section_with_rightbgcont.module.css +49 -0
  242. package/srcold/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  243. package/srcold/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  244. package/srcold/styles/staticpages/accordion.module.css +9 -0
  245. package/srcold/styles/staticpages/cart.module.css +108 -0
  246. package/srcold/styles/staticpages/dropdown.css +196 -0
  247. package/srcold/styles/staticpages/filter.module.css +139 -0
  248. package/srcold/styles/staticpages/image-gallery.css +481 -0
  249. package/srcold/styles/staticpages/login.module.css +113 -0
  250. package/srcold/styles/staticpages/productinfo.module.css +54 -0
  251. package/srcold/styles/staticpages/shop.module.css +191 -0
  252. package/srcold/styles/staticpages/signup.module.css +206 -0
  253. package/srcold/styles/staticpages/staticroutersidenav.module.css +129 -0
  254. package/srcold/styles/staticpages/viewcart.module.css +129 -0
  255. package/srcold/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,329 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import generalstyles from '../../../../styles/general/general.module.css';
4
+ import { IKImage } from 'imagekitio-react';
5
+ import { IKpublicKey, IKurlEndpoint } from '../../../../../Env';
6
+
7
+ const Freetextsection = (props) => {
8
+ const [sectionproperties, setsectionproperties] = useState('');
9
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
10
+ const lang = props.actions.lang;
11
+ const langdetect = props.actions.langdetect;
12
+ useEffect(() => {
13
+ var secpropobj = {};
14
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
15
+ if (sectionitem.sectionid == props.sectionidprops) {
16
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
17
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
18
+ });
19
+ }
20
+ });
21
+ setsectionproperties({ ...secpropobj });
22
+ }, [StatePagePropertiesContext]);
23
+ const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
24
+ useEffect(() => {
25
+ if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
26
+ var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
27
+ if (Array.isArray(maincontainerarrayofobjsparsed)) {
28
+ setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
29
+ }
30
+ }
31
+ }, [sectionproperties]);
32
+ const section_styles = {
33
+ sectiontitlespan: css({
34
+ ':after': {
35
+ height: '5px',
36
+ width: sectionproperties.sectitle_lineafterwidth + '%',
37
+ backgroundColor: sectionproperties.linebgcolor,
38
+ },
39
+ }),
40
+ line_left: css({
41
+ height: '1px',
42
+ position: 'relative',
43
+ flex: '1 1 auto',
44
+ minWidth: '10%',
45
+ background: sectionproperties.linebgcolor,
46
+ }),
47
+ line_right: css({
48
+ height: '1px',
49
+ position: 'relative',
50
+ flex: '1 1 auto',
51
+ minWidth: '10%',
52
+ background: sectionproperties.linebgcolor,
53
+ }),
54
+ btn: css({
55
+ width: sectionproperties.generalbtn_width + 'px',
56
+ height: sectionproperties.generalbtn_height + 'px',
57
+ backgroundColor: sectionproperties.generalbtn_bgColor,
58
+ color: sectionproperties.generalbtn_textColor,
59
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
60
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
61
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
62
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
63
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
64
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
65
+ fontWeight: sectionproperties.generalbtn_fontweight,
66
+ marginTop: sectionproperties.generalbtn_marginTop + 'px',
67
+ marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
68
+ transition: '.3s',
69
+ cursor: 'pointer',
70
+ ':hover': {
71
+ backgroundColor: sectionproperties.generalbtn_bgColoronhover,
72
+ color: sectionproperties.generalbtn_textColoronhover,
73
+ },
74
+ }),
75
+ imgcontainer: css({
76
+ ':before': {
77
+ width: '100%',
78
+ height: '100%',
79
+ background: 'rgba(0,0,0,' + sectionproperties.cardimg_opacity + ')',
80
+ zIndex: 1,
81
+ position: 'absolute',
82
+ content: 's',
83
+ fontSize: 0,
84
+ left: 0,
85
+ right: 0,
86
+ top: 0,
87
+ bottom: 0,
88
+ },
89
+ }),
90
+ };
91
+ const SectionTitle = () => {
92
+ return (
93
+ <div
94
+ class="d-flex align-items-center flex-row"
95
+ style={{
96
+ position: 'relative',
97
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
98
+ width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
99
+ }}
100
+ >
101
+ {sectionproperties.sectiontitlestyle == 'Line Before Text' && (
102
+ <span
103
+ class={section_styles.line_left}
104
+ style={{
105
+ marginLeft: langdetect == 'en' ? 0 : sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
106
+ marginRight: langdetect == 'en' ? (sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0) : 0,
107
+ }}
108
+ ></span>
109
+ )}
110
+ <p
111
+ class={
112
+ sectionproperties.sectiontitlefontfamily == 'Pacifico'
113
+ ? `${section_styles.sectiontitlespan}` + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
114
+ : sectionproperties.sectiontitlefontfamily == 'Playfair'
115
+ ? `${section_styles.sectiontitlespan}` + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
116
+ : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
117
+ ? `${section_styles.sectiontitlespan}` + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
118
+ : sectionproperties.sectiontitlefontfamily == 'Quicksand'
119
+ ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
120
+ : sectionproperties.sectiontitlefontfamily == 'Satisfy'
121
+ ? `${section_styles.sectiontitlespan}` + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
122
+ : `${section_styles.sectiontitlespan}` + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
123
+ }
124
+ style={{
125
+ color: sectionproperties.sectionTitleColor,
126
+ textTransform: sectionproperties.sectionTitleTextTransform,
127
+ fontWeight: sectionproperties.sectionTitleFontWeight,
128
+ padding: sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? 7 : 0,
129
+ textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'left',
130
+ }}
131
+ >
132
+ {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
133
+ </p>
134
+ {sectionproperties.sectiontitlestyle == 'Line Before Text' && (
135
+ <span
136
+ class={section_styles.line_right}
137
+ style={{
138
+ marginRight: langdetect == 'en' ? 0 : sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
139
+ marginLeft: langdetect == 'en' ? (sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0) : 0,
140
+ }}
141
+ ></span>
142
+ )}
143
+ </div>
144
+ );
145
+ };
146
+ const Description = () => {
147
+ return (
148
+ <div
149
+ class={
150
+ sectionproperties.description_marginLeft != 0 && sectionproperties.description_marginRight != 0
151
+ ? ' col-lg-12 d-flex align-items-center justify-content-center mb-md-0 pl-md-3 pr-md-3 '
152
+ : sectionproperties.description_marginLeft != 0
153
+ ? langdetect == 'en'
154
+ ? ' col-lg-12 d-flex align-items-center justify-content-center mb-md-0 pl-md-3 '
155
+ : ' col-lg-12 d-flex align-items-center justify-content-center mb-md-0 pr-md-3 '
156
+ : sectionproperties.description_marginRight != 0
157
+ ? langdetect == 'en'
158
+ ? ' col-lg-12 d-flex align-items-center justify-content-center mb-md-0 pr-md-3 '
159
+ : ' col-lg-12 d-flex align-items-center justify-content-center mb-md-0 pl-md-3 '
160
+ : ' col-lg-12 d-flex align-items-center justify-content-center mb-md-0 '
161
+ }
162
+ style={{
163
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
164
+ paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
165
+ paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
166
+ justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
167
+ }}
168
+ >
169
+ <p
170
+ class={
171
+ sectionproperties.descFontFamily == 'Pacifico'
172
+ ? ' PacificoFont m-0 p-0 wordbreak '
173
+ : sectionproperties.descFontFamily == 'Playfair'
174
+ ? ' PlayfairFont m-0 p-0 wordbreak '
175
+ : sectionproperties.descFontFamily == 'Great Vibes'
176
+ ? ' GreatvibesFont m-0 p-0 wordbreak '
177
+ : sectionproperties.descFontFamily == 'Quicksand'
178
+ ? ' QuicksandFont m-0 p-0 wordbreak'
179
+ : ' m-0 p-0 wordbreak'
180
+ }
181
+ style={{
182
+ textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
183
+ color: sectionproperties.prodCatColor,
184
+ fontWeight: sectionproperties.prodCatFontWeight,
185
+ }}
186
+ >
187
+ {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
188
+ </p>
189
+ </div>
190
+ );
191
+ };
192
+ return (
193
+ <div
194
+ class="w-100 allcentered"
195
+ style={{
196
+ background: sectionproperties.backgroundColor,
197
+ }}
198
+ >
199
+ <div
200
+ class={' row ml-0 mr-0 d-flex justify-content-between w-md-100 align-items-center '}
201
+ style={{
202
+ marginTop: sectionproperties.marginTop + 'px',
203
+ marginBottom: sectionproperties.marginBottom + 'px',
204
+ background: sectionproperties.backgroundColor,
205
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
206
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
207
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
208
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
209
+ position: 'relative',
210
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
211
+ width: sectionproperties.width + 'vw',
212
+ }}
213
+ >
214
+ {maincontainerarrayofobjs != undefined && maincontainerarrayofobjs?.length != 0 && (
215
+ <div class={section_styles.imgcontainer}>
216
+ <IKImage
217
+ urlEndpoint={IKurlEndpoint}
218
+ publicKey={IKpublicKey}
219
+ path={maincontainerarrayofobjs[0]?.back_bgimage}
220
+ style={{
221
+ height: '100%',
222
+ width: '100%',
223
+ objectFit: 'cover',
224
+ margin: 0,
225
+ padding: 0,
226
+ position: 'absolute',
227
+ top: 0,
228
+ bottom: 0,
229
+ right: 0,
230
+ left: 0,
231
+ }}
232
+ />
233
+ </div>
234
+ )}
235
+ <div
236
+ class={
237
+ sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
238
+ ? 'pl-md-3 pr-md-3 w-100 d-flex justify-content-start'
239
+ : sectionproperties.paddingLeft != 0
240
+ ? langdetect == 'en'
241
+ ? 'pl-md-3 w-100 d-flex justify-content-start'
242
+ : 'w-100 d-flex justify-content-start pr-md-3'
243
+ : sectionproperties.paddingRight != 0
244
+ ? langdetect == 'en'
245
+ ? 'pr-md-3 w-100 d-flex justify-content-start'
246
+ : 'w-100 d-flex justify-content-start pl-md-3'
247
+ : 'w-100 d-flex justify-content-start'
248
+ }
249
+ style={{
250
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
251
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
252
+ paddingTop: sectionproperties.paddingTop + 'px',
253
+ paddingBottom: sectionproperties.paddingBottom + 'px',
254
+ zIndex: 100,
255
+ }}
256
+ >
257
+ <div class="row m-0 w-100 mb-auto">
258
+ {sectionproperties.sectiontitleshow == 'Show' && (
259
+ <div class="col-lg-12 p-0">
260
+ <div
261
+ class={
262
+ sectionproperties.sectionTitleMarginLeft != 0 && sectionproperties.sectionTitleMarginRight != 0
263
+ ? `${generalstyles.sectiontitlecont}` + ' w-100 d-flex align-items-center pl-md-3 pr-md-3'
264
+ : sectionproperties.sectionTitleMarginLeft != 0
265
+ ? langdetect == 'en'
266
+ ? `${generalstyles.sectiontitlecont}` + ' w-100 d-flex align-items-center pl-md-3 '
267
+ : `${generalstyles.sectiontitlecont}` + ' w-100 d-flex align-items-center pr-md-3 '
268
+ : sectionproperties.sectionTitleMarginRight != 0
269
+ ? langdetect == 'en'
270
+ ? `${generalstyles.sectiontitlecont}` + ' w-100 d-flex align-items-center pr-md-3 '
271
+ : `${generalstyles.sectiontitlecont}` + ' w-100 d-flex align-items-center pl-md-3 '
272
+ : `${generalstyles.sectiontitlecont}` + ' w-100 d-flex align-items-center '
273
+ }
274
+ style={{
275
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
276
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
277
+ paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
278
+ paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
279
+ }}
280
+ >
281
+ <div
282
+ class="w-100 d-flex d-md-none"
283
+ style={{
284
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
285
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
286
+ }}
287
+ >
288
+ {SectionTitle()}
289
+ </div>
290
+ <div
291
+ class="w-100 d-none d-md-flex"
292
+ style={{
293
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
294
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
295
+ }}
296
+ >
297
+ {SectionTitle()}
298
+ </div>
299
+ </div>
300
+ </div>
301
+ )}
302
+ <div
303
+ class="row m-0 w-100 d-flex d-md-none"
304
+ style={{
305
+ fontSize: sectionproperties.prodCatFontSize + 'px',
306
+ }}
307
+ >
308
+ {Description()}
309
+ </div>
310
+ <div
311
+ class="row m-0 w-100 d-none d-md-flex"
312
+ style={{
313
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px',
314
+ }}
315
+ >
316
+ {Description()}
317
+ </div>
318
+ {sectionproperties.generalbtn_show == 'Show' && (
319
+ <div class="col-lg-12 p-0">
320
+ <button class={`${section_styles.btn}`}>{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}</button>
321
+ </div>
322
+ )}
323
+ </div>
324
+ </div>
325
+ </div>
326
+ </div>
327
+ );
328
+ };
329
+ export default Freetextsection;
@@ -0,0 +1,266 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import { HiOutlineLocationMarker } from '@react-icons/all-files/hi/HiOutlineLocationMarker';
4
+ import { FiPhoneCall } from '@react-icons/all-files/fi/FiPhoneCall';
5
+ import { AiOutlineMail } from '@react-icons/all-files/ai/AiOutlineMail';
6
+ import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
7
+
8
+ const HorizontalContactUsSection = (props) => {
9
+ const [sectionproperties, setsectionproperties] = useState('');
10
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
11
+ const lang = props.actions.lang;
12
+ const langdetect = props.actions.langdetect;
13
+ const authdetailsContext = props.actions.authdetailsContext;
14
+ useEffect(() => {
15
+ var secpropobj = {};
16
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
17
+ if (sectionitem.sectionid == props.sectionidprops) {
18
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
19
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
20
+ });
21
+ }
22
+ });
23
+ setsectionproperties({ ...secpropobj });
24
+ }, [StatePagePropertiesContext]);
25
+
26
+ const section_styles = {
27
+ cards_sections: css({
28
+ width: sectionproperties.width + 'vw',
29
+ marginTop: sectionproperties.marginTop + 'px',
30
+ marginBottom: sectionproperties.marginBottom + 'px',
31
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
32
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
33
+ paddingTop: sectionproperties.paddingTop + 'px',
34
+ paddingBottom: sectionproperties.paddingBottom + 'px',
35
+ background: sectionproperties.backgroundColor,
36
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
37
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
38
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
39
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
40
+ borderColor: sectionproperties.sectioncardbordercolor,
41
+ border: sectionproperties.sectioncardborderwidth + 'px solid',
42
+ }),
43
+ sectionTitle: css({
44
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
45
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
46
+ fontWeight: sectionproperties.sectionTitleFontWeight,
47
+ color: sectionproperties.sectionTitleColor,
48
+ }),
49
+ description: css({
50
+ fontWeight: sectionproperties.prodCatFontWeight,
51
+ color: sectionproperties.prodCatColor,
52
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
53
+ }),
54
+ iconContainer: css({
55
+ width: sectionproperties.iconcontainerwidth + 'vh',
56
+ height: sectionproperties.iconcontainerheight + 'vh',
57
+ border: sectionproperties.iconcontainer_borderWidth + 'px solid ' + sectionproperties.iconcontainer_bordercolor,
58
+ borderRadius: sectionproperties.iconcontainerborderbl + 'px',
59
+ background: sectionproperties.iconcontainerbg,
60
+ color: sectionproperties.iconcontainercolor,
61
+ marginBottom: '10px',
62
+ transition: '.3s',
63
+ ':hover': {
64
+ color: sectionproperties.iconcontainercoloronhover,
65
+ },
66
+ }),
67
+ storeinfotitle: css({
68
+ fontSize: sectionproperties.footerinfotext_secondaryfontsize + 'px',
69
+ fontWeight: sectionproperties.footerinfotext_secondaryfontweight,
70
+ color: sectionproperties.footerinfotext_secondarycolor,
71
+ marginBottom: '10px',
72
+ }),
73
+ storeinfo: css({
74
+ cursor: 'pointer',
75
+ fontSize: sectionproperties.footerinfotext_fontsize + 'px',
76
+ color: sectionproperties.footerinfotext_color,
77
+ fontWeight: sectionproperties.footerinfotext_fontweight,
78
+ transition: '.3s',
79
+ ':hover .storeinfo': {
80
+ color: sectionproperties.footerinfotext_coloronhover,
81
+ transition: '.3s',
82
+ },
83
+ ':hover .storeinfoicon': {
84
+ backgroundColor: sectionproperties.iconcontainerbgonhover,
85
+ transition: '.3s',
86
+ },
87
+ }),
88
+ };
89
+ const SectionTitle = () => {
90
+ return (
91
+ <p
92
+ class={
93
+ sectionproperties.sectiontitlefontfamily == 'Pacifico'
94
+ ? section_styles.sectionTitle + ' PacificoFont p-0 wordbreak '
95
+ : sectionproperties.sectiontitlefontfamily == 'Playfair'
96
+ ? section_styles.sectionTitle + ' PlayfairFont p-0 wordbreak '
97
+ : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
98
+ ? section_styles.sectionTitle + ' GreatvibesFont p-0 wordbreak '
99
+ : sectionproperties.sectiontitlefontfamily == 'Quicksand'
100
+ ? section_styles.sectionTitle + ' QuicksandFont p-0 wordbreak '
101
+ : sectionproperties.sectiontitlefontfamily == 'Satisfy'
102
+ ? section_styles.sectionTitle + ' SatisfyFont p-0 wordbreak '
103
+ : section_styles.sectionTitle + ' p-0 wordbreak '
104
+ }
105
+ style={{
106
+ textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
107
+ }}
108
+ >
109
+ {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
110
+ </p>
111
+ );
112
+ };
113
+ const Description = () => {
114
+ return (
115
+ <p
116
+ class={
117
+ sectionproperties.descFontFamily == 'Pacifico'
118
+ ? section_styles.description + ' PacificoFont p-0 wordbreak '
119
+ : sectionproperties.descFontFamily == 'Playfair'
120
+ ? section_styles.description + ' PlayfairFont p-0 wordbreak '
121
+ : sectionproperties.descFontFamily == 'Great Vibes'
122
+ ? section_styles.description + ' GreatvibesFont p-0 wordbreak '
123
+ : sectionproperties.descFontFamily == 'Quicksand'
124
+ ? section_styles.description + ' QuicksandFont p-0 wordbreak '
125
+ : sectionproperties.descFontFamily == 'Satisfy'
126
+ ? section_styles.description + ' SatisfyFont p-0 wordbreak '
127
+ : section_styles.description + ' p-0 wordbreak '
128
+ }
129
+ style={{
130
+ textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
131
+ }}
132
+ >
133
+ {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
134
+ </p>
135
+ );
136
+ };
137
+ return (
138
+ <div class={section_styles.cards_sections + ' row m-0 d-flex align-items-center pl-md-3 pr-md-3 px-1025-1 '}>
139
+ {sectionproperties.sectiontitleshow == 'Show' && (
140
+ <div
141
+ class="col-lg-12 p-0 d-flex d-sm-none align-items-center"
142
+ style={{
143
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
144
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
145
+ }}
146
+ >
147
+ {SectionTitle()}
148
+ </div>
149
+ )}
150
+ {sectionproperties.sectiontitleshow == 'Show' && (
151
+ <div
152
+ class="col-lg-12 p-0 d-none d-sm-flex align-items-center justify-content-start"
153
+ style={{
154
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
155
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
156
+ }}
157
+ >
158
+ {SectionTitle()}
159
+ </div>
160
+ )}
161
+ {sectionproperties.prodCatShow == 'Show' && (
162
+ <div
163
+ class="col-lg-12 p-0 d-flex d-sm-none align-items-center"
164
+ style={{
165
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
166
+ fontSize: sectionproperties.prodCatFontSize + 'px',
167
+ }}
168
+ >
169
+ {Description()}
170
+ </div>
171
+ )}
172
+ {sectionproperties.prodCatShow == 'Show' && (
173
+ <div
174
+ class="col-lg-12 p-0 d-none d-sm-flex align-items-center"
175
+ style={{
176
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
177
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px',
178
+ }}
179
+ >
180
+ {Description()}
181
+ </div>
182
+ )}
183
+ {sectionproperties.showfooteremail == 'Show' && (
184
+ <div class="col-lg-3 col-md-6 col-sm-12 p-0 allcentered mb-md-5">
185
+ <p
186
+ class={section_styles.storeinfo + ' m-0 p-0 allcentered flex-column '}
187
+ onClick={() => {
188
+ window.open('mailto:' + authdetailsContext?.instinfo?.contactinfo?.email, '_self');
189
+ }}
190
+ >
191
+ <span class={section_styles.iconContainer + ' storeinfoicon '}>
192
+ <i class="h-100 allcentered">
193
+ <AiOutlineMail size={sectionproperties.iconcontainer_iconfontsize} />
194
+ </i>
195
+ </span>
196
+ <span class={section_styles.storeinfotitle} style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}>
197
+ {langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar}
198
+ </span>
199
+ <span class="storeinfo">{authdetailsContext?.instinfo?.contactinfo?.email}</span>
200
+ </p>
201
+ </div>
202
+ )}
203
+ {sectionproperties.showfooterphonenumber == 'Show' && (
204
+ <div class="col-lg-3 col-md-6 col-sm-12 p-0 allcentered mb-md-5">
205
+ <p
206
+ class={section_styles.storeinfo + ' m-0 p-0 allcentered flex-column '}
207
+ onClick={() => {
208
+ window.open('tel:' + authdetailsContext?.CuContactphonenumber, '_blank');
209
+ }}
210
+ >
211
+ <span class={section_styles.iconContainer + ' allcentered storeinfoicon '}>
212
+ <i class="h-100 allcentered">
213
+ <FiPhoneCall size={sectionproperties.iconcontainer_iconfontsize} />
214
+ </i>
215
+ </span>
216
+ <span class={section_styles.storeinfotitle}>{langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar}</span>
217
+ <span class="storeinfo allcentered">{authdetailsContext?.CuContactphonenumber}</span>
218
+ </p>
219
+ </div>
220
+ )}
221
+ {authdetailsContext?.instinfo?.whatsappnumber != null && sectionproperties.showwhatsapp == 'Show' && (
222
+ <div class="col-lg-3 col-md-6 col-sm-12 p-0 allcentered mb-md-5 ">
223
+ <p
224
+ class={section_styles.storeinfo + ' m-0 p-0 allcentered flex-column '}
225
+ onClick={() => {
226
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
227
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
228
+ }
229
+ }}
230
+ >
231
+ <span class={section_styles.iconContainer + ' storeinfoicon '}>
232
+ <i class="h-100 allcentered">
233
+ <FaWhatsapp size={parseInt(sectionproperties.iconcontainer_iconfontsize) + 3} />
234
+ </i>
235
+ </span>
236
+ <span class={section_styles.storeinfotitle} style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}>
237
+ {langdetect == 'en' ? sectionproperties.whatsapptitle_en : sectionproperties.whatsapptitle_ar}
238
+ </span>
239
+ <span class="storeinfo">{authdetailsContext?.instinfo?.whatsappnumber}</span>
240
+ </p>
241
+ </div>
242
+ )}
243
+ {sectionproperties.showfooteraddress == 'Show' && (
244
+ <div class="col-lg-3 col-md-6 col-sm-12 p-0 allcentered mb-md-5 ">
245
+ <p
246
+ class={section_styles.storeinfo + ' m-0 p-0 allcentered flex-column '}
247
+ onClick={() => {
248
+ window.open(authdetailsContext?.instinfo?.googlemapslink);
249
+ }}
250
+ >
251
+ <span class={section_styles.iconContainer + ' storeinfoicon '}>
252
+ <i class="h-100 allcentered">
253
+ <HiOutlineLocationMarker size={parseInt(sectionproperties.iconcontainer_iconfontsize) + 3} />
254
+ </i>
255
+ </span>
256
+ <span class={section_styles.storeinfotitle} style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}>
257
+ {langdetect == 'en' ? sectionproperties.addresstitle_en : sectionproperties.addresstitle_ar}
258
+ </span>
259
+ <span class="storeinfo">{authdetailsContext?.instinfo?.address_en}</span>
260
+ </p>
261
+ </div>
262
+ )}
263
+ </div>
264
+ );
265
+ };
266
+ export default HorizontalContactUsSection;