tabexseriescomponents 0.0.71 → 0.0.74
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 +689 -375
- package/dist/index.esm.js +696 -382
- package/dist/index.umd.js +692 -379
- package/package.json +1 -1
- package/{src1-10 → srcOLD}/Contexts/LanguageContext.jsx +0 -0
- package/{src1-10 → srcOLD}/Contexts/ProductsCardsSectionContext.jsx +0 -0
- package/{src1-10 → srcOLD}/StylesJS/Customstyles.js +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +19 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +8 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +7 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +72 -45
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +15 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/MenuCard/MenuCard.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard6/Productcard6.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard7/Productcard7.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +14 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +17 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +14 -1
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +11 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +15 -3
- package/{src1-10 → srcOLD}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +11 -1
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer1/Footer1.jsx +26 -26
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer2/Footer2.jsx +25 -24
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer3/Footer3.jsx +6 -14
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer4/Footer4.jsx +12 -11
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer5/Footer5.jsx +88 -81
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer6/Footer6.jsx +48 -39
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer7/Footer7.jsx +61 -58
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +34 -27
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +99 -97
- package/{src1-10 → srcOLD}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +80 -74
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Header4/Header4.jsx +95 -77
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Header6/Header6.jsx +76 -73
- package/srcOLD/TabexComponents/Headers/Header8/Header8.jsx +882 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +137 -93
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +114 -85
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +23 -3
- package/{src1-10 → srcOLD}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +114 -116
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Modernheader/Modernheader.jsx +92 -100
- package/{src1-10 → srcOLD}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +98 -110
- package/srcOLD/TabexComponents/Headers/Subheader/Subheader copy.jsx +228 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Subheader/Subheader.jsx +22 -10
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +7 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +784 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +75 -7
- package/{src1-10/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx → srcOLD/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.js} +92 -82
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +0 -0
- package/{src1-10/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx → srcOLD/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.js} +74 -34
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -0
- package/srcOLD/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +284 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +8 -0
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +414 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +53 -92
- package/srcOLD/TabexComponents/StaticPages/Aboutus/Aboutus.js +175 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +15 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
- package/{src1-10/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx → srcOLD/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.js} +40 -110
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Filter/Filter.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +14 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Policies/Policies.jsx +5 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +50 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +16 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Viewcart/Viewcart.js +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +23 -0
- package/{src1-10 → srcOLD}/assets/images/cod.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/egyptflag.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/fawry.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/payment.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/paymob.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/paypal.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/shoppingcart.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/usflag.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/visa.png +0 -0
- package/{src1-10 → srcOLD}/assets/images/whatsapp.png +0 -0
- package/{src1-10 → srcOLD}/button.jsx +0 -0
- package/{src1-10 → srcOLD}/index.jsx +2 -6
- package/{src1-10 → srcOLD}/styles/Home.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Categorcycard_fullimage.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Categorycard_withshapes.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Productcard6.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Productcard_with_circularbg.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/categorycard.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/categorycard3.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/categorycardwithtext.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/productcard_animatedbuttons.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/productcard_with_textonhover.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/bootstrap.css +73 -68
- package/{src1-10 → srcOLD}/styles/general/dropdown.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/editorbardropdown.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/filter.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/form.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/general.module.css +0 -152
- package/{src1-10 → srcOLD}/styles/general/image-gallery.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/react-accessible-accordion.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/react-phone-input-2.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/scrollbtn.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/slick.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/tabs.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/general/workplaceeditor.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/globals.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/Allinoneheader.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/Header7.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/Sideheader.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/classicheaderstyles.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/dropdown.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/header4.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/header5.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/header6.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/header_contactinfo.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/headerresturant.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/headerstyles.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/modernheader.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/subheader.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/sections/Backgroundimage1.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/sections/Section_with_rightbgcont.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/accordion.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/cart.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/dropdown.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/filter.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/login.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/productinfo.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/shop.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/signup.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/staticroutersidenav.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/viewcart.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/staticpages/wishlist.module.css +0 -0
- package/src1-10/TabexComponents/Headers/Header8/Header8.jsx +0 -888
- package/src1-10/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -409
- package/src1-10/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -139
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -197
- package/src1-10/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +0 -91
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
// import { useHistory, Link } from 'react-router-dom';
|
|
2
3
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
4
|
+
// import './dropdown.css';
|
|
5
|
+
// import headerstyles from './headerresturant.module.css';
|
|
3
6
|
import headerstyles from '../../../styles/headers/headerresturant.module.css';
|
|
7
|
+
|
|
8
|
+
// import { LanguageContext } from '../../../LanguageContext';
|
|
4
9
|
import { IKImage } from 'imagekitio-react';
|
|
5
10
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
11
|
+
|
|
12
|
+
// import { FetchingContext } from '../../../FetchingContext';
|
|
13
|
+
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
14
|
+
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
6
15
|
import { css } from 'glamor';
|
|
16
|
+
// import Subheader from '../Subheader/Subheader';
|
|
17
|
+
// import Headerresponsive from '../Headerresponsive/Headerresponsive';
|
|
7
18
|
import { BiLogOutCircle } from 'react-icons/bi';
|
|
8
19
|
import { MdOutlinePolicy, MdOutlineShoppingCart } from 'react-icons/md';
|
|
9
20
|
import { FaRegHeart } from 'react-icons/fa';
|
|
@@ -11,18 +22,37 @@ import { CgShoppingBag } from 'react-icons/cg';
|
|
|
11
22
|
import { BsInfoCircle, BsHandbag, BsBag, BsWhatsapp } from 'react-icons/bs';
|
|
12
23
|
import { AiFillStar } from 'react-icons/ai';
|
|
13
24
|
import { FiShoppingBag, FiShoppingCart, FiUser } from 'react-icons/fi';
|
|
25
|
+
// import egyptflag from '../../Generalfiles/images/egyptflag.png';
|
|
26
|
+
// import usflag from '../../Generalfiles/images/usflag.png';
|
|
14
27
|
import { FaFacebookF } from 'react-icons/fa';
|
|
15
28
|
import { AiFillInstagram, AiOutlineLogin, AiOutlineUserAdd, AiOutlineStar, AiOutlineHeart } from 'react-icons/ai';
|
|
29
|
+
|
|
30
|
+
// import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
|
|
16
31
|
import egyptflag from '../../../assets/images/egyptflag.png';
|
|
17
32
|
import usflag from '../../../assets/images/usflag.png';
|
|
18
33
|
import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
|
|
19
34
|
import Subheader from '../Subheader/Subheader.jsx';
|
|
20
35
|
|
|
21
36
|
const HeaderRestaurant = (props) => {
|
|
37
|
+
// let history = useHistory();
|
|
38
|
+
// const { lang, setlang, langdetect } = useContext(LanguageContext);
|
|
39
|
+
// const { fetch_inst_tabex_websitetemplatesQueryContext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
40
|
+
// const {
|
|
41
|
+
// templateproperties_context,
|
|
42
|
+
// setsidecartnavshowcontext,
|
|
43
|
+
// fetchAuthorizationQueryContext,
|
|
44
|
+
// LogoutMutationContext,
|
|
45
|
+
// fetchcustomercartQueryContext,
|
|
46
|
+
// favoriteprojectscountContext,
|
|
47
|
+
// setSearchHeaderInputContext,
|
|
48
|
+
// } = useContext(FetchingContext);
|
|
49
|
+
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
22
50
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
51
|
+
|
|
23
52
|
const LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
24
53
|
const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
25
54
|
const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
55
|
+
const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
|
|
26
56
|
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
27
57
|
const lang = props.actions.lang;
|
|
28
58
|
const langdetect = props.actions.langdetect;
|
|
@@ -34,6 +64,7 @@ const HeaderRestaurant = (props) => {
|
|
|
34
64
|
const routingcountext = props.actions.routingcountext;
|
|
35
65
|
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
36
66
|
const actions = props.actions;
|
|
67
|
+
// const fetch_inst_tabex_websitetemplatesQueryContext = props.fetch_inst_tabex_websitetemplatesQueryContext;
|
|
37
68
|
useEffect(() => {
|
|
38
69
|
var secpropobj = {};
|
|
39
70
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -43,11 +74,13 @@ const HeaderRestaurant = (props) => {
|
|
|
43
74
|
});
|
|
44
75
|
}
|
|
45
76
|
});
|
|
77
|
+
|
|
46
78
|
if (Object.keys(secpropobj).length === 0) {
|
|
47
79
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
48
80
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
49
81
|
});
|
|
50
82
|
}
|
|
83
|
+
|
|
51
84
|
setsectionproperties({ ...secpropobj });
|
|
52
85
|
}, [StatePagePropertiesContext]);
|
|
53
86
|
const header_cssstyles = {
|
|
@@ -289,12 +322,12 @@ const HeaderRestaurant = (props) => {
|
|
|
289
322
|
}
|
|
290
323
|
}, [templateproperties_context]);
|
|
291
324
|
return (
|
|
292
|
-
<div
|
|
293
|
-
<div
|
|
294
|
-
<div
|
|
295
|
-
<div
|
|
325
|
+
<div class={' row ml-0 mr-0 w-100 d-flex justify-content-center position-md-relative '} style={{ position: sectionproperties.headerstyles_position }}>
|
|
326
|
+
<div class="col-lg-12 p-0">
|
|
327
|
+
<div class={`${headerstyles.header_innercontainer} ${header_cssstyles.header_innercontainer}` + ' row m-0 w-100 d-flex d-md-none align-items-center '}>
|
|
328
|
+
<div class="col-lg-4 p-0 d-flex align-items-center">
|
|
296
329
|
<div
|
|
297
|
-
|
|
330
|
+
class={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
|
|
298
331
|
style={{ cursor: 'pointer' }}
|
|
299
332
|
onClick={() => {
|
|
300
333
|
routingcountext('home');
|
|
@@ -311,8 +344,8 @@ const HeaderRestaurant = (props) => {
|
|
|
311
344
|
/>
|
|
312
345
|
</div>
|
|
313
346
|
</div>
|
|
314
|
-
<div
|
|
315
|
-
<nav
|
|
347
|
+
<div class="col-lg-4 p-0 d-flex align-items-center justify-content-center">
|
|
348
|
+
<nav class={headerstyles.navbar}>
|
|
316
349
|
<ul>
|
|
317
350
|
{templatepropcontext.pagesnprop.map((item, index) => {
|
|
318
351
|
var activeclass = '';
|
|
@@ -323,14 +356,14 @@ const HeaderRestaurant = (props) => {
|
|
|
323
356
|
|
|
324
357
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
325
358
|
return (
|
|
326
|
-
<li
|
|
359
|
+
<li class="allcentered" style={{ flex: 1, paddingLeft: '25px', paddingRight: '25px' }}>
|
|
327
360
|
<div
|
|
328
361
|
onClick={() => {
|
|
329
362
|
routingcountext(item.navigationroute, false, '');
|
|
330
363
|
}}
|
|
331
364
|
>
|
|
332
|
-
<div
|
|
333
|
-
<span
|
|
365
|
+
<div class={`${headerstyles.navbar_item} ${activeclass}`}>
|
|
366
|
+
<span class={`${headerstyles.navbar_item_text} ${header_cssstyles.navbar_item_text}`}>
|
|
334
367
|
{langdetect == 'en' ? item.pagename : item.pagename_ar}
|
|
335
368
|
</span>
|
|
336
369
|
</div>
|
|
@@ -341,8 +374,19 @@ const HeaderRestaurant = (props) => {
|
|
|
341
374
|
})}
|
|
342
375
|
</ul>
|
|
343
376
|
</nav>
|
|
377
|
+
{sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
|
|
378
|
+
<Subheader
|
|
379
|
+
sectionpropertiesprops={sectionproperties}
|
|
380
|
+
subheaderpropertiesprops={{
|
|
381
|
+
subheaderpositionprops: 'in nav',
|
|
382
|
+
paddingLeftprops: '25px',
|
|
383
|
+
paddingRightprops: '25px',
|
|
384
|
+
}}
|
|
385
|
+
actions={actions}
|
|
386
|
+
/>
|
|
387
|
+
)}
|
|
344
388
|
</div>
|
|
345
|
-
<div
|
|
389
|
+
<div class="col-lg-4 p-0 d-flex align-items-center justify-content-end">
|
|
346
390
|
<Dropdown
|
|
347
391
|
style={{
|
|
348
392
|
// (authdetailsContext.loggedin == true ? '30px' : '28px') : 0,
|
|
@@ -352,30 +396,30 @@ const HeaderRestaurant = (props) => {
|
|
|
352
396
|
}}
|
|
353
397
|
>
|
|
354
398
|
<Dropdown.Toggle>
|
|
355
|
-
<div
|
|
399
|
+
<div class={' d-flex align-items-center justify-content-center '}>
|
|
356
400
|
{!authdetailsContext.loggedin && (
|
|
357
|
-
<span
|
|
401
|
+
<span class={`${header_cssstyles.user_btn}` + ' d-flex justify-content-center align-items-center '}>
|
|
358
402
|
<FiUser size={sectionproperties.userBtniconfontsize} />
|
|
359
403
|
</span>
|
|
360
404
|
)}
|
|
361
405
|
{authdetailsContext.loggedin && (
|
|
362
|
-
<div
|
|
363
|
-
<div
|
|
364
|
-
<i
|
|
406
|
+
<div class={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
|
|
407
|
+
<div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
|
|
408
|
+
<i class={' h-100 allcentered '}>
|
|
365
409
|
<FiUser size={sectionproperties.loggedinusericonfontsize} />
|
|
366
410
|
</i>
|
|
367
411
|
</div>
|
|
368
412
|
<div
|
|
369
|
-
|
|
413
|
+
class="m-0 p-0 loggedinuserbtn flex-column"
|
|
370
414
|
style={{
|
|
371
415
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
372
416
|
}}
|
|
373
417
|
>
|
|
374
|
-
<p
|
|
418
|
+
<p class={header_cssstyles.greetingstyles + ' m-0 p-0 '}>
|
|
375
419
|
{lang.hello}
|
|
376
420
|
{langdetect == 'en' ? ',' : '،'}
|
|
377
421
|
</p>
|
|
378
|
-
<p
|
|
422
|
+
<p class={header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '}>{authdetailsContext.customerinfo.name}</p>
|
|
379
423
|
</div>
|
|
380
424
|
</div>
|
|
381
425
|
)}
|
|
@@ -388,9 +432,9 @@ const HeaderRestaurant = (props) => {
|
|
|
388
432
|
routingcountext(StaticPagesLinksContext.Login);
|
|
389
433
|
}}
|
|
390
434
|
>
|
|
391
|
-
<div
|
|
392
|
-
<p
|
|
393
|
-
<AiOutlineLogin
|
|
435
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
436
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
437
|
+
<AiOutlineLogin class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
394
438
|
<span>{lang.login}</span>
|
|
395
439
|
</p>
|
|
396
440
|
</div>
|
|
@@ -401,10 +445,10 @@ const HeaderRestaurant = (props) => {
|
|
|
401
445
|
routingcountext(StaticPagesLinksContext.Signup);
|
|
402
446
|
}}
|
|
403
447
|
>
|
|
404
|
-
<div
|
|
405
|
-
<p
|
|
406
|
-
<AiOutlineUserAdd
|
|
407
|
-
<span
|
|
448
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
449
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
450
|
+
<AiOutlineUserAdd class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
451
|
+
<span class="text-transform-none">{lang.signup}</span>
|
|
408
452
|
</p>
|
|
409
453
|
</div>
|
|
410
454
|
</Dropdown.Item>
|
|
@@ -417,14 +461,14 @@ const HeaderRestaurant = (props) => {
|
|
|
417
461
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
418
462
|
}}
|
|
419
463
|
>
|
|
420
|
-
<div
|
|
421
|
-
<p
|
|
422
|
-
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag
|
|
423
|
-
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag
|
|
424
|
-
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag
|
|
425
|
-
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag
|
|
426
|
-
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart
|
|
427
|
-
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart
|
|
464
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
465
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
466
|
+
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
467
|
+
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
468
|
+
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
469
|
+
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
470
|
+
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
471
|
+
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
428
472
|
<span>{lang.orderhistory}</span>
|
|
429
473
|
</p>
|
|
430
474
|
</div>
|
|
@@ -435,10 +479,10 @@ const HeaderRestaurant = (props) => {
|
|
|
435
479
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
436
480
|
}}
|
|
437
481
|
>
|
|
438
|
-
<div
|
|
439
|
-
<p
|
|
440
|
-
{sectionproperties.faviconshape == 'Heart Shape' && <AiOutlineHeart
|
|
441
|
-
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar
|
|
482
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
483
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
484
|
+
{sectionproperties.faviconshape == 'Heart Shape' && <AiOutlineHeart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
485
|
+
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
442
486
|
<span>{lang.wishlist}</span>
|
|
443
487
|
</p>
|
|
444
488
|
</div>
|
|
@@ -449,9 +493,9 @@ const HeaderRestaurant = (props) => {
|
|
|
449
493
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
450
494
|
}}
|
|
451
495
|
>
|
|
452
|
-
<div
|
|
453
|
-
<p
|
|
454
|
-
<MdOutlinePolicy
|
|
496
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
497
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
498
|
+
<MdOutlinePolicy class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
455
499
|
<span>{lang.policies}</span>
|
|
456
500
|
</p>
|
|
457
501
|
</div>
|
|
@@ -462,9 +506,9 @@ const HeaderRestaurant = (props) => {
|
|
|
462
506
|
LogoutMutationContext.mutate();
|
|
463
507
|
}}
|
|
464
508
|
>
|
|
465
|
-
<div
|
|
466
|
-
<p
|
|
467
|
-
<BiLogOutCircle
|
|
509
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
510
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
511
|
+
<BiLogOutCircle class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
468
512
|
<span>{lang.logout}</span>
|
|
469
513
|
</p>
|
|
470
514
|
</div>
|
|
@@ -474,13 +518,13 @@ const HeaderRestaurant = (props) => {
|
|
|
474
518
|
</Dropdown>
|
|
475
519
|
{sectionproperties.favBtnShow == 'Show' && (
|
|
476
520
|
<div
|
|
477
|
-
|
|
521
|
+
class={`${header_cssstyles.wishlist_btn}` + ' d-flex justify-content-center align-items-center '}
|
|
478
522
|
onClick={() => {
|
|
479
523
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
480
524
|
}}
|
|
481
525
|
>
|
|
482
526
|
<span style={{ position: 'relative' }}>
|
|
483
|
-
<i
|
|
527
|
+
<i class={' h-100 d-flex align-items-center '}>
|
|
484
528
|
{sectionproperties.faviconshape == 'Heart Shape' && (
|
|
485
529
|
<FaRegHeart
|
|
486
530
|
style={{
|
|
@@ -497,7 +541,7 @@ const HeaderRestaurant = (props) => {
|
|
|
497
541
|
)}
|
|
498
542
|
</i>
|
|
499
543
|
<div
|
|
500
|
-
|
|
544
|
+
class={
|
|
501
545
|
`${headerstyles.badge_counter_header_notifications} ${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}` +
|
|
502
546
|
' d-flex justify-content-center text-center '
|
|
503
547
|
}
|
|
@@ -508,7 +552,7 @@ const HeaderRestaurant = (props) => {
|
|
|
508
552
|
</div>
|
|
509
553
|
)}
|
|
510
554
|
<div
|
|
511
|
-
|
|
555
|
+
class={
|
|
512
556
|
!authdetailsContext.loggedin
|
|
513
557
|
? langdetect == 'en'
|
|
514
558
|
? `${header_cssstyles.cart_btn}` + ' cursor-pointer allcentered ml-3 mr-4 '
|
|
@@ -524,12 +568,12 @@ const HeaderRestaurant = (props) => {
|
|
|
524
568
|
}}
|
|
525
569
|
>
|
|
526
570
|
<span style={{ position: 'relative' }}>
|
|
527
|
-
<i
|
|
528
|
-
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag
|
|
529
|
-
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag
|
|
530
|
-
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag
|
|
531
|
-
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag
|
|
532
|
-
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart
|
|
571
|
+
<i class={' allcentered '}>
|
|
572
|
+
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
573
|
+
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
574
|
+
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
575
|
+
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
576
|
+
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
533
577
|
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
534
578
|
</i>
|
|
535
579
|
<div
|
|
@@ -549,10 +593,10 @@ const HeaderRestaurant = (props) => {
|
|
|
549
593
|
</div>
|
|
550
594
|
</span>
|
|
551
595
|
</div>
|
|
552
|
-
<div
|
|
596
|
+
<div class={langdetect == 'en' ? 'informationdropdown informationdropdown_en' : 'informationdropdown informationdropdown_ar'}>
|
|
553
597
|
<Dropdown>
|
|
554
598
|
<Dropdown.Toggle>
|
|
555
|
-
<i
|
|
599
|
+
<i class={header_cssstyles.infoiconcontainer + ' allcentered '}>
|
|
556
600
|
<BsInfoCircle size={sectionproperties.icontextfontsize} />
|
|
557
601
|
</i>
|
|
558
602
|
</Dropdown.Toggle>
|
|
@@ -569,53 +613,53 @@ const HeaderRestaurant = (props) => {
|
|
|
569
613
|
</Dropdown.Header>
|
|
570
614
|
<Dropdown.Divider />
|
|
571
615
|
<Dropdown.Item>
|
|
572
|
-
<div
|
|
573
|
-
<div
|
|
574
|
-
<p
|
|
616
|
+
<div class="row m-0 w-100">
|
|
617
|
+
<div class="col-lg-3 p-0 d-flex align-items-center justify-content-start">
|
|
618
|
+
<p class={header_cssstyles.informationtitle + ' p-0 m-0 '}>{lang.address}:</p>
|
|
575
619
|
</div>
|
|
576
|
-
<div
|
|
577
|
-
<p
|
|
620
|
+
<div class="col-lg-9 d-flex align-items-center justify-content-start">
|
|
621
|
+
<p class={header_cssstyles.infotext + ' p-0 m-0 '}>{authdetailsContext.instinfo.address_en}</p>
|
|
578
622
|
</div>
|
|
579
623
|
</div>
|
|
580
624
|
</Dropdown.Item>
|
|
581
625
|
<Dropdown.Divider />
|
|
582
626
|
<Dropdown.Item>
|
|
583
|
-
<div
|
|
584
|
-
<div
|
|
585
|
-
<p
|
|
627
|
+
<div class="row m-0 w-100">
|
|
628
|
+
<div class="col-lg-3 p-0 d-flex align-items-center justify-content-start">
|
|
629
|
+
<p class={header_cssstyles.informationtitle + ' p-0 m-0 '}>{langdetect == 'en' ? 'Phone' : 'التليفون'}:</p>
|
|
586
630
|
</div>
|
|
587
|
-
<div
|
|
588
|
-
<p
|
|
631
|
+
<div class="col-lg-9 d-flex align-items-center justify-content-start">
|
|
632
|
+
<p class={header_cssstyles.infotext + ' p-0 m-0 '}>{authdetailsContext.instinfo.contactinfo.mobile}</p>
|
|
589
633
|
</div>
|
|
590
634
|
</div>
|
|
591
635
|
</Dropdown.Item>
|
|
592
636
|
<Dropdown.Divider />
|
|
593
637
|
<Dropdown.Item>
|
|
594
|
-
<div
|
|
595
|
-
<div
|
|
596
|
-
<p
|
|
638
|
+
<div class="row m-0 w-100">
|
|
639
|
+
<div class="col-lg-3 p-0 d-flex align-items-center justify-content-start">
|
|
640
|
+
<p class={header_cssstyles.informationtitle + ' p-0 m-0 '}>{lang.email}:</p>
|
|
597
641
|
</div>
|
|
598
|
-
<div
|
|
599
|
-
<p
|
|
642
|
+
<div class="col-lg-9 d-flex align-items-center justify-content-start">
|
|
643
|
+
<p class={header_cssstyles.infotext + ' p-0 m-0 '}>{authdetailsContext.instinfo.contactinfo.email}</p>
|
|
600
644
|
</div>
|
|
601
645
|
</div>
|
|
602
646
|
</Dropdown.Item>
|
|
603
647
|
<Dropdown.Divider />
|
|
604
648
|
<Dropdown.Item>
|
|
605
|
-
<div
|
|
606
|
-
<div
|
|
649
|
+
<div class="col-lg-12 col-sm-12 mb-sm-2 p-3 d-flex justify-content-center">
|
|
650
|
+
<div class=" col-lg-12 d-flex flex-row align-items-center justify-content-center ">
|
|
607
651
|
{sectionproperties.fbbtn_show == 'Show' && (
|
|
608
|
-
<div
|
|
652
|
+
<div class={`${header_cssstyles.facebook_btn}` + ' d-flex align-items-center justify-content-center '}>
|
|
609
653
|
<FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
|
|
610
654
|
</div>
|
|
611
655
|
)}
|
|
612
656
|
{sectionproperties.instbtn_show == 'Show' && (
|
|
613
|
-
<div
|
|
657
|
+
<div class={`${header_cssstyles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}>
|
|
614
658
|
<AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
|
|
615
659
|
</div>
|
|
616
660
|
)}
|
|
617
661
|
{sectionproperties.youtbtn_show == 'Show' && (
|
|
618
|
-
<div
|
|
662
|
+
<div class={`${header_cssstyles.youtube_btn}` + ' d-flex align-items-center justify-content-center '}>
|
|
619
663
|
<BsWhatsapp size={sectionproperties.youtubebtniconfontsize} />
|
|
620
664
|
</div>
|
|
621
665
|
)}
|
|
@@ -625,7 +669,7 @@ const HeaderRestaurant = (props) => {
|
|
|
625
669
|
</Dropdown.Menu>
|
|
626
670
|
</Dropdown>
|
|
627
671
|
</div>
|
|
628
|
-
<div
|
|
672
|
+
<div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
|
|
629
673
|
<Dropdown
|
|
630
674
|
style={{
|
|
631
675
|
marginLeft: langdetect == 'en' ? '25px' : 0,
|
|
@@ -633,19 +677,19 @@ const HeaderRestaurant = (props) => {
|
|
|
633
677
|
}}
|
|
634
678
|
>
|
|
635
679
|
<Dropdown.Toggle>
|
|
636
|
-
<li
|
|
680
|
+
<li class={' d-flex align-items-center justify-content-center '}>
|
|
637
681
|
{langdetect == 'en' && (
|
|
638
|
-
<div
|
|
682
|
+
<div class={`${header_cssstyles.language_container}` + ' row m-0 allcentered '}>
|
|
639
683
|
<img src={egyptflag} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
640
|
-
<div style={{ height: '20px', width: '1.5px', background: '#e6e6e6' }}
|
|
641
|
-
<p
|
|
684
|
+
<div style={{ height: '20px', width: '1.5px', background: '#e6e6e6' }} class="ml-2 mr-2"></div>
|
|
685
|
+
<p class="m-0 p-0">ع</p>
|
|
642
686
|
</div>
|
|
643
687
|
)}
|
|
644
688
|
{langdetect == 'ar' && (
|
|
645
|
-
<div
|
|
689
|
+
<div class={`${header_cssstyles.language_container}` + ' row m-0 allcentered '}>
|
|
646
690
|
<img src={usflag} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
647
|
-
<div style={{ height: '20px', width: '1.5px', background: '#e6e6e6' }}
|
|
648
|
-
<p
|
|
691
|
+
<div style={{ height: '20px', width: '1.5px', background: '#e6e6e6' }} class="ml-2 mr-2"></div>
|
|
692
|
+
<p class="m-0 p-0">En</p>
|
|
649
693
|
</div>
|
|
650
694
|
)}
|
|
651
695
|
</li>
|
|
@@ -656,10 +700,10 @@ const HeaderRestaurant = (props) => {
|
|
|
656
700
|
setlang('ar');
|
|
657
701
|
}}
|
|
658
702
|
>
|
|
659
|
-
<div
|
|
660
|
-
<p
|
|
703
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
704
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
661
705
|
<img src={egyptflag} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
662
|
-
<span
|
|
706
|
+
<span class="ml-2 mr-2">{lang.arabic}</span>
|
|
663
707
|
</p>
|
|
664
708
|
</div>
|
|
665
709
|
</Dropdown.Item>
|
|
@@ -670,7 +714,7 @@ const HeaderRestaurant = (props) => {
|
|
|
670
714
|
}}
|
|
671
715
|
>
|
|
672
716
|
<span
|
|
673
|
-
|
|
717
|
+
class="d-flex align-items-center justify-content-center"
|
|
674
718
|
style={{
|
|
675
719
|
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
676
720
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
@@ -678,28 +722,28 @@ const HeaderRestaurant = (props) => {
|
|
|
678
722
|
}}
|
|
679
723
|
>
|
|
680
724
|
<img src={usflag} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
681
|
-
<span
|
|
725
|
+
<span class="ml-2 mr-2">{lang.english}</span>
|
|
682
726
|
</span>
|
|
683
727
|
</Dropdown.Item>
|
|
684
728
|
</Dropdown.Menu>
|
|
685
729
|
</Dropdown>
|
|
686
730
|
</div>
|
|
687
731
|
</div>
|
|
688
|
-
<div
|
|
689
|
-
{sectionproperties.showhidesubheader == 'Show' && (
|
|
732
|
+
<div class="col-lg-12 p-0">
|
|
733
|
+
{sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
|
|
690
734
|
<Subheader
|
|
691
|
-
actions={actions}
|
|
692
735
|
sectionpropertiesprops={sectionproperties}
|
|
693
736
|
subheaderpropertiesprops={{
|
|
694
737
|
subheaderpositionprops: 'Full Width',
|
|
695
738
|
paddingLeftprops: '25px',
|
|
696
739
|
paddingRightprops: '25px',
|
|
697
740
|
}}
|
|
741
|
+
actions={actions}
|
|
698
742
|
/>
|
|
699
743
|
)}
|
|
700
744
|
</div>
|
|
701
745
|
</div>
|
|
702
|
-
<div
|
|
746
|
+
<div class="col-lg-12 p-0">
|
|
703
747
|
<Headerresponsive actions={actions} sectionpropertiesprops={sectionproperties} />
|
|
704
748
|
</div>
|
|
705
749
|
</div>
|