tabexseriescomponents 0.0.64 → 0.0.66

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 (178) hide show
  1. package/dist/index.cjs.js +25023 -16634
  2. package/dist/index.esm.js +25033 -16645
  3. package/dist/index.umd.js +24824 -16437
  4. package/package.json +1 -1
  5. package/src1-10/Contexts/LanguageContext.jsx +347 -0
  6. package/src1-10/Contexts/ProductsCardsSectionContext.jsx +28 -0
  7. package/src1-10/StylesJS/Customstyles.js +235 -0
  8. package/src1-10/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +205 -0
  9. package/src1-10/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +239 -0
  10. package/src1-10/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +198 -0
  11. package/src1-10/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +169 -0
  12. package/src1-10/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +180 -0
  13. package/src1-10/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +162 -0
  14. package/src1-10/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
  15. package/src1-10/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +149 -0
  16. package/src1-10/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +271 -0
  17. package/src1-10/TabexComponents/Cards/MenuCard/MenuCard.jsx +546 -0
  18. package/src1-10/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +474 -0
  19. package/src1-10/TabexComponents/Cards/Productcard6/Productcard6.jsx +290 -0
  20. package/src1-10/TabexComponents/Cards/Productcard7/Productcard7.jsx +278 -0
  21. package/src1-10/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +293 -0
  22. package/src1-10/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +278 -0
  23. package/src1-10/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +312 -0
  24. package/src1-10/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +279 -0
  25. package/src1-10/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +293 -0
  26. package/src1-10/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +456 -0
  27. package/src1-10/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +272 -0
  28. package/src1-10/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  29. package/src1-10/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +127 -0
  30. package/src1-10/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +126 -0
  31. package/src1-10/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +292 -0
  32. package/src1-10/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +281 -0
  33. package/src1-10/TabexComponents/Footer/Footer1/Footer1.jsx +418 -0
  34. package/src1-10/TabexComponents/Footer/Footer2/Footer2.jsx +381 -0
  35. package/src1-10/TabexComponents/Footer/Footer3/Footer3.jsx +316 -0
  36. package/src1-10/TabexComponents/Footer/Footer4/Footer4.jsx +437 -0
  37. package/src1-10/TabexComponents/Footer/Footer5/Footer5.jsx +488 -0
  38. package/src1-10/TabexComponents/Footer/Footer6/Footer6.jsx +286 -0
  39. package/src1-10/TabexComponents/Footer/Footer7/Footer7.jsx +370 -0
  40. package/src1-10/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +231 -0
  41. package/src1-10/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  42. package/src1-10/TabexComponents/Generalfiles/images/noimage.png +0 -0
  43. package/src1-10/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  44. package/src1-10/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  45. package/src1-10/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  46. package/src1-10/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  47. package/src1-10/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  48. package/src1-10/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  49. package/src1-10/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  50. package/src1-10/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  51. package/src1-10/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  52. package/src1-10/TabexComponents/Generalfiles/images/usflag.png +0 -0
  53. package/src1-10/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  54. package/src1-10/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +722 -0
  55. package/src1-10/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +681 -0
  56. package/src1-10/TabexComponents/Headers/Header4/Header4.jsx +614 -0
  57. package/src1-10/TabexComponents/Headers/Header6/Header6.jsx +666 -0
  58. package/src1-10/TabexComponents/Headers/Header8/Header8.jsx +888 -0
  59. package/src1-10/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +710 -0
  60. package/src1-10/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +769 -0
  61. package/src1-10/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +666 -0
  62. package/src1-10/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +940 -0
  63. package/src1-10/TabexComponents/Headers/Modernheader/Modernheader.jsx +714 -0
  64. package/src1-10/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +833 -0
  65. package/src1-10/TabexComponents/Headers/Subheader/Subheader.jsx +239 -0
  66. package/src1-10/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +312 -0
  67. package/src1-10/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +278 -0
  68. package/src1-10/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +129 -0
  69. package/src1-10/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +153 -0
  70. package/src1-10/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +295 -0
  71. package/src1-10/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +409 -0
  72. package/src1-10/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +793 -0
  73. package/src1-10/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +486 -0
  74. package/src1-10/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +888 -0
  75. package/src1-10/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +419 -0
  76. package/src1-10/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +512 -0
  77. package/src1-10/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +281 -0
  78. package/src1-10/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +166 -0
  79. package/src1-10/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +152 -0
  80. package/src1-10/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +139 -0
  81. package/src1-10/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +146 -0
  82. package/src1-10/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +209 -0
  83. package/src1-10/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +145 -0
  84. package/src1-10/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +252 -0
  85. package/src1-10/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +175 -0
  86. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +154 -0
  87. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +193 -0
  88. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +197 -0
  89. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +91 -0
  90. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +309 -0
  91. package/src1-10/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +260 -0
  92. package/src1-10/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +459 -0
  93. package/src1-10/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +216 -0
  94. package/src1-10/TabexComponents/StaticPages/Checkout/Checkout.jsx +1220 -0
  95. package/src1-10/TabexComponents/StaticPages/Filter/Filter.jsx +542 -0
  96. package/src1-10/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +51 -0
  97. package/src1-10/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  98. package/src1-10/TabexComponents/StaticPages/Login/Login.jsx +299 -0
  99. package/src1-10/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +192 -0
  100. package/src1-10/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1271 -0
  101. package/src1-10/TabexComponents/StaticPages/Policies/Policies.jsx +353 -0
  102. package/src1-10/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1456 -0
  103. package/src1-10/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +209 -0
  104. package/src1-10/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +776 -0
  105. package/src1-10/TabexComponents/StaticPages/Signup/Signup.jsx +157 -0
  106. package/src1-10/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +285 -0
  107. package/src1-10/TabexComponents/StaticPages/Viewcart/Viewcart.js +1090 -0
  108. package/src1-10/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +606 -0
  109. package/src1-10/assets/images/cod.png +0 -0
  110. package/src1-10/assets/images/egyptflag.png +0 -0
  111. package/src1-10/assets/images/fawry.png +0 -0
  112. package/src1-10/assets/images/payment.png +0 -0
  113. package/src1-10/assets/images/paymob.png +0 -0
  114. package/src1-10/assets/images/paypal.png +0 -0
  115. package/src1-10/assets/images/shoppingcart.png +0 -0
  116. package/src1-10/assets/images/usflag.png +0 -0
  117. package/src1-10/assets/images/visa.png +0 -0
  118. package/src1-10/assets/images/whatsapp.png +0 -0
  119. package/src1-10/button.jsx +40 -0
  120. package/src1-10/index.jsx +179 -0
  121. package/src1-10/styles/Home.module.css +129 -0
  122. package/src1-10/styles/cards/Categorcycard_fullimage.module.css +10 -0
  123. package/src1-10/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  124. package/src1-10/styles/cards/Categorycard_withshapes.module.css +189 -0
  125. package/src1-10/styles/cards/Productcard6.module.css +9 -0
  126. package/src1-10/styles/cards/Productcard_with_circularbg.module.css +137 -0
  127. package/src1-10/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  128. package/src1-10/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  129. package/src1-10/styles/cards/categorycard.module.css +102 -0
  130. package/src1-10/styles/cards/categorycard3.module.css +51 -0
  131. package/src1-10/styles/cards/categorycardwithtext.module.css +40 -0
  132. package/src1-10/styles/cards/productcard_animatedbuttons.module.css +104 -0
  133. package/src1-10/styles/cards/productcard_with_textonhover.module.css +12 -0
  134. package/src1-10/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  135. package/src1-10/styles/general/bootstrap.css +4415 -0
  136. package/src1-10/styles/general/dropdown.css +199 -0
  137. package/src1-10/styles/general/editorbardropdown.module.css +94 -0
  138. package/src1-10/styles/general/filter.module.css +108 -0
  139. package/src1-10/styles/general/form.module.css +273 -0
  140. package/src1-10/styles/general/general.module.css +861 -0
  141. package/src1-10/styles/general/image-gallery.css +481 -0
  142. package/src1-10/styles/general/react-accessible-accordion.module.css +52 -0
  143. package/src1-10/styles/general/react-phone-input-2.module.css +927 -0
  144. package/src1-10/styles/general/scrollbtn.module.css +22 -0
  145. package/src1-10/styles/general/slick.module.css +166 -0
  146. package/src1-10/styles/general/tabs.module.css +110 -0
  147. package/src1-10/styles/general/workplaceeditor.module.css +328 -0
  148. package/src1-10/styles/globals.css +26 -0
  149. package/src1-10/styles/headers/Allinoneheader.module.css +91 -0
  150. package/src1-10/styles/headers/Header7.module.css +50 -0
  151. package/src1-10/styles/headers/Header_threesectionslogocentered.module.css +97 -0
  152. package/src1-10/styles/headers/Sideheader.module.css +108 -0
  153. package/src1-10/styles/headers/classicheaderstyles.module.css +16 -0
  154. package/src1-10/styles/headers/dropdown.css +0 -0
  155. package/src1-10/styles/headers/header4.module.css +175 -0
  156. package/src1-10/styles/headers/header5.module.css +30 -0
  157. package/src1-10/styles/headers/header6.module.css +117 -0
  158. package/src1-10/styles/headers/header_contactinfo.module.css +78 -0
  159. package/src1-10/styles/headers/headerresturant.module.css +89 -0
  160. package/src1-10/styles/headers/headerstyles.module.css +24 -0
  161. package/src1-10/styles/headers/modernheader.module.css +78 -0
  162. package/src1-10/styles/headers/subheader.module.css +114 -0
  163. package/src1-10/styles/sections/Backgroundimage1.module.css +17 -0
  164. package/src1-10/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  165. package/src1-10/styles/sections/Section_with_rightbgcont.module.css +49 -0
  166. package/src1-10/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  167. package/src1-10/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  168. package/src1-10/styles/staticpages/accordion.module.css +9 -0
  169. package/src1-10/styles/staticpages/cart.module.css +108 -0
  170. package/src1-10/styles/staticpages/dropdown.css +196 -0
  171. package/src1-10/styles/staticpages/filter.module.css +139 -0
  172. package/src1-10/styles/staticpages/login.module.css +146 -0
  173. package/src1-10/styles/staticpages/productinfo.module.css +54 -0
  174. package/src1-10/styles/staticpages/shop.module.css +191 -0
  175. package/src1-10/styles/staticpages/signup.module.css +206 -0
  176. package/src1-10/styles/staticpages/staticroutersidenav.module.css +129 -0
  177. package/src1-10/styles/staticpages/viewcart.module.css +129 -0
  178. package/src1-10/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,286 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import { FaFacebookF } from 'react-icons/fa';
4
+ import { BsWhatsapp, BsInfoCircle } from 'react-icons/bs';
5
+ import { IoLocationSharp } from 'react-icons/io5';
6
+ import { AiFillInstagram } from 'react-icons/ai';
7
+ import { HiOutlineClock } from 'react-icons/hi';
8
+ import { GoLocation } from 'react-icons/go';
9
+ import visa from '../../../assets/images/visa.png';
10
+ import fawry from '../../../assets/images/fawry.png';
11
+ import paypal from '../../../assets/images/paypal.png';
12
+ import paymob from '../../../assets/images/paymob.png';
13
+
14
+ const Footer6 = (props) => {
15
+ const [sectionproperties, setsectionproperties] = useState('');
16
+ const [arrayofobjectimagesonly, setarrayofobjectimagesonly] = useState([]);
17
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
18
+ const history = props.actions.history;
19
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
20
+ const lang = props.actions.lang;
21
+ const langdetect = props.actions.langdetect;
22
+ const routingcountext = props.actions.routingcountext;
23
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
24
+ const authdetailsContext = props.actions.authdetailsContext;
25
+ const templateproperties_context = props.actions.templateproperties_context;
26
+ const templatepropcontext = props.actions.templatepropcontext;
27
+
28
+ useEffect(() => {
29
+ if (props.srcfrom == 'addsectionform') {
30
+ var secpropobj = {};
31
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
32
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
33
+ });
34
+ setsectionproperties({ ...secpropobj });
35
+ } else {
36
+ var secpropobj = {};
37
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
38
+ if (sectionitem.sectionid == props.sectionidprops) {
39
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
40
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
41
+ });
42
+ }
43
+ });
44
+ setsectionproperties({ ...secpropobj });
45
+ }
46
+ }, [StatePagePropertiesContext]);
47
+ useEffect(() => {
48
+ if (sectionproperties.length != 0 && sectionproperties.arrayofobjectimagesonly != undefined) {
49
+ var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
50
+ if (Array.isArray(arrayofobjectimagesonlyparsed)) {
51
+ setarrayofobjectimagesonly([...arrayofobjectimagesonlyparsed]);
52
+ }
53
+ }
54
+ }, [sectionproperties]);
55
+ useEffect(() => {
56
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
57
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
58
+ if (Array.isArray(logoarrayofobjectsparsed)) {
59
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
60
+ }
61
+ }
62
+ }, [templateproperties_context]);
63
+ const footerStyles = {
64
+ footerContainer: css({
65
+ width: '100vw',
66
+ background: sectionproperties.footerbgcolor,
67
+ paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
68
+ paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
69
+ paddingBottom: sectionproperties.footer_paddingBottom + 'px',
70
+ paddingTop: sectionproperties.footer_paddingTop + 'px',
71
+ }),
72
+ facebook_btn: css({
73
+ cursor: 'pointer',
74
+ background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
75
+ width: sectionproperties.facebkbtnnWidth + 'px',
76
+ height: sectionproperties.facebkbtnnHeight + 'px',
77
+ borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
78
+ color: sectionproperties.facebkbtnnTextcolor,
79
+ border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
80
+ transition: '.3s',
81
+ ':hover': {
82
+ background: sectionproperties.facebkbtnntransparentbgcoloronhover == 'transparent' ? 'Transparent' : sectionproperties.facebkbtnnbgColoronhover,
83
+ borderColor: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? sectionproperties.facebkbtnnTextcoloronhover : sectionproperties.facebkbtnnbgColoronhover,
84
+ color: sectionproperties.facebkbtnnTextcoloronhover,
85
+ },
86
+ }),
87
+ youtube_btn: css({
88
+ cursor: 'pointer',
89
+ background: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
90
+ width: sectionproperties.youtubebtnWidth + 'px',
91
+ height: sectionproperties.youtubebtnHeight + 'px',
92
+ borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
93
+ color: sectionproperties.youtubebtnTextcolor,
94
+ border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
95
+ transition: '.3s',
96
+ ':hover': {
97
+ background: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
98
+ borderColor: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.youtubebtnTextcoloronhover : sectionproperties.youtubebtnbgColoronhover,
99
+ color: sectionproperties.youtubebtnTextcoloronhover,
100
+ },
101
+ }),
102
+ instgram_btn: css({
103
+ cursor: 'pointer',
104
+ background: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
105
+ width: sectionproperties.instgrambtnWidth + 'px',
106
+ height: sectionproperties.instgrambtnHeight + 'px',
107
+ borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
108
+ color: sectionproperties.instgrambtnTextcolor,
109
+ border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
110
+ transition: '.3s',
111
+ ':hover': {
112
+ background: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
113
+ borderColor: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.instgrambtnTextcoloronhover : sectionproperties.instgrambtnbgColoronhover,
114
+ color: sectionproperties.instgrambtnTextcoloronhover,
115
+ },
116
+ }),
117
+ payimgcont: css({
118
+ marginLeft: '10px',
119
+ marginRight: '10px',
120
+ }),
121
+ payimg: css({
122
+ width: '100%',
123
+ height: '100%',
124
+ objectFit: 'contain',
125
+ }),
126
+ divider: css({
127
+ width: sectionproperties.upperseparatorwidth + '%',
128
+ background: sectionproperties.upperseparatorbgcolor,
129
+ height: sectionproperties.upperseparatorheight + 'px',
130
+ }),
131
+ titlestyles: css({
132
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
133
+ color: sectionproperties.sectionTitleColor,
134
+ textTranform: sectionproperties.sectionTitleTextTransform,
135
+ fontWeight: sectionproperties.sectionTitleFontWeight,
136
+ }),
137
+ infostyles: css({
138
+ fontSize: sectionproperties.footerinfotext_fontsize + 'px',
139
+ color: sectionproperties.footerinfotext_color,
140
+ textTranform: sectionproperties.footerinfotext_textTransform,
141
+ fontWeight: sectionproperties.footerinfotext_fontweight,
142
+ }),
143
+ icon: css({
144
+ color: sectionproperties.sectionTitleColor,
145
+ }),
146
+ };
147
+ return (
148
+ <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 '}>
149
+ {sectionproperties.showfooterdescription == 'Show' && (
150
+ <div className="col-lg-3 col-md-12 col-sm-12 p-0 mb-md-3">
151
+ <div className="row m-0 w-100">
152
+ <div className="col-lg-12 d-flex justify-content-start align-items-center flex-row">
153
+ <BsInfoCircle className={footerStyles.icon} size={18} />
154
+ <p className={footerStyles.titlestyles + ' m-0 p-0 ml-2 mr-2 '}>{lang.contactus}</p>
155
+ </div>
156
+ <div
157
+ className="col-lg-12 d-flex justify-content-start align-items-center"
158
+ style={{
159
+ paddingLeft: langdetect == 'en' ? '2.5rem' : 0,
160
+ paddingRight: langdetect == 'en' ? 0 : '2.5rem',
161
+ }}
162
+ >
163
+ <p
164
+ className={footerStyles.infostyles + ' m-0 p-0 mt-2 cursor-pointer '}
165
+ onClick={() => {
166
+ window.open('tel:+' + authdetailsContext.instinfo.contactinfo.mobile, '_self');
167
+ }}
168
+ >
169
+ {authdetailsContext.instinfo.contactinfo.mobile}
170
+ </p>
171
+ </div>
172
+ <div
173
+ className="col-lg-12 d-flex justify-content-start align-items-center"
174
+ style={{
175
+ paddingLeft: langdetect == 'en' ? '2.5rem' : 0,
176
+ paddingRight: langdetect == 'en' ? 0 : '2.5rem',
177
+ }}
178
+ >
179
+ <p className={footerStyles.infostyles + ' m-0 p-0 mt-2 '}>{authdetailsContext.instinfo.contactinfo.email}</p>
180
+ </div>
181
+ </div>
182
+ </div>
183
+ )}
184
+ {sectionproperties.showfooteraddress == 'Show' && (
185
+ <div className="col-lg-3 col-md-12 col-sm-12 p-0 mb-md-3">
186
+ <div className="row m-0 w-100">
187
+ <div className="col-lg-12 d-flex justify-content-start align-items-center flex-row">
188
+ <GoLocation className={footerStyles.icon} size={18} />
189
+ <p className={footerStyles.titlestyles + ' m-0 p-0 ml-2 mr-2 '}>{lang.address}</p>
190
+ </div>
191
+ <div
192
+ className="col-lg-12 d-flex justify-content-start align-items-center flex-row"
193
+ style={{
194
+ paddingLeft: langdetect == 'en' ? '2.5rem' : 0,
195
+ paddingRight: langdetect == 'en' ? 0 : '2.5rem',
196
+ }}
197
+ >
198
+ <p className={footerStyles.infostyles + ' m-0 p-0 mt-2 '}>{authdetailsContext.instinfo.address_en}</p>
199
+ </div>
200
+ </div>
201
+ </div>
202
+ )}
203
+ {sectionproperties.showopeninghours == 'Show' && (
204
+ <div className="col-lg-3 col-md-12 col-sm-12 p-0 mb-md-3">
205
+ <div className="col-lg-12 d-flex justify-content-start align-items-center flex-row">
206
+ <HiOutlineClock className={footerStyles.icon} size={23} />
207
+ <p className={footerStyles.titlestyles + ' m-0 p-0 ml-2 mr-2 '}>{lang.workinghours}</p>
208
+ </div>
209
+ <div
210
+ className="col-lg-12 d-flex justify-content-start align-items-center flex-row"
211
+ style={{
212
+ paddingLeft: langdetect == 'en' ? '2.5rem' : 0,
213
+ paddingRight: langdetect == 'en' ? 0 : '2.5rem',
214
+ }}
215
+ >
216
+ <p className={footerStyles.infostyles + ' m-0 p-0 mt-2 '}>Sat-Mon 12:00pm - 9:00pm</p>
217
+ </div>
218
+ </div>
219
+ )}
220
+ <div className="col-lg-3 d-flex align-items-center justify-content-center justify-content-md-start">
221
+ {sectionproperties.fbbtn_show == 'Show' && (
222
+ <div className={`${footerStyles.facebook_btn}` + ' d-flex align-items-center justify-content-center '}>
223
+ <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
224
+ </div>
225
+ )}
226
+ {sectionproperties.instbtn_show == 'Show' && (
227
+ <div className={`${footerStyles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}>
228
+ <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
229
+ </div>
230
+ )}
231
+ {sectionproperties.youtbtn_show == 'Show' && (
232
+ <div className={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center '}>
233
+ <BsWhatsapp size={sectionproperties.youtubebtniconfontsize} />
234
+ </div>
235
+ )}
236
+ </div>
237
+ {sectionproperties.showseparator == 'Show' && (
238
+ <div className="col-lg-12 p-0 mt-4 mb-4">
239
+ <div className={footerStyles.divider} />
240
+ </div>
241
+ )}
242
+ {sectionproperties.showpaymentfooter == 'Show' && (
243
+ <div className="col-lg-12 allcentered">
244
+ <div
245
+ className={`${footerStyles.payimgcont}`}
246
+ style={{
247
+ width: '50px',
248
+ height: '40px',
249
+ }}
250
+ >
251
+ <img src={visa} className={`${footerStyles.payimg}`} />
252
+ </div>
253
+ <div
254
+ className={`${footerStyles.payimgcont}`}
255
+ style={{
256
+ width: '70px',
257
+ height: '40px',
258
+ }}
259
+ >
260
+ <img src={paypal} className={`${footerStyles.payimg}`} />
261
+ </div>
262
+ <div
263
+ className={`${footerStyles.payimgcont}`}
264
+ style={{
265
+ width: '70px',
266
+ height: '40px',
267
+ }}
268
+ >
269
+ <img src={fawry} className={`${footerStyles.payimg}`} />
270
+ </div>
271
+ <div
272
+ className={`${footerStyles.payimgcont}`}
273
+ style={{
274
+ width: '75px',
275
+ height: '40px',
276
+ }}
277
+ >
278
+ <img src={paymob} className={`${footerStyles.payimg}`} />
279
+ </div>
280
+ </div>
281
+ )}
282
+ </div>
283
+ );
284
+ };
285
+
286
+ export default Footer6;
@@ -0,0 +1,370 @@
1
+ import React, { Image, useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import { FaFacebookF } from 'react-icons/fa';
4
+ import { BsWhatsapp } from 'react-icons/bs';
5
+ import { AiFillInstagram } from 'react-icons/ai';
6
+ import { GoLocation } from 'react-icons/go';
7
+ import { AiOutlineMail, AiOutlinePhone } from 'react-icons/ai';
8
+ import { IKImage } from 'imagekitio-react';
9
+ import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
10
+
11
+ const Footer7 = (props) => {
12
+ const [sectionproperties, setsectionproperties] = useState('');
13
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
14
+ const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = 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
+
25
+ useEffect(() => {
26
+ if (props.srcfrom == 'addsectionform') {
27
+ var secpropobj = {};
28
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
29
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
30
+ });
31
+ setsectionproperties({ ...secpropobj });
32
+ } else {
33
+ var secpropobj = {};
34
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
35
+ if (sectionitem.sectionid == props.sectionidprops) {
36
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
37
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
38
+ });
39
+ }
40
+ });
41
+ setsectionproperties({ ...secpropobj });
42
+ }
43
+ }, [StatePagePropertiesContext]);
44
+ useEffect(() => {
45
+ if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
46
+ var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
47
+ if (Array.isArray(maincontainerarrayofobjsparsed)) {
48
+ setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
49
+ }
50
+ }
51
+ }, [sectionproperties]);
52
+ useEffect(() => {
53
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
54
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
55
+ if (Array.isArray(logoarrayofobjectsparsed)) {
56
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
57
+ }
58
+ }
59
+ }, [templateproperties_context]);
60
+
61
+ const footerStyles = {
62
+ footerContainer: css({
63
+ position: 'relative',
64
+ background: sectionproperties.footerbgcolor,
65
+ paddingBottom: sectionproperties.footer_paddingBottom + 'px',
66
+ paddingTop: sectionproperties.footer_paddingTop + 'px',
67
+ paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
68
+ paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
69
+ }),
70
+ footerlogo: css({
71
+ width: sectionproperties.logo_width + 'px',
72
+ height: sectionproperties.logo_height + 'px',
73
+ position: 'relative',
74
+ }),
75
+ footertitlestyles: css({
76
+ textTransform: sectionproperties.footertitle_texttransform,
77
+ fontSize: sectionproperties.footertitle__fontsize + 'px',
78
+ fontWeight: sectionproperties.footertitle__fontweight,
79
+ color: sectionproperties.footertitlecolor,
80
+ }),
81
+ footersubtitlestyles: css({
82
+ fontSize: sectionproperties.footersubtitle__fontsize + 'px',
83
+ fontWeight: sectionproperties.footersubtitle__fontweight,
84
+ color: sectionproperties.footersubtitle_textColor,
85
+ textTransform: sectionproperties.footertitle_texttransform,
86
+ transition: '.3s',
87
+ ':hover': {
88
+ color: sectionproperties.footersubtitle_textColoronhover,
89
+ },
90
+ }),
91
+ footerinformationstyles: css({
92
+ textTransform: sectionproperties.footerinfotext_textTransform,
93
+ fontSize: sectionproperties.footerinfotext_fontsize + 'px',
94
+ fontWeight: sectionproperties.footerinfotext_fontweight,
95
+ color: sectionproperties.footerinfotext_color,
96
+ }),
97
+ facebook_btn: css({
98
+ cursor: 'pointer',
99
+ background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
100
+ width: sectionproperties.facebkbtnnWidth + 'px',
101
+ height: sectionproperties.facebkbtnnHeight + 'px',
102
+ borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
103
+ color: sectionproperties.facebkbtnnTextcolor,
104
+ border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
105
+ transition: '.3s',
106
+ ':hover': {
107
+ background: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'Transparent' : sectionproperties.facebkbtnnbgColoronhover,
108
+ color: sectionproperties.facebkbtnnTextcoloronhover,
109
+ borderColor: sectionproperties.facebkbtnnTextcoloronhover,
110
+ },
111
+ }),
112
+ youtube_btn: css({
113
+ cursor: 'pointer',
114
+ background: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
115
+ width: sectionproperties.youtubebtnWidth + 'px',
116
+ height: sectionproperties.youtubebtnHeight + 'px',
117
+ borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
118
+ color: sectionproperties.youtubebtnTextcolor,
119
+ border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
120
+ transition: '.3s',
121
+ ':hover': {
122
+ background: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
123
+ color: sectionproperties.youtubebtnTextcoloronhover,
124
+ borderColor: sectionproperties.youtubebtnTextcoloronhover,
125
+ },
126
+ }),
127
+ instgram_btn: css({
128
+ cursor: 'pointer',
129
+ background: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
130
+ width: sectionproperties.instgrambtnWidth + 'px',
131
+ height: sectionproperties.instgrambtnHeight + 'px',
132
+ borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
133
+ color: sectionproperties.instgrambtnTextcolor,
134
+ border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
135
+ transition: '.3s',
136
+ ':hover': {
137
+ background: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
138
+ color: sectionproperties.instgrambtnTextcoloronhover,
139
+ borderColor: sectionproperties.instgrambtnTextcoloronhover,
140
+ },
141
+ }),
142
+ footeraddress: css({
143
+ textTransform: sectionproperties.footeraddress_texttransform,
144
+ fontSize: sectionproperties.footeraddress__fontsize + 'px',
145
+ fontWeight: sectionproperties.footeraddress__fontweight,
146
+ color: sectionproperties.footeraddress_textColor,
147
+ ':hover': {
148
+ color: sectionproperties.footersubtitle_textColoronhover,
149
+ },
150
+ }),
151
+ imgcontainer: css({
152
+ ':before': {
153
+ width: '100%',
154
+ height: '100%',
155
+ background: 'rgba(0,0,0,0.8)',
156
+ zIndex: 1,
157
+ position: 'absolute',
158
+ content: 's',
159
+ fontSize: 0,
160
+ left: 0,
161
+ right: 0,
162
+ top: 0,
163
+ bottom: 0,
164
+ },
165
+ }),
166
+ };
167
+
168
+ return (
169
+ <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 '} style={{ position: 'relative' }}>
170
+ {maincontainerarrayofobjs.length != 0 && (
171
+ <div className={footerStyles.imgcontainer}>
172
+ <IKImage
173
+ urlEndpoint={IKurlEndpoint}
174
+ publicKey={IKpublicKey}
175
+ path={maincontainerarrayofobjs[0].back_bgimage}
176
+ style={{
177
+ height: '100%',
178
+ width: '100%',
179
+ objectFit: 'cover',
180
+ margin: 0,
181
+ padding: 0,
182
+ position: 'absolute',
183
+ top: 0,
184
+ bottom: 0,
185
+ right: 0,
186
+ left: 0,
187
+ }}
188
+ />
189
+ </div>
190
+ )}
191
+ <div className="row m-0 w-100 pb-lg-5 pt-lg-5 pt-md-4 pb-md-4 pl-md-3 pr-md-3 pt-sm-0 pb-sm-0" style={{ zIndex: 10 }}>
192
+ {sectionproperties.showopeninghours == 'Show' && (
193
+ <div className="col-xl-5 col-lg-6 col-md-12 col-sm-12 p-0 pl-lg-3 pr-lg-3 p-md-0">
194
+ <div className={`${footerStyles.footertitlestyles}` + ' d-flex justify-content-start '}>{lang.openinghours}</div>
195
+ <div className="row m-0 w-100 mt-3 mb-3">
196
+ <div className={' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + `${footerStyles.footerinformationstyles}`}> Monday-Friday</div>
197
+ <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>
198
+ </div>
199
+ <div className="row m-0 w-100 mb-3">
200
+ <div className={' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + `${footerStyles.footerinformationstyles}`}>Saturday</div>
201
+ <div className={' col-lg-6 col-md-6 col-sm-6 p-0 d-flex justify-content-start ' + `${footerStyles.footerinformationstyles}`}>OFF</div>
202
+ </div>
203
+ <div className={'row m-0 w-100 mt-4 d-md-none d-sm-none'}>
204
+ {sectionproperties.fbbtn_show == 'Show' && (
205
+ <div className={`${footerStyles.facebook_btn}`}>
206
+ <i className="h-100 allcentered">
207
+ <FaFacebookF size={20} />
208
+ </i>
209
+ </div>
210
+ )}
211
+ {sectionproperties.instbtn_show == 'Show' && (
212
+ <div className={' ml-3 mr-3 ml-sm-4 mr-sm-4 ' + `${footerStyles.instgram_btn}`}>
213
+ <i className="h-100 allcentered">
214
+ <AiFillInstagram size={20} />
215
+ </i>
216
+ </div>
217
+ )}
218
+ {sectionproperties.youtbtn_show == 'Show' && (
219
+ <div className={`${footerStyles.youtube_btn}`}>
220
+ <i className="h-100 allcentered">
221
+ <BsWhatsapp size={20} />
222
+ </i>
223
+ </div>
224
+ )}
225
+ </div>
226
+ </div>
227
+ )}
228
+ <div className="col-xl-2 col-lg-2 col-md-12 col-sm-12 p-0 pl-lg-3 pr-lg-3 mt-md-3 p-md-0">
229
+ <div className={`${footerStyles.footertitlestyles}` + ' d-flex justify-content-start '}>{lang.pages}</div>
230
+ <div className={' row m-0 w-100 mt-3 '}>
231
+ {templatepropcontext.pagesnprop.map((item, index) => {
232
+ if (item.isnavigation == 1 && item.isactive == 1) {
233
+ return (
234
+ <div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-3">
235
+ <div onCLick={() => history.push(item.navigationroute)}>
236
+ <p className={' wordbreak m-0 p-0 ' + `${footerStyles.footersubtitlestyles}`} style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}>
237
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
238
+ </p>
239
+ </div>
240
+ </div>
241
+ );
242
+ }
243
+ })}
244
+ </div>
245
+ </div>
246
+ <div className="col-xl-2 col-lg-2 col-md-12 col-sm-12 p-0 pl-lg-3 pr-lg-3 mt-md-2 p-md-0">
247
+ <div className={`${footerStyles.footertitlestyles}` + ' d-flex justify-content-start '}>{lang.usefullinks}</div>
248
+ <div
249
+ className={' wordbreak mt-3 mb-3 m-0 p-0 cursor-pointer ' + `${footerStyles.footersubtitlestyles}`}
250
+ style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
251
+ onClick={() => {
252
+ routingcountext(StaticPagesLinksContext.Wishlist);
253
+ }}
254
+ >
255
+ {lang.wishlist}
256
+ </div>
257
+ <div
258
+ className={' wordbreak mb-3 m-0 p-0 cursor-pointer ' + `${footerStyles.footersubtitlestyles}`}
259
+ style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
260
+ onClick={() => {
261
+ routingcountext(StaticPagesLinksContext.Ordershistory);
262
+ }}
263
+ >
264
+ {lang.orderhistory}
265
+ </div>
266
+
267
+ <div
268
+ className={' wordbreak mb-3 m-0 p-0 cursor-pointer ' + `${footerStyles.footersubtitlestyles}`}
269
+ style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}
270
+ onClick={() => {
271
+ routingcountext(StaticPagesLinksContext.Policies);
272
+ }}
273
+ >
274
+ {lang.policies}
275
+ </div>
276
+ </div>
277
+ <div
278
+ className={
279
+ langdetect == 'en'
280
+ ? 'col-xl-3 col-lg-4 col-md-12 col-sm-12 p-0 pl-xl-5 pl-lg-3 pt-md-2 mt-lg-4 p-md-0 mt-md-3 mt-sm-2'
281
+ : 'col-xl-3 col-lg-4 col-md-12 col-sm-12 p-0 pr-xl-5 pr-lg-3 pt-md-2 mt-lg-4 p-md-0 mt-md-3 mt-sm-2'
282
+ }
283
+ >
284
+ <div
285
+ className={
286
+ sectionproperties.showfooteraddress == 'Show' || sectionproperties.showfooteremail == 'Show' || sectionproperties.showfooterphonenumber == 'Show'
287
+ ? `${footerStyles.footertitlestyles}` + ' d-flex justify-content-start '
288
+ : 'd-none'
289
+ }
290
+ >
291
+ {lang.havequestion}
292
+ </div>
293
+
294
+ <div className="col-lg-12 col-md-12 col-sm-12 p-0 justify-content-center mt-3">
295
+ {sectionproperties.showfooteraddress == 'Show' && (
296
+ <div className="row m-0 w-100 text-center d-flex align-items-center mb-3">
297
+ <i className="h-100 d-flex justify-content-center align-items-center">
298
+ <GoLocation
299
+ className={langdetect == 'en' ? `${footerStyles.footerinformationstyles}` + ' mr-2 ' : `${footerStyles.footerinformationstyles}` + ' ml-2 '}
300
+ size={20}
301
+ />
302
+ </i>
303
+ <p className={' p-0 m-0 wordbreak ' + `${footerStyles.footerinformationstyles}`}>{authdetailsContext.instinfo.address_en}</p>
304
+ </div>
305
+ )}
306
+
307
+ {sectionproperties.showfooteremail == 'Show' && (
308
+ <div
309
+ className="row m-0 w-100 text-center d-flex align-items-center mb-3"
310
+ onClick={() => {
311
+ window.open('mailto:' + authdetailsContext.instinfo.contactinfo.email, '_self');
312
+ }}
313
+ >
314
+ <i className="h-100 d-flex justify-content-center align-items-center">
315
+ <AiOutlineMail
316
+ className={langdetect == 'en' ? `${footerStyles.footerinformationstyles}` + ' mr-2 ' : `${footerStyles.footerinformationstyles}` + ' ml-2 '}
317
+ size={20}
318
+ />
319
+ </i>
320
+ <p className={' p-0 m-0 wordbreak ' + `${footerStyles.footerinformationstyles}`}>{authdetailsContext.instinfo.contactinfo.email}</p>
321
+ </div>
322
+ )}
323
+
324
+ {sectionproperties.showfooterphonenumber == 'Show' && (
325
+ <div
326
+ className="row m-0 w-100 text-center d-flex align-items-center"
327
+ onClick={() => {
328
+ window.open('tel:+' + authdetailsContext.instinfo.contactinfo.mobile, '_self');
329
+ }}
330
+ >
331
+ <i className="h-100 d-flex justify-content-center align-items-center">
332
+ <AiOutlinePhone
333
+ className={langdetect == 'en' ? `${footerStyles.footerinformationstyles}` + ' mr-2 ' : `${footerStyles.footerinformationstyles}` + ' ml-2 '}
334
+ size={20}
335
+ />
336
+ </i>
337
+ <p className={' p-0 m-0 wordbreak ' + `${footerStyles.footerinformationstyles}`}>{authdetailsContext.instinfo.contactinfo.mobile}</p>
338
+ </div>
339
+ )}
340
+ </div>
341
+ </div>
342
+ <div className={'col-xl-12 col-lg-12 col-md-12 col-sm-12 mt-4 d-xl-none d-lg-none d-md-flex d-sm-flex align-items-center justify-content-center'}>
343
+ {sectionproperties.fbbtn_show == 'Show' && (
344
+ <div className={`${footerStyles.facebook_btn}`}>
345
+ <i className="h-100 allcentered">
346
+ <FaFacebookF size={20} />
347
+ </i>
348
+ </div>
349
+ )}
350
+ {sectionproperties.instbtn_show == 'Show' && (
351
+ <div className={' ml-3 ml-sm-4 ' + `${footerStyles.instgram_btn}`}>
352
+ <i className="h-100 allcentered">
353
+ <AiFillInstagram size={20} />
354
+ </i>
355
+ </div>
356
+ )}
357
+ {sectionproperties.youtbtn_show == 'Show' && (
358
+ <div className={' ml-3 ml-sm-4 ' + `${footerStyles.youtube_btn}`}>
359
+ <i className="h-100 allcentered">
360
+ <BsWhatsapp size={20} />
361
+ </i>
362
+ </div>
363
+ )}
364
+ </div>
365
+ </div>
366
+ </div>
367
+ );
368
+ };
369
+
370
+ export default Footer7;