"use strict";(self.webpackChunkLaTagliata=self.webpackChunkLaTagliata||[]).push([[332],{8681:function(e,t,n){var a=n(7294);t.Z=e=>{let{Title:t,Description:n,Button:l,BackgroundColor:o}=e;return a.createElement(a.Fragment,null,a.createElement("div",{className:"text-comp-container",style:{backgroundColor:""+o}},a.createElement("div",{className:"information-content"},a.createElement("div",{className:"information-layout"},a.createElement("h2",{className:"title"},t),a.createElement("b",null),n?a.createElement("p",null,n):"",a.createElement("div",{className:"buttons-box"},null==l?void 0:l.map(((e,t)=>a.createElement("div",{className:"button-container",key:t,onClick:()=>{return t=e.CTALabel,void("undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event",""+t));var t}},a.createElement("a",{href:e.CTAUrl,className:"cta"},e.CTALabel)))))))))}},195:function(e,t,n){var a=n(7294),l=n(8769),o=n(1419),r=n(3166);n(7692),n(6028);t.Z=e=>{let{children:t,pageData:n,SEOTitle:i,SEODescription:c,footerDisclaimer:s,darkThemeNav:m}=e;const{0:u,1:d}=(0,a.useState)(!1);(0,a.useEffect)((()=>{const e=sessionStorage.getItem("popup"),t=sessionStorage.getItem("secondaryPopup"),n=(new Date).getTime(),a=new Date("2024-02-29").getTime(),l=setTimeout((()=>{(!e||n-e>864e5)&&(!t||n-t>864e5)&&nclearTimeout(l)}),[]);return a.createElement(a.Fragment,null,a.createElement(l.Z,{title:i,description:c}),a.createElement(r.Z,{homepageNav:!0}),u&&a.createElement("div",{className:"popup-container","uk-scrollspy":"cls: uk-animation-scale-up; target: .popup;"},a.createElement("div",{className:"popup"},a.createElement("div",{className:"popup-content"},a.createElement("p",null,"🍷 ",a.createElement("b",null,"29 February save the date! 🍷",a.createElement("br",null),"Cantine “Bolgheri” wine testing experience")),a.createElement("p",null," Bolgheri's wines are generally a base blend of Cabernet (Sauvignon or Franc) and Merlot, often with additions of Syrah, Petit Verdot and, on rare occasions, Sangiovese. Over recent years, the number of wineries that produce monovarietal wines using one of the three main grape varieties has continued to increase and we would like to give the opportunity to our customer to discover those treasure that Italy territory provide. Discover ",a.createElement("a",{href:"/wine-tasting"},a.createElement("b",null,a.createElement("i",null,"our menu"))),"."),a.createElement("p",{className:"no-margin"},"💌 To make the evening even more memorable, we recommend securing your table in advance."),a.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"center"},className:"widget"},a.createElement("iframe",{src:"https://www.opentable.co.uk/widget/reservation/canvas?rid=317766&type=button&theme=standard&overlay=false&domain=couk&lang=en&r3uid=MiUIESaB3&newtab=false&disablega=true&color=1",width:"210",height:"113",frameborder:"0",scrolling:"no",name:"opentable-make-reservation-widget",title:"Online Bookings | OpenTable, La Tagliata - New"})),a.createElement("p",{className:"no-margin",style:{paddingBottom:"20px"}}," An unforgettable sensory experience awaits. We look forward to hosting you!",a.createElement("br",null)),a.createElement("button",{onClick:()=>{d(!1),sessionStorage.setItem("popup",(new Date).getTime())}},"Close")))),a.createElement("main",null,t),a.createElement(o.Z,null))}},6772:function(e,t,n){n.r(t);var a=n(7294),l=n(5444),o=(n(7692),n(195)),r=n(6600),i=n(4405),c=n(8397),s=n(8681),m=n(8243);n(2876);t.default=e=>{var t,n;let{pageContext:u}=e;const d=(0,l.useStaticQuery)("1842470800");return a.createElement(o.Z,{SEOTitle:d.strapiHomepage.seo.metaTitle,SEODescription:d.strapiHomepage.seo.metaDescription},null===(t=d.strapiHomepage)||void 0===t||null===(n=t.PageComponents)||void 0===n?void 0:n.map(((e,t)=>{var n;switch(e.strapi_component){case"page-components.header":return a.createElement(a.Fragment,null,a.createElement(r.Z,{key:t,Title:null!==e.Title?e.Title:null,Subtitle:e.Subtitle,FirstCTATitle:e.FirstCTATitle,FirstCTAURL:e.FirstCTAUrl,SecondCTATitle:e.SecondCTATitle,SecondCTAURL:e.SecondCTAUrl,ThirdCTATitle:e.ThirdCTATitle,ThirdCTAURL:e.ThirdCTAUrl,Background:(0,i.Z)(null===(n=e.Background)||void 0===n?void 0:n.localFile___NODE,u.images),Icon:null!==e.Icon?(0,i.Z)(e.Icon.localFile___NODE,u.images):null,HeaderHeight:e.HeaderHeight,FooterInformation:null!==e.FooterInformation?e.FooterInformation:null,ReservationModal:null!==e.ReservationModal?e.ReservationModal:null}));case"page-components.text-image-component":return a.createElement(a.Fragment,null,a.createElement(c.Z,{Image:null!==e.Image?(0,i.Z)(e.Image.localFile___NODE,u.images):null,ImagePosition:e.ImagePosition,Title:e.Title,Description:e.Description,Button:e.Button}));case"page-components.text-component":return a.createElement(a.Fragment,null,a.createElement(s.Z,{Title:e.Title,Description:e.Description,Button:e.Button,BackgroundColor:e.BackgroundColor}));case"page-components.contact-component":return a.createElement(a.Fragment,null,a.createElement(m.Z,{Title:e.Title,Address:e.Address,HTML:e.HTML}));default:return""}})))}}}]); //# sourceMappingURL=component---src-templates-index-js-bfeefbc5ace43de66226.js.map