(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[195],{7286:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return i(6291)}])},5811:function(e,t,i){"use strict";var a=i(5893),n=i(1664),l=i.n(n),s=i(2451);t.Z=e=>{let{text:t,reverse:i=!1,href:n,tag:r="Link",className:o=""}=e,c="".concat(o," ").concat(i?"bg-inherit text-white border-2 border-white":"text-shuuenkan-blue hover:text-blue-600 bg-inherit border-2 border-shuuenkan-blue hover:border-blue-600");return(0,a.jsx)(s.E.div,{whileHover:{scale:1.1},whileTap:{scale:.9},className:"mx-auto my-2 w-fit justify-center",children:(0,a.jsx)(l(),{href:"a"!==r?n:"",target:"a"===r?"_blank":"_self",className:"".concat(c,"   rounded-3xl px-6 py-2"),children:t})})}},3669:function(e,t,i){"use strict";var a=i(5893),n=i(7814);t.Z=e=>{let{icon:t,title:i,lines:l}=e;return(0,a.jsxs)("div",{className:" mx-auto w-1/2 text-shuuenkan-blue hmd:w-1/4  ".concat(t?"mb-28 h-60 md:h-96":"mb-0 "," relative pb-0 text-center"),children:[i&&(0,a.jsx)("h1",{className:"p-4  font-bold",children:i}),t&&(0,a.jsx)("div",{className:"absolute inset-x-0 bottom-1/2 mx-auto w-fit text-8xl ",children:(0,a.jsx)(n.G,{icon:t})}),(0,a.jsx)("div",{className:" mx-auto  ".concat(t?"absolute top-1/2 mt-10":" ","  w-full"),children:l.map(e=>(0,a.jsxs)("p",{className:"p-2",children:[e.title&&(0,a.jsx)("b",{children:e.title+": "}),(0,a.jsx)("a",{className:e.href?"hover:text-blue-600":"",href:e.href||"",target:"_blank",rel:"noreferrer",children:e.text})]},e.key))})]})}},6794:function(e,t,i){"use strict";var a=i(5893),n=i(2451);let l={hidden:{opacity:0},enter:{opacity:1,transition:{duration:.9}},exit:{opacity:0}};t.Z=e=>{let{children:t,fontSize:i}=e;return(0,a.jsx)("div",{className:"h-screen content-center bg-shuuenkan-blue pt-32 lg:pt-40",children:(0,a.jsx)("div",{className:"md:py-15 container mx-auto h-fit bg-shuuenkan-blue ",children:(0,a.jsx)("div",{className:"float-center w-full",children:(0,a.jsx)(n.E.p,{className:" px-5 pb-8 text-center text-pearl md:p-10 ".concat(i),variants:l,initial:"hidden",animate:"enter",exit:"exit",transition:{type:"linear"},children:t})})})})}},6507:function(e,t,i){"use strict";i.d(t,{Z:function(){return j}});var a=i(5893),n=i(9008),l=i.n(n),s=i(3669),r=()=>(0,a.jsxs)("footer",{className:"relative bottom-0 left-0 w-full border-t-2 border-shuuenkan-blue bg-pearl text-center text-shuuenkan-blue",children:[(0,a.jsx)("div",{className:"justfy-items-center  container mx-auto flex flex-wrap py-8 text-base   hmd:text-lg",children:[{key:1,title:"Dove Siamo",lines:[{href:"https://www.giardinoliberato.org/",text:"Giardino Liberato di Materdei",key:1},{href:"https://www.google.it/maps/place/Giardino+Liberato+di+Materdei/@40.8547899,14.2447824,17z/data=!3m1!4b1!4m5!3m4!1s0x133b0867151db6f5:0x582c1b10410660c1!8m2!3d40.8548625!4d14.2468668",text:"Salita S. Raffaele, 3",key:2},{text:"80135 Napoli Na",key:3}]},{key:2,title:"Contatti",lines:[{title:"Telefono",href:"tel:00393349281502",text:"+39 334-928-1502",key:1},{title:"Email",href:"mailto:nerafenix@gmail.com",text:"nerafenix@gmail.com",key:2}]},{key:3,title:"Orari",lines:[{title:"Lun",text:"19:00-21:00",key:1},{title:"Mer",key:2,text:"19:00-21:00"},{title:"Sab",text:"12:00-14:00",key:3}]},{key:4,title:"Social",lines:[{href:"https://m.facebook.com/Shuuenkannapolikendo1965",text:"Facebook",key:1},{href:"https://www.instagram.com/shuuenkannapolikendo1965/",text:"Instagram",key:2},{href:"https://www.youtube.com/channel/UC7MbwwgjWKvTXJ2eRHJOU7g",text:"YouTube",key:3}]}].map(e=>(0,a.jsx)(s.Z,{title:e.title,lines:e.lines},e.key))}),(0,a.jsx)("div",{className:"container mx-auto border-t-2 border-shuuenkan-blue text-left",children:(0,a.jsx)("h1",{className:"text-l p-6",children:"A.S.D. SHUUENKAN NAPOLI KENDO"})})]}),o=i(7294),c=i(2451),d=i(1664),h=i.n(d),x=i(5820),u=i(6760);let m=[{title:"Chi siamo",url:"/about",id:1},{title:"Il Kendo",url:"/kendo",id:2},{title:"Il Dojo",url:"/dojo",id:3},{title:"Progetti",url:"/projects",id:4},{title:"Blog",url:"/blog",id:5},{title:"Contattaci",url:"/contacts",id:6}];var p=e=>{let{scroll:t}=e,{width:i}=(0,u.i)(),[n,l]=(0,o.useState)(!0),s=!0;return i<768&&(s=!1),(0,o.useEffect)(()=>l(s),[s]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:"absolute right-0 mx-8 h-20 w-20 cursor-pointer justify-self-end rounded-2xl border-0 p-2 text-right md:hidden",onClick:()=>{l(!n)},children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"mx-auto h-10 w-10 text-pearl",viewBox:"0 0 20 20",fill:"white",children:(0,a.jsx)("path",{fill:t?"#bdbbbb":"#1d439a",fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM9 15a1 1 0 011-1h6a1 1 0 110 2h-6a1 1 0 01-1-1z",clipRule:"evenodd"})})}),(0,a.jsx)("div",{children:(0,a.jsx)("ul",{className:"absolute top-28 left-0 z-10 mr-2 h-fit w-full  flex-col items-center justify-end justify-between md:static md:z-50 md:flex md:flex-row ".concat("bg-inherit"," "),children:(0,a.jsx)(x.M,{mode:"sync",children:n&&m.map(e=>(0,a.jsx)(c.E.div,{variants:{exit:{opacity:"1",y:"-100vh"},transition:{duration:.1,delay:10*e.id}},initial:{opacity:"0",y:"-100vh"},animate:{opacity:"1",y:"0",transition:{duration:.8,delay:.3/e.id,type:"spring",bounce:s?.2:.4}},exit:"exit",whileHover:{scale:1.1},whileTap:{scale:.9},className:"md:hover:bg-inherit ".concat(t?"bg-shuuenkan-blue text-pearl hover:bg-blue-600 hover:text-white":"bg-white text-shuuenkan-blue hover:bg-pearl hover:text-blue-700"),children:(0,a.jsx)("li",{className:"color-red mx-auto w-fit py-6 text-center text-2xl  md:mx-2 md:py-4 hmd:mx-4 xl:mx-8 ",children:(0,a.jsx)(h(),{href:e.url,legacyBehavior:!0,children:e.title})})},e.id))})})})]})},b=i(5675),f=i.n(b),w=()=>{let[e,t]=(0,o.useState)(!0);(0,o.useEffect)(()=>{document.addEventListener("scroll",()=>{let i=window.scrollY<180;i!==e&&t(i)})});let{width:i}=(0,u.i)();return(0,a.jsx)("header",{className:"fixed right-0 top-0 z-50 w-full py-2  ".concat(e?"h-28 bg-shuuenkan-blue text-pearl lg:h-36":"h-28 bg-white shadow-lg"),children:(0,a.jsxs)("div",{className:"container mx-auto flex items-center justify-between",children:[(0,a.jsx)(h(),{href:"/",passHref:!0,legacyBehavior:!0,children:(0,a.jsx)(c.E.a,{className:"px-16 md:px-10 lg:px-24 xl:px-32",whileHover:{scale:1.1},whileTap:{scale:.9},children:(0,a.jsx)(f(),{src:"/images/logo.png",priority:!0,alt:"shuuenkan logo",width:"".concat(!e||i<1024?"100":"130"),height:"".concat(!e||i<1024?"100":"130"),style:{maxWidth:"100%",height:"auto",maxWidth:"100%",height:"auto"}})})}),(0,a.jsx)(p,{scroll:e})]})})},j=e=>{let{children:t,className:i,secondTitle:n,dcp:s}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("title",{children:"Kendo Napoli Shuuenkan | ".concat(n)}),(0,a.jsx)("meta",{property:"og:title",content:"Kendo Napoli Shuuenkan | ".concat(n)},"title"),(0,a.jsx)("meta",{name:"description",content:s||"Lo Shuuenkandojo nasce a Napoli nel 2014 e diventa il primo esperimento italiano di Social Kendo"}),(0,a.jsx)("meta",{name:"keywords",content:"kendo, napoli, kendo napoli, kendo cik, kendo sport, social, giappone napoli, scherma, samurai napoli, arti marziali, via della spada, kenshi, kenjitsu, iaido, mushin "}),(0,a.jsx)("meta",{name:"robots",content:"index, follow, snippet, noarchive"})]}),(0,a.jsxs)("main",{children:[(0,a.jsx)(w,{}),(0,a.jsx)("div",{className:" ".concat(i),children:t}),(0,a.jsx)(r,{})]})]})}},6760:function(e,t,i){"use strict";i.d(t,{i:function(){return n}});var a=i(7294),n=function(){let[e,t]=(0,a.useState)({width:void 0,height:void 0});return(0,a.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}},6291:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return x},default:function(){return u}});var a=i(5893),n=i(1664),l=i.n(n),s=i(5675),r=i.n(s),o=e=>{let{alt:t,src:i,imgWidth:n=720,imgHeight:s=720,date:o,slug:c,title:d,subtitle:h,author:x,readingTime:u,totalPosts:m}=e;return(0,a.jsxs)("div",{className:"m-6 rounded-md border border-slate-300 bg-white  shadow-sm\n    md:w-2/5 xl:w-1/".concat(Math.floor(m/2)+1),children:[(0,a.jsx)("div",{className:"m-auto ".concat(s===n?"w-7/12 md:h-3/5":""),children:(0,a.jsx)(r(),{alt:t,src:"/posts/".concat(i||"default_post.png"),width:Number(n),height:Number(s),priority:!0,style:{maxWidth:"100%",height:"auto",maxWidth:"100%",height:"auto"}})}),(0,a.jsxs)("div",{className:"mt-4 h-1/3 p-4",children:[(0,a.jsxs)("p",{className:"text-sm text-slate-400",children:[x,", ",o]}),(0,a.jsx)(l(),{href:"/blog/".concat(c),legacyBehavior:!0,children:(0,a.jsx)("h2",{className:" mb-2 text-3xl text-blue-600 hover:text-shuuenkan-blue hover:underline",children:d})}),(0,a.jsx)("p",{className:"text-xl text-slate-700",children:h}),(0,a.jsxs)("p",{className:"text-md text-slate-400",children:[u," minuti di lettura"]})]})]})},c=i(6507),d=i(5811),h=i(6794),x=!0,u=e=>{let{posts:t}=e,i=t.slice(0,4).map(e=>(0,a.jsx)(o,{...e,totalPosts:t.length},e.slug));return(0,a.jsxs)(c.Z,{secondTitle:"Blog",className:"mb-20",children:[(0,a.jsxs)(h.Z,{fontSize:" sm:text-8xl text-6xl",children:["Scopri ",(0,a.jsx)("b",{className:"text-white",children:"interviste"}),","," ",(0,a.jsx)("b",{className:" text-white",children:"curiosit\xe0"})," e"," ",(0,a.jsx)("b",{className:"text-white",children:"molto altro"})," sul mondo del kendo e del giappone a firma ",(0,a.jsx)("b",{className:"text-white",children:"Shuuenkan!"})]}),(0,a.jsxs)("div",{className:"mx-auto mt-14 w-3/4",children:[(0,a.jsx)("h1",{className:"mx-6 text-7xl text-shuuenkan-blue xsm:p-16",children:"Ultimi Articoli"}),(0,a.jsx)("div",{className:"flex flex-wrap justify-center",children:i})]}),(0,a.jsx)("div",{className:"my-10",children:(0,a.jsx)(d.Z,{text:"Tutti gli articoli",href:"/blog/archive",className:"text-4xl"})})]})}}},function(e){e.O(0,[82,888,774,179],function(){return e(e.s=7286)}),_N_E=e.O()}]);