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 { IKImage } from 'imagekitio-react';
4
+ import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
5
+
6
+ import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
7
+ import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
8
+ import { AiOutlineMail } from '@react-icons/all-files/ai/AiOutlineMail';
9
+ import { AiOutlinePhone } from '@react-icons/all-files/ai/AiOutlinePhone';
10
+ import { GoLocation } from '@react-icons/all-files/go/GoLocation';
11
+ import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
12
+
13
+ const FooterWithThreeColumns = (props) => {
14
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
15
+ const lang = props.actions.lang;
16
+ const langdetect = props.actions.langdetect;
17
+ const routingcountext = props.actions.routingcountext;
18
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
19
+ const authdetailsContext = props.actions.authdetailsContext;
20
+ const templateproperties_context = props.actions.templateproperties_context;
21
+ const templatepropcontext = props.actions.templatepropcontext;
22
+ const history = props.actions.history;
23
+ const [sectionproperties, setsectionproperties] = useState('');
24
+ useEffect(() => {
25
+ if (props.srcfrom == 'addsectionform') {
26
+ var secpropobj = {};
27
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
28
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
29
+ });
30
+ setsectionproperties({ ...secpropobj });
31
+ } else {
32
+ var secpropobj = {};
33
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
34
+ if (sectionitem.sectionid == props.sectionidprops) {
35
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
36
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
37
+ });
38
+ }
39
+ });
40
+ setsectionproperties({ ...secpropobj });
41
+ }
42
+ }, [StatePagePropertiesContext]);
43
+
44
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
45
+ useEffect(() => {
46
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
47
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
48
+ if (Array.isArray(logoarrayofobjectsparsed)) {
49
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
50
+ }
51
+ }
52
+ }, [templateproperties_context]);
53
+
54
+ const [navpages, setnavpages] = useState([]);
55
+ useEffect(() => {
56
+ var tempnavpages = [...navpages];
57
+ templatepropcontext.pagesnprop.forEach(function (item, index) {
58
+ if (item.isnavigation == 1 && item.isactive == 1) {
59
+ tempnavpages.push(item);
60
+ }
61
+ });
62
+ setnavpages([...tempnavpages]);
63
+ }, []);
64
+
65
+ const footerStyles = {
66
+ footerContainer: css({
67
+ background: sectionproperties.footerbgcolor,
68
+ paddingTop: sectionproperties.footer_paddingTop + 'px',
69
+ paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
70
+ paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
71
+ paddingBottom: sectionproperties.footer_paddingBottom + 'px',
72
+ width: '100vw',
73
+ }),
74
+ footerlogo: css({
75
+ width: sectionproperties.logo_width + 'px',
76
+ height: sectionproperties.logo_height + 'px',
77
+ position: 'relative',
78
+ }),
79
+ footertitlestyles: css({
80
+ textTransform: sectionproperties.footertitle_texttransform,
81
+ fontSize: sectionproperties.footertitle__fontsize + 'px',
82
+ fontWeight: sectionproperties.footertitle__fontweight,
83
+ color: sectionproperties.footertitlecolor,
84
+ }),
85
+ facebook_btn: css({
86
+ background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
87
+ width: sectionproperties.facebkbtnnWidth + 'px',
88
+ height: sectionproperties.facebkbtnnHeight + 'px',
89
+ borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
90
+ color: sectionproperties.facebkbtnnTextcolor,
91
+ border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
92
+ cursor: 'pointer',
93
+ transition: '.3s',
94
+ ':hover': {
95
+ background: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColoronhover,
96
+ color: sectionproperties.facebkbtnnTextcoloronhover,
97
+ },
98
+ }),
99
+ youtube_btn: css({
100
+ cursor: 'pointer',
101
+ background: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
102
+ width: sectionproperties.youtubebtnWidth + 'px',
103
+ height: sectionproperties.youtubebtnHeight + 'px',
104
+ borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
105
+ color: sectionproperties.youtubebtnTextcolor,
106
+ border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
107
+ transition: '.3s',
108
+ ':hover': {
109
+ background: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
110
+ color: sectionproperties.youtubebtnTextcoloronhover,
111
+ },
112
+ }),
113
+ instgram_btn: css({
114
+ cursor: 'pointer',
115
+ background: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
116
+ width: sectionproperties.instgrambtnWidth + 'px',
117
+ height: sectionproperties.instgrambtnHeight + 'px',
118
+ borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
119
+ color: sectionproperties.instgrambtnTextcolor,
120
+ border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
121
+ transition: '.3s',
122
+ ':hover': {
123
+ background: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
124
+ color: sectionproperties.instgrambtnTextcoloronhover,
125
+ },
126
+ }),
127
+ footersubtitlestyles: css({
128
+ textTransform: sectionproperties.footersubtitle_texttransform,
129
+ fontSize: sectionproperties.footersubtitle__fontsize + 'px',
130
+ fontWeight: sectionproperties.footersubtitle__fontweight,
131
+ color: sectionproperties.footersubtitle_textColor,
132
+ cursor: 'pointer',
133
+ transition: '.3s',
134
+ ':hover': {
135
+ color: sectionproperties.footersubtitle_textColoronhover,
136
+ },
137
+ }),
138
+ footerinformationstyles: css({
139
+ textTransform: sectionproperties.footerinfotext_textTransform,
140
+ fontSize: sectionproperties.footerinfotext_fontsize + 'px',
141
+ fontWeight: sectionproperties.footerinfotext_fontweight,
142
+ color: sectionproperties.footerinfotext_color,
143
+ ':hover .storeinfotext': {
144
+ transition: '.3s',
145
+ color: sectionproperties.footerinfotext_coloronhover,
146
+ },
147
+ }),
148
+ footeraddress: css({
149
+ textTransform: sectionproperties.footeraddress_texttransform,
150
+ fontSize: sectionproperties.footeraddress__fontsize + 'px',
151
+ fontWeight: sectionproperties.footeraddress__fontweight,
152
+ color: sectionproperties.footeraddress_textColor,
153
+ ':hover': {
154
+ color: sectionproperties.footersubtitle_textColoronhover,
155
+ },
156
+ }),
157
+ payimgcont: css({
158
+ marginLeft: '10px',
159
+ marginRight: '10px',
160
+ }),
161
+ payimg: css({
162
+ width: '100%',
163
+ height: '100%',
164
+ objectFit: 'contain',
165
+ }),
166
+ divider: css({
167
+ height: sectionproperties.vl_height + 'px',
168
+ width: sectionproperties.vl_width + '%',
169
+ backgroundColor: sectionproperties.vl_bg,
170
+ marginBottom: sectionproperties.divider_mb + 'px',
171
+ marginTop: sectionproperties.divider_mt + 'px',
172
+ }),
173
+ };
174
+
175
+ return (
176
+ <footer className={`${footerStyles.footerContainer}` + ' pl-md-4 pr-md-4 pl-sm-4 pr-sm-4 '}>
177
+ <div className="row w-100 m-0 align-items-start pl-md-3 pr-md-3">
178
+ <div className="col-lg-3 col-md-6 col-sm-12 p-0 align-items-center justify-content-start mb-md-3 mb-sm-3">
179
+ <div className={`${footerStyles.footerlogo}` + ' d-flex flex-column align-items-center '}>
180
+ <IKImage
181
+ urlEndpoint={IKurlEndpoint}
182
+ publicKey={IKpublicKey}
183
+ path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
184
+ style={{
185
+ maxWidth: '100%',
186
+ maxHeight: '100%',
187
+ }}
188
+ />
189
+ </div>
190
+ </div>
191
+ <div className="col-lg-3 col-md-6 col-sm-12 p-0 align-items-center justify-content-start mb-md-3 mb-sm-3">
192
+ <div className={`${footerStyles.footertitlestyles}` + ' d-flex justify-content-start mb-4 '}>{lang.contactus}</div>
193
+ {sectionproperties.showfooteraddress == 'Show' && (
194
+ <div className={`${footerStyles.footerinformationstyles}` + ' col-lg-12 col-md-4 col-sm-12 p-0 d-flex justify-content-start align-items-center mb-3 '}>
195
+ <i className="h-100 d-flex justify-content-center align-items-center">
196
+ <GoLocation className={langdetect == 'en' ? 'mr-2' : 'ml-2'} size={20} />
197
+ </i>
198
+ <p className={' p-0 m-0 wordbreak '}>{authdetailsContext?.instinfo?.address_en}</p>
199
+ </div>
200
+ )}
201
+ {sectionproperties.showfooteremail == 'Show' && (
202
+ <div
203
+ className={`${footerStyles.footerinformationstyles}` + ' col-lg-12 col-md-4 col-sm-12 p-0 d-flex justify-content-start align-items-center mb-3 '}
204
+ onClick={() => {
205
+ window.open('mailto:' + authdetailsContext?.instinfo?.contactinfo?.email, '_self');
206
+ }}
207
+ style={{ cursor: 'pointer' }}
208
+ >
209
+ <i className="h-100 d-flex justify-content-center align-items-center storeinfotext">
210
+ <AiOutlineMail className={langdetect == 'en' ? 'mr-2' : 'ml-2'} size={20} />
211
+ </i>
212
+ <p className={' p-0 m-0 wordbreak text-transform-none storeinfotext '}>{authdetailsContext?.instinfo?.contactinfo?.email}</p>
213
+ </div>
214
+ )}
215
+ {sectionproperties.showfooterphonenumber == 'Show' && (
216
+ <div
217
+ className={`${footerStyles.footerinformationstyles}` + ' col-lg-12 col-md-4 col-sm-12 p-0 d-flex justify-content-start align-items-center mb-md-3 cursor-pointer '}
218
+ onClick={() => {
219
+ window.open('tel:' + authdetailsContext?.CuContactphonenumber, '_self');
220
+ }}
221
+ >
222
+ <i className="h-100 d-flex justify-content-center align-items-center storeinfotext">
223
+ <AiOutlinePhone className={langdetect == 'en' ? 'mr-2' : 'ml-2'} size={20} />
224
+ </i>
225
+ <p className={' p-0 m-0 wordbreak storeinfotext '}>{authdetailsContext?.CuContactphonenumber}</p>
226
+ </div>
227
+ )}
228
+ </div>
229
+ <div className="col-lg-3 col-md-6 col-sm-12 p-0 align-items-center justify-content-start mb-sm-3">
230
+ <div className={`${footerStyles.footertitlestyles}` + ' d-flex justify-content-start mb-4 '}>{lang.usefullinks}</div>
231
+ {sectionproperties.showhidemainpages == 'Show' && (
232
+ <div className="col-lg-3 col-md-6 col-sm-12 p-0">
233
+ <div className="row m-0 w-100 d-flex align-items-center justify-content-start">
234
+ {navpages.map((item, index) => {
235
+ var temp = 0;
236
+ temp = navpages.length / 2;
237
+ if (index < temp) {
238
+ return (
239
+ <div className="col-lg-12 p-0">
240
+ <div
241
+ onClick={() => {
242
+ history.push(item.navigationroute);
243
+ }}
244
+ >
245
+ <p className={`${footerStyles.footersubtitlestyles}` + ' wordbreak '}>{langdetect == 'en' ? item.pagename : item.pagename_ar}</p>
246
+ </div>
247
+ </div>
248
+ );
249
+ }
250
+ // }
251
+ })}
252
+ </div>
253
+ </div>
254
+ )}
255
+ </div>
256
+ <div className="col-lg-3 col-md-6 col-sm-12 p-0 align-items-center">
257
+ <div className={`${footerStyles.footertitlestyles}` + ' d-flex justify-content-start mb-4 '}>{lang.openinghours}</div>
258
+ {sectionproperties.showopeninghours == 'Show' && (
259
+ <div className="col-lg-12 col-md-12 col-sm-12 p-0 p-md-0">
260
+ <div className="row m-0 w-100 mt-3 mb-3">
261
+ <div className={' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + `${footerStyles.footerinformationstyles}`}> Monday-Friday</div>
262
+ <div className={' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + `${footerStyles.footerinformationstyles}`}> 08.00 am - 10.00 pm</div>
263
+ </div>
264
+ <div className="row m-0 w-100 mb-3">
265
+ <div className={' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + `${footerStyles.footerinformationstyles}`}>Saturday</div>
266
+ <div className={' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + `${footerStyles.footerinformationstyles}`}>OFF</div>
267
+ </div>
268
+ </div>
269
+ )}
270
+ </div>
271
+ </div>
272
+
273
+ <div className={`${footerStyles.divider}`}></div>
274
+
275
+ <div
276
+ className="row w-100 m-0 pl-md-2 pr-md-2"
277
+ style={{
278
+ paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
279
+ paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
280
+ }}
281
+ >
282
+ <div className="row m-0 mb-3 w-100 align-items-center justify-content-center">
283
+ {sectionproperties.fbbtn_show == 'Show' && (
284
+ <div className={langdetect == 'en' ? `${footerStyles.facebook_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.facebook_btn}` + ' allcentered ml-3 ml-sm-4'}>
285
+ <i className="h-100 allcentered">
286
+ <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
287
+ </i>
288
+ </div>
289
+ )}
290
+ {sectionproperties.instbtn_show == 'Show' && (
291
+ <div className={langdetect == 'en' ? `${footerStyles.instgram_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.instgram_btn}` + ' allcentered ml-3 ml-sm-4'}>
292
+ <i className="h-100 allcentered">
293
+ <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
294
+ </i>
295
+ </div>
296
+ )}
297
+ {sectionproperties.youtbtn_show == 'Show' && (
298
+ <div
299
+ className={langdetect == 'en' ? `${footerStyles.youtube_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.youtube_btn}` + ' allcentered ml-3 ml-sm-4'}
300
+ onClick={() => {
301
+ // window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.contactinfo?.mobile, '_blank');
302
+ }}
303
+ >
304
+ <i className="h-100 allcentered">
305
+ <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
306
+ </i>
307
+ </div>
308
+ )}
309
+ </div>
310
+ <div className="col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center align-items-center p-0">
311
+ {sectionproperties.storenameshow == 'Show' && (
312
+ <p
313
+ className="m-0 "
314
+ style={{
315
+ color: sectionproperties.storenamecolor,
316
+ fontSize: sectionproperties.storenamefontsize + 'px',
317
+ fontWeight: sectionproperties.storenamefontweight,
318
+ }}
319
+ >
320
+ @ {langdetect == 'en' ? authdetailsContext?.instinfo?.storename_en : authdetailsContext?.instinfo?.storename_ar}
321
+ </p>
322
+ )}
323
+ </div>
324
+ </div>
325
+ </footer>
326
+ );
327
+ };
328
+
329
+ export default FooterWithThreeColumns;
@@ -0,0 +1,274 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import { IKImage } from 'imagekitio-react';
4
+ import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
5
+
6
+ import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
7
+ import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
8
+ import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
9
+ import { AiOutlinePhone } from '@react-icons/all-files/ai/AiOutlinePhone';
10
+
11
+ const Simplefooter = (props) => {
12
+ const [sectionproperties, setsectionproperties] = useState('');
13
+ const [arrayofobjectimagesonly, setarrayofobjectimagesonly] = useState([]);
14
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
15
+ const history = props.actions.history;
16
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
17
+ const lang = props.actions.lang;
18
+ const langdetect = props.actions.langdetect;
19
+ const routingcountext = props.actions.routingcountext;
20
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
21
+ const authdetailsContext = props.actions.authdetailsContext;
22
+ const templateproperties_context = props.actions.templateproperties_context;
23
+ const templatepropcontext = props.actions.templatepropcontext;
24
+ useEffect(() => {
25
+ if (props.srcfrom == 'addsectionform') {
26
+ var secpropobj = {};
27
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
28
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
29
+ });
30
+ setsectionproperties({ ...secpropobj });
31
+ } else {
32
+ var secpropobj = {};
33
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
34
+ if (sectionitem.sectionid == props.sectionidprops) {
35
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
36
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
37
+ });
38
+ }
39
+ });
40
+ setsectionproperties({ ...secpropobj });
41
+ }
42
+ }, [StatePagePropertiesContext]);
43
+ useEffect(() => {
44
+ if (sectionproperties.length != 0 && sectionproperties.arrayofobjectimagesonly != undefined) {
45
+ var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
46
+ if (Array.isArray(arrayofobjectimagesonlyparsed)) {
47
+ setarrayofobjectimagesonly([...arrayofobjectimagesonlyparsed]);
48
+ }
49
+ }
50
+ }, [sectionproperties]);
51
+ useEffect(() => {
52
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
53
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
54
+ if (Array.isArray(logoarrayofobjectsparsed)) {
55
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
56
+ }
57
+ }
58
+ }, [templateproperties_context]);
59
+ const footerStyles = {
60
+ divider: css({
61
+ height: sectionproperties.vl_height + 'px',
62
+ width: sectionproperties.vl_width + '%',
63
+ backgroundColor: sectionproperties.vl_bg,
64
+ marginBottom: sectionproperties.divider_mb + 'px',
65
+ marginTop: sectionproperties.divider_mt + 'px',
66
+ }),
67
+ footerContainer: css({
68
+ position: 'relative',
69
+ background: sectionproperties.footerbgcolor,
70
+ paddingBottom: sectionproperties.footer_paddingBottom + 'px',
71
+ paddingTop: sectionproperties.footer_paddingTop + 'px',
72
+ paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
73
+ paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
74
+ }),
75
+ footerlogo: css({
76
+ width: sectionproperties.logo_width + 'px',
77
+ height: sectionproperties.logo_height + 'px',
78
+ position: 'relative',
79
+ }),
80
+ facebook_btn: css({
81
+ cursor: 'pointer',
82
+ background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
83
+ width: sectionproperties.facebkbtnnWidth + 'px',
84
+ height: sectionproperties.facebkbtnnHeight + 'px',
85
+ borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
86
+ color: sectionproperties.facebkbtnnTextcolor,
87
+ border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
88
+ transition: '.3s',
89
+ ':hover': {
90
+ background: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'Transparent' : sectionproperties.facebkbtnnbgColoronhover,
91
+ color: sectionproperties.facebkbtnnTextcoloronhover,
92
+ borderColor: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? sectionproperties.facebkbtnnTextcoloronhover : sectionproperties.facebkbtnnbgColoronhover,
93
+ },
94
+ }),
95
+ youtube_btn: css({
96
+ cursor: 'pointer',
97
+ background: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
98
+ width: sectionproperties.youtubebtnWidth + 'px',
99
+ height: sectionproperties.youtubebtnHeight + 'px',
100
+ borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
101
+ color: sectionproperties.youtubebtnTextcolor,
102
+ border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
103
+ transition: '.3s',
104
+ ':hover': {
105
+ background: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
106
+ color: sectionproperties.youtubebtnTextcoloronhover,
107
+ borderColor: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.youtubebtnTextcoloronhover : sectionproperties.youtubebtnbgColoronhover,
108
+ },
109
+ }),
110
+ instgram_btn: css({
111
+ cursor: 'pointer',
112
+ background: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
113
+ width: sectionproperties.instgrambtnWidth + 'px',
114
+ height: sectionproperties.instgrambtnHeight + 'px',
115
+ borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
116
+ color: sectionproperties.instgrambtnTextcolor,
117
+ border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
118
+ transition: '.3s',
119
+ ':hover': {
120
+ background: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
121
+ color: sectionproperties.instgrambtnTextcoloronhover,
122
+ borderColor: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.instgrambtnTextcoloronhover : sectionproperties.instgrambtnbgColoronhover,
123
+ },
124
+ }),
125
+ footerinformationstyles: css({
126
+ textTransform: sectionproperties.footerinfotext_textTransform,
127
+ fontSize: sectionproperties.footerinfotext_fontsize + 'px',
128
+ fontWeight: sectionproperties.footerinfotext_fontweight,
129
+ color: sectionproperties.footerinfotext_color,
130
+ }),
131
+ };
132
+ return (
133
+ <div className={`${footerStyles.footerContainer}` + ' row m-0 w-100 d-flex justify-content-center pl-md-4 pr-md-4 pl-sm-2 pr-sm-2 '}>
134
+ <div
135
+ className="col-lg-12 p-0 allcentered"
136
+ style={{
137
+ paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
138
+ paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
139
+ }}
140
+ >
141
+ <div className={`${footerStyles.divider}`}></div>
142
+ </div>
143
+ <div className="col-lg-4 col-md-12 col-sm-12 d-flex align-items-center justify-content-start justify-content-md-center p-sm-0">
144
+ <div className={`${footerStyles.footerlogo}` + ' d-flex flex-column align-items-center justify-content-start '}>
145
+ <IKImage
146
+ urlEndpoint={IKurlEndpoint}
147
+ publicKey={IKpublicKey}
148
+ path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
149
+ style={{
150
+ maxWidth: '100%',
151
+ maxHeight: '100%',
152
+ }}
153
+ />
154
+ </div>
155
+ </div>
156
+ <div className="col-lg-4 col-md-12 col-sm-12 d-flex d-md-none align-items-center justify-content-start p-sm-0">
157
+ <div className="row m-0 w-100 allcentered">
158
+ {sectionproperties.fbbtn_show == 'Show' && (
159
+ <div
160
+ className={langdetect == 'en' ? `${footerStyles.facebook_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.facebook_btn}` + ' allcentered ml-3 ml-sm-4 '}
161
+ onClick={() => {
162
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
163
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
164
+ }
165
+ }}
166
+ >
167
+ <i className="h-100 allcentered">
168
+ <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
169
+ </i>
170
+ </div>
171
+ )}
172
+ {sectionproperties.instbtn_show == 'Show' && (
173
+ <div
174
+ className={langdetect == 'en' ? `${footerStyles.instgram_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.instgram_btn}` + ' allcentered ml-3 ml-sm-4 '}
175
+ onClick={() => {
176
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
177
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
178
+ }
179
+ }}
180
+ >
181
+ <i className="h-100 allcentered">
182
+ <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
183
+ </i>
184
+ </div>
185
+ )}
186
+ {sectionproperties.youtbtn_show == 'Show' && (
187
+ <div
188
+ className={langdetect == 'en' ? `${footerStyles.youtube_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.youtube_btn}` + ' allcentered ml-3 ml-sm-4 '}
189
+ onClick={() => {
190
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
191
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
192
+ }
193
+ }}
194
+ >
195
+ <i className="h-100 allcentered">
196
+ <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
197
+ </i>
198
+ </div>
199
+ )}
200
+ </div>
201
+ </div>
202
+ <div
203
+ className="col-lg-4 mt-4 pl-md-2 pr-md-2 allcentered"
204
+ style={{
205
+ paddingLeft: langdetect == 'en' ? '80px' : 0,
206
+ paddingRight: langdetect == 'en' ? 0 : '80px',
207
+ }}
208
+ >
209
+ {sectionproperties.showfooterphonenumber == 'Show' && (
210
+ <div
211
+ className={`${footerStyles.footerinformationstyles}` + ' col-lg-12 col-md-4 col-sm-12 p-0 allcentered mb-md-3'}
212
+ onClick={() => {
213
+ window.open('tel:' + authdetailsContext?.CuContactphonenumber, '_self');
214
+ }}
215
+ style={{ cursor: 'pointer' }}
216
+ >
217
+ <i className="h-100 d-flex justify-content-center align-items-center">
218
+ <AiOutlinePhone className={langdetect == 'en' ? 'mr-2' : 'ml-2'} size={20} />
219
+ </i>
220
+ <p className={' p-0 m-0 wordbreak '}>{authdetailsContext?.CuContactphonenumber}</p>
221
+ </div>
222
+ )}
223
+ </div>
224
+ <div className="col-lg-4 col-md-12 col-sm-12 d-none d-md-flex align-items-center justify-content-start p-sm-0">
225
+ <div className="row m-0 w-100 allcentered">
226
+ {sectionproperties.fbbtn_show == 'Show' && (
227
+ <div
228
+ className={langdetect == 'en' ? `${footerStyles.facebook_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.facebook_btn}` + ' allcentered ml-3 ml-sm-4 '}
229
+ onClick={() => {
230
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
231
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
232
+ }
233
+ }}
234
+ >
235
+ <i className="h-100 allcentered">
236
+ <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
237
+ </i>
238
+ </div>
239
+ )}
240
+ {sectionproperties.instbtn_show == 'Show' && (
241
+ <div
242
+ className={langdetect == 'en' ? `${footerStyles.instgram_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.instgram_btn}` + ' allcentered ml-3 ml-sm-4 '}
243
+ onClick={() => {
244
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
245
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
246
+ }
247
+ }}
248
+ >
249
+ <i className="h-100 allcentered">
250
+ <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
251
+ </i>
252
+ </div>
253
+ )}
254
+ {sectionproperties.youtbtn_show == 'Show' && (
255
+ <div
256
+ className={langdetect == 'en' ? `${footerStyles.youtube_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.youtube_btn}` + ' allcentered ml-3 ml-sm-4 '}
257
+ onClick={() => {
258
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
259
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
260
+ }
261
+ }}
262
+ >
263
+ <i className="h-100 allcentered">
264
+ <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
265
+ </i>
266
+ </div>
267
+ )}
268
+ </div>
269
+ </div>
270
+ </div>
271
+ );
272
+ };
273
+
274
+ export default Simplefooter;