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.
- package/dist/index.cjs.js +25023 -16634
- package/dist/index.esm.js +25033 -16645
- package/dist/index.umd.js +24824 -16437
- package/package.json +1 -1
- package/src1-10/Contexts/LanguageContext.jsx +347 -0
- package/src1-10/Contexts/ProductsCardsSectionContext.jsx +28 -0
- package/src1-10/StylesJS/Customstyles.js +235 -0
- package/src1-10/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +205 -0
- package/src1-10/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +239 -0
- package/src1-10/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +198 -0
- package/src1-10/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +169 -0
- package/src1-10/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +180 -0
- package/src1-10/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +162 -0
- package/src1-10/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
- package/src1-10/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +149 -0
- package/src1-10/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +271 -0
- package/src1-10/TabexComponents/Cards/MenuCard/MenuCard.jsx +546 -0
- package/src1-10/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +474 -0
- package/src1-10/TabexComponents/Cards/Productcard6/Productcard6.jsx +290 -0
- package/src1-10/TabexComponents/Cards/Productcard7/Productcard7.jsx +278 -0
- package/src1-10/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +293 -0
- package/src1-10/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +278 -0
- package/src1-10/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +312 -0
- package/src1-10/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +279 -0
- package/src1-10/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +293 -0
- package/src1-10/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +456 -0
- package/src1-10/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +272 -0
- package/src1-10/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
- package/src1-10/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +127 -0
- package/src1-10/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +126 -0
- package/src1-10/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +292 -0
- package/src1-10/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +281 -0
- package/src1-10/TabexComponents/Footer/Footer1/Footer1.jsx +418 -0
- package/src1-10/TabexComponents/Footer/Footer2/Footer2.jsx +381 -0
- package/src1-10/TabexComponents/Footer/Footer3/Footer3.jsx +316 -0
- package/src1-10/TabexComponents/Footer/Footer4/Footer4.jsx +437 -0
- package/src1-10/TabexComponents/Footer/Footer5/Footer5.jsx +488 -0
- package/src1-10/TabexComponents/Footer/Footer6/Footer6.jsx +286 -0
- package/src1-10/TabexComponents/Footer/Footer7/Footer7.jsx +370 -0
- package/src1-10/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +231 -0
- package/src1-10/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/src1-10/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/src1-10/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +722 -0
- package/src1-10/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +681 -0
- package/src1-10/TabexComponents/Headers/Header4/Header4.jsx +614 -0
- package/src1-10/TabexComponents/Headers/Header6/Header6.jsx +666 -0
- package/src1-10/TabexComponents/Headers/Header8/Header8.jsx +888 -0
- package/src1-10/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +710 -0
- package/src1-10/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +769 -0
- package/src1-10/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +666 -0
- package/src1-10/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +940 -0
- package/src1-10/TabexComponents/Headers/Modernheader/Modernheader.jsx +714 -0
- package/src1-10/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +833 -0
- package/src1-10/TabexComponents/Headers/Subheader/Subheader.jsx +239 -0
- package/src1-10/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +312 -0
- package/src1-10/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +278 -0
- package/src1-10/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +129 -0
- package/src1-10/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +153 -0
- package/src1-10/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +295 -0
- package/src1-10/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +409 -0
- package/src1-10/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +793 -0
- package/src1-10/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +486 -0
- package/src1-10/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +888 -0
- package/src1-10/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +419 -0
- package/src1-10/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +512 -0
- package/src1-10/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +281 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +166 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +152 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +139 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +146 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +209 -0
- package/src1-10/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +145 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +252 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +175 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +154 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +193 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +197 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +91 -0
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +309 -0
- package/src1-10/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +260 -0
- package/src1-10/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +459 -0
- package/src1-10/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +216 -0
- package/src1-10/TabexComponents/StaticPages/Checkout/Checkout.jsx +1220 -0
- package/src1-10/TabexComponents/StaticPages/Filter/Filter.jsx +542 -0
- package/src1-10/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +51 -0
- package/src1-10/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
- package/src1-10/TabexComponents/StaticPages/Login/Login.jsx +299 -0
- package/src1-10/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +192 -0
- package/src1-10/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1271 -0
- package/src1-10/TabexComponents/StaticPages/Policies/Policies.jsx +353 -0
- package/src1-10/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1456 -0
- package/src1-10/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +209 -0
- package/src1-10/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +776 -0
- package/src1-10/TabexComponents/StaticPages/Signup/Signup.jsx +157 -0
- package/src1-10/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +285 -0
- package/src1-10/TabexComponents/StaticPages/Viewcart/Viewcart.js +1090 -0
- package/src1-10/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +606 -0
- package/src1-10/assets/images/cod.png +0 -0
- package/src1-10/assets/images/egyptflag.png +0 -0
- package/src1-10/assets/images/fawry.png +0 -0
- package/src1-10/assets/images/payment.png +0 -0
- package/src1-10/assets/images/paymob.png +0 -0
- package/src1-10/assets/images/paypal.png +0 -0
- package/src1-10/assets/images/shoppingcart.png +0 -0
- package/src1-10/assets/images/usflag.png +0 -0
- package/src1-10/assets/images/visa.png +0 -0
- package/src1-10/assets/images/whatsapp.png +0 -0
- package/src1-10/button.jsx +40 -0
- package/src1-10/index.jsx +179 -0
- package/src1-10/styles/Home.module.css +129 -0
- package/src1-10/styles/cards/Categorcycard_fullimage.module.css +10 -0
- package/src1-10/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
- package/src1-10/styles/cards/Categorycard_withshapes.module.css +189 -0
- package/src1-10/styles/cards/Productcard6.module.css +9 -0
- package/src1-10/styles/cards/Productcard_with_circularbg.module.css +137 -0
- package/src1-10/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
- package/src1-10/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
- package/src1-10/styles/cards/categorycard.module.css +102 -0
- package/src1-10/styles/cards/categorycard3.module.css +51 -0
- package/src1-10/styles/cards/categorycardwithtext.module.css +40 -0
- package/src1-10/styles/cards/productcard_animatedbuttons.module.css +104 -0
- package/src1-10/styles/cards/productcard_with_textonhover.module.css +12 -0
- package/src1-10/styles/cards/productccard_with_imageontopleft.module.css +85 -0
- package/src1-10/styles/general/bootstrap.css +4415 -0
- package/src1-10/styles/general/dropdown.css +199 -0
- package/src1-10/styles/general/editorbardropdown.module.css +94 -0
- package/src1-10/styles/general/filter.module.css +108 -0
- package/src1-10/styles/general/form.module.css +273 -0
- package/src1-10/styles/general/general.module.css +861 -0
- package/src1-10/styles/general/image-gallery.css +481 -0
- package/src1-10/styles/general/react-accessible-accordion.module.css +52 -0
- package/src1-10/styles/general/react-phone-input-2.module.css +927 -0
- package/src1-10/styles/general/scrollbtn.module.css +22 -0
- package/src1-10/styles/general/slick.module.css +166 -0
- package/src1-10/styles/general/tabs.module.css +110 -0
- package/src1-10/styles/general/workplaceeditor.module.css +328 -0
- package/src1-10/styles/globals.css +26 -0
- package/src1-10/styles/headers/Allinoneheader.module.css +91 -0
- package/src1-10/styles/headers/Header7.module.css +50 -0
- package/src1-10/styles/headers/Header_threesectionslogocentered.module.css +97 -0
- package/src1-10/styles/headers/Sideheader.module.css +108 -0
- package/src1-10/styles/headers/classicheaderstyles.module.css +16 -0
- package/src1-10/styles/headers/dropdown.css +0 -0
- package/src1-10/styles/headers/header4.module.css +175 -0
- package/src1-10/styles/headers/header5.module.css +30 -0
- package/src1-10/styles/headers/header6.module.css +117 -0
- package/src1-10/styles/headers/header_contactinfo.module.css +78 -0
- package/src1-10/styles/headers/headerresturant.module.css +89 -0
- package/src1-10/styles/headers/headerstyles.module.css +24 -0
- package/src1-10/styles/headers/modernheader.module.css +78 -0
- package/src1-10/styles/headers/subheader.module.css +114 -0
- package/src1-10/styles/sections/Backgroundimage1.module.css +17 -0
- package/src1-10/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
- package/src1-10/styles/sections/Section_with_rightbgcont.module.css +49 -0
- package/src1-10/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
- package/src1-10/styles/sections/Slideshow_with_squarebg.module.css +39 -0
- package/src1-10/styles/staticpages/accordion.module.css +9 -0
- package/src1-10/styles/staticpages/cart.module.css +108 -0
- package/src1-10/styles/staticpages/dropdown.css +196 -0
- package/src1-10/styles/staticpages/filter.module.css +139 -0
- package/src1-10/styles/staticpages/login.module.css +146 -0
- package/src1-10/styles/staticpages/productinfo.module.css +54 -0
- package/src1-10/styles/staticpages/shop.module.css +191 -0
- package/src1-10/styles/staticpages/signup.module.css +206 -0
- package/src1-10/styles/staticpages/staticroutersidenav.module.css +129 -0
- package/src1-10/styles/staticpages/viewcart.module.css +129 -0
- package/src1-10/styles/staticpages/wishlist.module.css +29 -0
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import React, { 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, AiOutlineMail, AiOutlinePhone } from 'react-icons/ai';
|
|
6
|
+
import { GoLocation } from 'react-icons/go';
|
|
7
|
+
import { IKImage } from 'imagekitio-react';
|
|
8
|
+
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
9
|
+
|
|
10
|
+
const Simplefooter = (props) => {
|
|
11
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
12
|
+
const [arrayofobjectimagesonly, setarrayofobjectimagesonly] = useState([]);
|
|
13
|
+
const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
|
|
14
|
+
const history = props.actions.history;
|
|
15
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
16
|
+
const lang = props.actions.lang;
|
|
17
|
+
const langdetect = props.actions.langdetect;
|
|
18
|
+
const routingcountext = props.actions.routingcountext;
|
|
19
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
20
|
+
const authdetailsContext = props.actions.authdetailsContext;
|
|
21
|
+
const templateproperties_context = props.actions.templateproperties_context;
|
|
22
|
+
const templatepropcontext = props.actions.templatepropcontext;
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
if (props.srcfrom == 'addsectionform') {
|
|
25
|
+
var secpropobj = {};
|
|
26
|
+
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
27
|
+
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
28
|
+
});
|
|
29
|
+
setsectionproperties({ ...secpropobj });
|
|
30
|
+
} else {
|
|
31
|
+
var secpropobj = {};
|
|
32
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
33
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
34
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
35
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
setsectionproperties({ ...secpropobj });
|
|
40
|
+
}
|
|
41
|
+
}, [StatePagePropertiesContext]);
|
|
42
|
+
useEffect(() => {
|
|
43
|
+
if (sectionproperties.length != 0 && sectionproperties.arrayofobjectimagesonly != undefined) {
|
|
44
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
45
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
46
|
+
setarrayofobjectimagesonly([...arrayofobjectimagesonlyparsed]);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}, [sectionproperties]);
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
52
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
53
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
54
|
+
setlogoarrayofobjects([...logoarrayofobjectsparsed]);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}, [templateproperties_context]);
|
|
58
|
+
const footerStyles = {
|
|
59
|
+
divider: css({
|
|
60
|
+
height: sectionproperties.vl_height + 'px',
|
|
61
|
+
width: sectionproperties.vl_width + '%',
|
|
62
|
+
backgroundColor: sectionproperties.vl_bg,
|
|
63
|
+
marginBottom: sectionproperties.divider_mb + 'px',
|
|
64
|
+
marginTop: sectionproperties.divider_mt + 'px',
|
|
65
|
+
}),
|
|
66
|
+
footerContainer: css({
|
|
67
|
+
position: 'relative',
|
|
68
|
+
background: sectionproperties.footerbgcolor,
|
|
69
|
+
paddingBottom: sectionproperties.footer_paddingBottom + 'px',
|
|
70
|
+
paddingTop: sectionproperties.footer_paddingTop + 'px',
|
|
71
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
72
|
+
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
|
|
73
|
+
}),
|
|
74
|
+
footerlogo: css({
|
|
75
|
+
width: sectionproperties.logo_width + 'px',
|
|
76
|
+
height: sectionproperties.logo_height + 'px',
|
|
77
|
+
position: 'relative',
|
|
78
|
+
}),
|
|
79
|
+
facebook_btn: css({
|
|
80
|
+
cursor: 'pointer',
|
|
81
|
+
background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
|
|
82
|
+
width: sectionproperties.facebkbtnnWidth + 'px',
|
|
83
|
+
height: sectionproperties.facebkbtnnHeight + 'px',
|
|
84
|
+
borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
|
|
85
|
+
color: sectionproperties.facebkbtnnTextcolor,
|
|
86
|
+
border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
|
|
87
|
+
transition: '.3s',
|
|
88
|
+
':hover': {
|
|
89
|
+
background: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'Transparent' : sectionproperties.facebkbtnnbgColoronhover,
|
|
90
|
+
color: sectionproperties.facebkbtnnTextcoloronhover,
|
|
91
|
+
borderColor: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? sectionproperties.facebkbtnnTextcoloronhover : sectionproperties.facebkbtnnbgColoronhover,
|
|
92
|
+
},
|
|
93
|
+
}),
|
|
94
|
+
youtube_btn: css({
|
|
95
|
+
cursor: 'pointer',
|
|
96
|
+
background: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
|
|
97
|
+
width: sectionproperties.youtubebtnWidth + 'px',
|
|
98
|
+
height: sectionproperties.youtubebtnHeight + 'px',
|
|
99
|
+
borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
|
|
100
|
+
color: sectionproperties.youtubebtnTextcolor,
|
|
101
|
+
border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
|
|
102
|
+
transition: '.3s',
|
|
103
|
+
':hover': {
|
|
104
|
+
background: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
|
|
105
|
+
color: sectionproperties.youtubebtnTextcoloronhover,
|
|
106
|
+
borderColor: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.youtubebtnTextcoloronhover : sectionproperties.youtubebtnbgColoronhover,
|
|
107
|
+
},
|
|
108
|
+
}),
|
|
109
|
+
instgram_btn: css({
|
|
110
|
+
cursor: 'pointer',
|
|
111
|
+
background: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
|
|
112
|
+
width: sectionproperties.instgrambtnWidth + 'px',
|
|
113
|
+
height: sectionproperties.instgrambtnHeight + 'px',
|
|
114
|
+
borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
|
|
115
|
+
color: sectionproperties.instgrambtnTextcolor,
|
|
116
|
+
border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
|
|
117
|
+
transition: '.3s',
|
|
118
|
+
':hover': {
|
|
119
|
+
background: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
|
|
120
|
+
color: sectionproperties.instgrambtnTextcoloronhover,
|
|
121
|
+
borderColor: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.instgrambtnTextcoloronhover : sectionproperties.instgrambtnbgColoronhover,
|
|
122
|
+
},
|
|
123
|
+
}),
|
|
124
|
+
footerinformationstyles: css({
|
|
125
|
+
textTransform: sectionproperties.footerinfotext_textTransform,
|
|
126
|
+
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
127
|
+
fontWeight: sectionproperties.footerinfotext_fontweight,
|
|
128
|
+
color: sectionproperties.footerinfotext_color,
|
|
129
|
+
}),
|
|
130
|
+
};
|
|
131
|
+
return (
|
|
132
|
+
<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 '}>
|
|
133
|
+
<div
|
|
134
|
+
className="col-lg-12 p-0 allcentered"
|
|
135
|
+
style={{
|
|
136
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
137
|
+
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
|
|
138
|
+
}}
|
|
139
|
+
>
|
|
140
|
+
<div className={`${footerStyles.divider}`}></div>
|
|
141
|
+
</div>
|
|
142
|
+
<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">
|
|
143
|
+
<div className={`${footerStyles.footerlogo}` + ' d-flex flex-column align-items-center justify-content-start '}>
|
|
144
|
+
<IKImage
|
|
145
|
+
urlEndpoint={IKurlEndpoint}
|
|
146
|
+
publicKey={IKpublicKey}
|
|
147
|
+
path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
|
|
148
|
+
style={{
|
|
149
|
+
maxWidth: '100%',
|
|
150
|
+
maxHeight: '100%',
|
|
151
|
+
}}
|
|
152
|
+
/>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
<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">
|
|
156
|
+
<div className="row m-0 w-100 allcentered">
|
|
157
|
+
{sectionproperties.fbbtn_show == 'Show' && (
|
|
158
|
+
<div className={langdetect == 'en' ? `${footerStyles.facebook_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.facebook_btn}` + ' allcentered ml-3 ml-sm-4'}>
|
|
159
|
+
<i className="h-100 allcentered">
|
|
160
|
+
<FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
|
|
161
|
+
</i>
|
|
162
|
+
</div>
|
|
163
|
+
)}
|
|
164
|
+
{sectionproperties.instbtn_show == 'Show' && (
|
|
165
|
+
<div className={langdetect == 'en' ? `${footerStyles.instgram_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.instgram_btn}` + ' allcentered ml-3 ml-sm-4'}>
|
|
166
|
+
<i className="h-100 allcentered">
|
|
167
|
+
<AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
|
|
168
|
+
</i>
|
|
169
|
+
</div>
|
|
170
|
+
)}
|
|
171
|
+
{sectionproperties.youtbtn_show == 'Show' && (
|
|
172
|
+
<div className={langdetect == 'en' ? `${footerStyles.youtube_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.youtube_btn}` + ' allcentered ml-3 ml-sm-4'}>
|
|
173
|
+
<i className="h-100 allcentered">
|
|
174
|
+
<BsWhatsapp size={sectionproperties.youtubebtniconfontsize} />
|
|
175
|
+
</i>
|
|
176
|
+
</div>
|
|
177
|
+
)}
|
|
178
|
+
</div>
|
|
179
|
+
</div>
|
|
180
|
+
<div
|
|
181
|
+
className="col-lg-4 mt-4 pl-md-2 pr-md-2 allcentered"
|
|
182
|
+
style={{
|
|
183
|
+
paddingLeft: langdetect == 'en' ? '80px' : 0,
|
|
184
|
+
paddingRight: langdetect == 'en' ? 0 : '80px',
|
|
185
|
+
}}
|
|
186
|
+
>
|
|
187
|
+
{sectionproperties.showfooterphonenumber == 'Show' && (
|
|
188
|
+
<div
|
|
189
|
+
className={`${footerStyles.footerinformationstyles}` + ' col-lg-12 col-md-4 col-sm-12 p-0 allcentered mb-md-3'}
|
|
190
|
+
onClick={() => {
|
|
191
|
+
window.open('tel:+' + authdetailsContext.instinfo.contactinfo.mobile, '_self');
|
|
192
|
+
}}
|
|
193
|
+
style={{ cursor: 'pointer' }}
|
|
194
|
+
>
|
|
195
|
+
<i className="h-100 d-flex justify-content-center align-items-center">
|
|
196
|
+
<AiOutlinePhone className={langdetect == 'en' ? 'mr-2' : 'ml-2'} size={20} />
|
|
197
|
+
</i>
|
|
198
|
+
<p className={' p-0 m-0 wordbreak '}>{authdetailsContext.instinfo.contactinfo.mobile}</p>
|
|
199
|
+
</div>
|
|
200
|
+
)}
|
|
201
|
+
</div>
|
|
202
|
+
<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">
|
|
203
|
+
<div className="row m-0 w-100 allcentered">
|
|
204
|
+
{sectionproperties.fbbtn_show == 'Show' && (
|
|
205
|
+
<div className={langdetect == 'en' ? `${footerStyles.facebook_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.facebook_btn}` + ' allcentered ml-3 ml-sm-4'}>
|
|
206
|
+
<i className="h-100 allcentered">
|
|
207
|
+
<FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
|
|
208
|
+
</i>
|
|
209
|
+
</div>
|
|
210
|
+
)}
|
|
211
|
+
{sectionproperties.instbtn_show == 'Show' && (
|
|
212
|
+
<div className={langdetect == 'en' ? `${footerStyles.instgram_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.instgram_btn}` + ' allcentered ml-3 ml-sm-4'}>
|
|
213
|
+
<i className="h-100 allcentered">
|
|
214
|
+
<AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
|
|
215
|
+
</i>
|
|
216
|
+
</div>
|
|
217
|
+
)}
|
|
218
|
+
{sectionproperties.youtbtn_show == 'Show' && (
|
|
219
|
+
<div className={langdetect == 'en' ? `${footerStyles.youtube_btn}` + ' allcentered mr-3 mr-sm-4 ' : `${footerStyles.youtube_btn}` + ' allcentered ml-3 ml-sm-4'}>
|
|
220
|
+
<i className="h-100 allcentered">
|
|
221
|
+
<BsWhatsapp size={sectionproperties.youtubebtniconfontsize} />
|
|
222
|
+
</i>
|
|
223
|
+
</div>
|
|
224
|
+
)}
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
</div>
|
|
228
|
+
);
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
export default Simplefooter;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|