(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[533],{852:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/newsletter",function(){return n(5835)}])},1193:function(e,t){"use strict";t.Z={src:"/_next/static/media/arrow-dark.f6b3c0d2.png",height:484,width:500,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAHlBMVEVMaXFaWlpbW1taWlpVVVVbW1tbW1tdXV1bW1tqamr1tcGwAAAACnRSTlMAIWE8EW+4VZ4JYu9FNwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAClJREFUeJxjYGRkgABmJiiDgZUFQ4idiYUZJsbBCmExsrFB9LIwMjAAAAjcAEu3Fnr/AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},1011:function(e,t){"use strict";t.Z={src:"/_next/static/media/growth-tonic-newsletter-happy-subscribers.dd8165a5.png",height:746,width:1586,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAASFBMVEXa0c0py6Zs4MFAQDy+ychZqIqxbG5MaXHcqp7Ik3AnvZxGu5uyqIfIrYjRrYrlubNpvJewmJhDooNejIK6pJyOsaR0dGOXa2ZVRvuLAAAAFnRSTlMQnyHT/FPAADP9quTvHNbZoNOM/f6E5TNvhwAAAAlwSFlzAAC4jAAAuIwBzPa7LwAAAClJREFUeJxjYOAAQV52BjZxQRZ+Tj4GBmYxYRYRTh4mBi5uRlEhAVZ2ABPUATlLfmWFAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4}},5835:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return p}});var r=n(5893);n(7294);var i=n(5520),s=n(9990),a=n(3973),l=n(1547),o=n(1193),d=n(1011),p=!0;t.default=function(e){let t="The Growth Tonic Newsletter",n="Subscribe to the monthly newsletter - get tips and insights on growing SaaS from 0 to $5M ARR. Right into your inbox.";return(0,r.jsxs)(s.Z,{SEO:{openGraph:{english:{locale:"en_US",type:"website",url:"https://jonathanrintala.com/newsletter/",title:t+" | Jonathan Rintala",subTitle:n||null,description:n,images:[{url:"/static/jonathan-rintala-b2b-saas-growth-video.jpg",width:800,height:600,alt:n}],site_name:"Jonathan Rintala"}}},menu:{buttonPreSelected:"goToBlog"},children:[(0,r.jsx)("div",{className:"bodyWrapper",children:(0,r.jsx)("div",{className:"defaultBody",children:(0,r.jsxs)("div",{style:{textAlign:"left",marginTop:"50px"},children:[(0,r.jsx)("h1",{children:t}),(0,r.jsx)("h2",{style:{fontSize:"20px",marginTop:"30px",fontWeight:"normal",maxWidth:"700px"},children:"The monthly newsletter - with tips and insights on growing SaaS from 0 to $5M ARR. Join top SaaS leaders, founders, and growth hackers."}),(0,r.jsx)("div",{className:"arrowNewsletter",children:(0,r.jsx)(i.Z,{alt:"dark arrow",src:o.Z,widths:{width:"8.5vw",maxWidth:"110px",position:"absolute"}})}),(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",marginTop:"40px"},children:(0,r.jsx)(l.Z,{})}),(0,r.jsxs)("div",{className:"w-full flex flex-col items-center justify-center mb-2vh mt-[10px]",children:[(0,r.jsx)(i.Z,{src:d.Z,widths:{width:"350px"}}),(0,r.jsx)("h2",{className:"mt-[2vh] font-bold text-xl italic text-center",children:'"I found new ways to grow my Saas from 10 to 50 customers."'})]})]})})}),(0,r.jsx)(a.Z,{})]})}},1547:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(5893),i=n(7294);let s=()=>{let e=async e=>{if(e.preventDefault(),!t){setMessage("Please enter an email address.");return}try{let e=window.location.href,r=await fetch("/api/subscribe-newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,additionalInfo:{pageUrl:e,source:"Newsletter Page"}})}),i=await r.json();if(!r.ok){a(i.status||"error");return}a("success"),n("")}catch(e){a("error")}},[t,n]=(0,i.useState)(""),[s,a]=(0,i.useState)("");return(0,r.jsxs)("span",{children:[(0,r.jsx)("span",{style:{borderRadius:2,padding:"10px",paddingLeft:"0px",display:"flex"},children:(0,r.jsxs)("span",{style:{display:"flex",background:"#f2f2f2",padding:"10px",borderRadius:"15px"},children:[(0,r.jsx)("input",{style:{fontSize:"18px",padding:"10px",borderStyle:"none",borderRadius:"10px",background:"#f2f2f2",marginRight:"10px"},onChange:e=>{n(e.target.value)},value:t,type:"text",placeholder:"Enter email"}),(0,r.jsx)("br",{}),(0,r.jsx)("button",{style:{fontSize:"18px",padding:5,borderStyle:"none",borderRadius:"10px"},onClick:e,className:"formSubmitButton",children:"Subscribe"})]})}),(0,r.jsxs)("span",{style:{marginTop:"20px",marginLeft:"5px",fontWeight:"bold",fontSize:"18px",transition:"all ease-in-out 0.3s"},children:["sending"===s&&(0,r.jsx)("span",{style:{color:"blue"},children:"Sending..."}),"error"===s&&(0,r.jsx)("span",{style:{color:"red"},children:"Oops! Please try again."}),"success"===s&&(0,r.jsx)("span",{style:{color:"green"},children:"You are in! \uD83C\uDF89 Check your inbox."})]})]})};var a=()=>(0,r.jsx)(s,{}),l=n(1034),o=n.n(l),d=e=>{let{tightWidth:t}=e;return(0,r.jsxs)("span",{style:{textAlign:"left",marginTop:"20px",display:"flex",flexWrap:"wrap",justifyContent:"space-between",maxWidth:"950px",alignItems:"center",marginBottom:"30px",marginBlockStart:"0",marginBlockEnd:"0",marginTop:"20px"},className:o().NewsLetterWrapper,children:[(0,r.jsx)("span",{style:{margin:"0px",fontSize:"28px",fontWeight:"bold",marginBottom:"10px"},children:"The Growth Tonic Newsletter"}),(0,r.jsxs)("span",{style:{display:"flex",flexWrap:"wrap",justifyContent:"center"},children:[(0,r.jsx)("span",{style:!0===t?{fontWeight:"normal",fontSize:"18px",marginBottom:"10px",maxWidth:"350px"}:{fontWeight:"normal",fontSize:"18px",marginBottom:"10px",maxWidth:"520px"},children:"Monthly newsletter with growth tips, experiments, and hand-picked SaaS insights - right into your inbox."}),(0,r.jsx)(a,{})]})]})}},1034:function(e){e.exports={NewsLetterWrapper:"NewsletterCard_NewsLetterWrapper__uoPnJ"}}},function(e){e.O(0,[445,675,469,87,888,774,179],function(){return e(e.s=852)}),_N_E=e.O()}]);