1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[812],{4997:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(7876),s=r(8230),n=r.n(s),l=r(4587),o=r.n(l);let i=e=>{let{post:t,size:r="medium"}=e,{slug:s,title:l,publishDate:i,excerpt:c,imageUrl:d,featuredImageUrl:m}=t,x=new Date(i).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),h="relative w-full",u="font-heading font-semibold mb-2 text-text-dark-primary group-hover:text-accent-dark transition-colors duration-200",g="text-text-dark-secondary mb-3 leading-relaxed",p="text-text-dark-muted";if("large"===r)h+=" h-72 md:h-96",u+=" text-2xl md:text-3xl",g+=" text-base md:text-lg",p+=" text-sm md:text-base";else if("medium"===r)h+=" h-56 md:h-64",u+=" text-xl md:text-2xl",g+=" text-sm md:text-base",p+=" text-xs md:text-sm";else if("small"===r)return(0,a.jsx)("li",{className:"py-3 border-b border-border-dark last:border-b-0",children:(0,a.jsxs)(n(),{href:"/blog/".concat(s),className:"flex items-center space-x-4 group",children:[(d||m)&&(0,a.jsx)("div",{className:"flex-shrink-0 w-16 h-16 md:w-20 md:h-20 relative rounded overflow-hidden",children:(0,a.jsx)(o(),{src:m||d,alt:l,fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",className:"object-cover transition-transform duration-300 group-hover:scale-105",style:{objectPosition:"50% 20%"}})}),!(d||m)&&(0,a.jsx)("div",{className:"flex-shrink-0 w-16 h-16 md:w-20 md:h-20 bg-gray-700 rounded flex items-center justify-center",children:(0,a.jsx)("span",{className:"text-xs text-gray-400",children:"No Image"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-md md:text-lg font-medium text-text-dark-primary group-hover:text-accent-dark transition-colors duration-200 leading-tight",children:l}),(0,a.jsx)("p",{className:"text-xs text-text-dark-muted mt-1",children:x})]})]})});return(0,a.jsxs)(n(),{href:"/blog/".concat(s),className:"".concat("block group rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300 bg-background-dark border border-border-dark"," ").concat(""),children:[(0,a.jsx)("div",{className:h,children:d||m?(0,a.jsx)(o(),{src:m||d,alt:l,fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",className:"object-cover transition-transform duration-300 group-hover:scale-105",style:{objectPosition:"50% 20%"}}):(0,a.jsx)("div",{className:"w-full h-full bg-gray-700 flex items-center justify-center",children:(0,a.jsx)("span",{className:"text-gray-400",children:"No Image"})})}),(0,a.jsxs)("div",{className:"p-5 md:p-6",children:[(0,a.jsx)("h2",{className:u,children:l}),c&&(0,a.jsx)("p",{className:g,children:c}),(0,a.jsx)("p",{className:p,children:x})]})]})}},5660:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return r(9221)}])},9221:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>j,default:()=>w});var a=r(7876),s=r(4587),n=r.n(s),l=r(8230),o=r.n(l),i=r(4997);r(4232);let c="https://get.riyazapp.com/".concat("hol6WEpWwhb");var d=r(7960);let m="Riyaz finds the key that fits your voice and gives you honest feedback as you sing.",x="Free practice every day.",h={knowledge:{variant:"song"},"bollywood-knowledge-base":{variant:"song"},general:{variant:"song"},"hindustani-knowledge-base":{variant:"tips"},"carnatic-knowledge-base":{variant:"tips"},"singing-tips":{variant:"tips"},"pitch-accuracy":{variant:"tips"},belting:{variant:"tips"},features:{variant:"tips"},people:{variant:"tips"},"student-stories":{variant:"tips"},"music-technology":{variant:"tips"},"hindustani-music-courses":{variant:"course",styleSlug:"hindustani-classical"},"carnatic-music-courses":{variant:"course",styleSlug:"carnatic-classical"},"western-classical-music-courses":{variant:"course",styleSlug:"western-classical"}},u={variant:"tips"},g={song:{line1:"Learning this song? Riyaz finds the key that fits your voice and gives you honest feedback as you sing.",line2:x},tips:{line1:m,line2:"Measure your range and breath, and watch them grow week by week."},course:{line1:m,line2:x}},p=e=>{var t;let{category:r,slug:s}=e,n=r&&h[r]||u,{line1:l,line2:i}=g[n.variant],m="course"===n.variant?n.styleSlug:void 0,x=m?null==(t=d.YZ[m])?void 0:t.t
1itle:void 0;return(0,a.jsxs)("aside",{"data-testid":"app-cta",className:"my-10 rounded-lg border border-border-dark bg-background-dark p-6 md:p-8 text-center",children:[(0,a.jsx)("p",{className:"font-sans text-lg text-text-dark-primary mb-2",children:l}),(0,a.jsx)("p",{className:"font-sans text-base text-text-dark-secondary mb-6",children:i}),(0,a.jsx)("a",{href:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"cta",a=encodeURIComponent(t.trim().toLowerCase());return"".concat(c,"?utm_source=web&utm_medium=").concat(e,"&utm_campaign=").concat(a,"&utm_content=").concat(r)}("blog",s,"cta"),target:"_blank",rel:"noopener noreferrer",className:"cta-button inline-block bg-accent text-text-dark py-3 px-8 no-underline font-sans font-bold rounded transition-transform duration-300 ease-in-out cursor-pointer hover:bg-[#e6b400] hover:text-text-dark transform hover:scale-105",children:"Get Riyaz free"}),m&&x&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsxs)(o(),{href:"/courses/".concat(m,"/"),className:"font-sans text-sm text-accent-dark hover:underline",children:["Browse ",x," courses"]})})]})};var b=r(9715);let f=e=>{let{courses:t}=e;return t&&0!==t.length?(0,a.jsxs)("div",{className:"related-courses mt-12",children:[(0,a.jsx)("h2",{className:"text-2xl font-bold mb-4",children:"Related Courses"}),(0,a.jsx)("div",{className:"grid grid-cols-1 gap-6",children:t.map(e=>{var t;let r=e.style_slug,s=r?(null==(t=d.YZ[r])?void 0:t.title)||r:"music",n=e.long_description||e.summary||e.description||"This course will teach you the fundamentals of ".concat(s,".");return(0,a.jsxs)("div",{className:"course-card bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg p-4 hover:shadow-lg transition-shadow flex flex-row items-center",children:[e.thumbnail_url&&(0,a.jsx)("div",{className:"w-32 h-32 mr-4 rounded-md overflow-hidden bg-gray-200 dark:bg-gray-700 flex-shrink-0",children:(0,a.jsx)("img",{src:e.thumbnail_url,alt:e.title,className:"w-full h-full object-contain"})}),(0,a.jsxs)("div",{className:"flex-grow flex flex-col",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold mb-2 text-gray-900 dark:text-white",children:e.title}),(0,a.jsx)("p",{className:"text-gray-600 dark:text-gray-400 text-sm mb-4 line-clamp-2",children:n})]}),(0,a.jsx)(o(),{href:"/courses/".concat(r,"/").concat(e.slug),className:"mt-auto self-start inline-block bg-accent text-text-dark py-2 px-4 no-underline font-sans font-bold rounded-lg border-none transition-colors duration-300 ease-in-out cursor-pointer hover:bg-[#e6b400] hover:text-text-dark",children:"View Course"})]})]},e.id)})})]}):null};var v=r(9118),j=!0;function w(e){let{postData:t,relatedPosts:r,relatedCourses:s}=e;if(!t)return(0,a.jsx)("p",{className:"text-center text-text-dark-muted py-10",children:"Blog post not found."});let l=new Date(t.publishDate).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),c=v.t.find(e=>e.slug===t.category),d=c?c.name:"Blog";return(0,a.jsx)("div",{className:"bg-background-darker text-text-dark-primary pt-16 pb-16 md:pb-24",children:(0,a.jsxs)("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"font-sans text-xs md:text-sm text-white/60 mt-8 mb-6 md:mb-8",children:[(0,a.jsx)(o(),{href:"/",children:"Home"})," > ",(0,a.jsx)(o(),{href:"/blog",children:"Blog"}),c&&(0,a.jsxs)(a.Fragment,{children:[" > ",(0,a.jsx)(o(),{href:"/blog/category/".concat(c.slug),children:d})]})," > ",(0,a.jsx)("span",{className:"text-white",children:t.title})]}),(0,a.jsxs)("article",{className:"max-w-4xl mx-auto",children:[t.featuredImageUrl&&(0,a.jsx)("div",{className:"mb-6 md:mb-8 relative w-full h-64 md:h-96 lg:h-[500px] rounded-lg overflow-hidden",children:(0,a.jsx)(n(),{src:t.featuredImageUrl,alt:t.title,fill:!0,priority:!0,sizes:"(max-width: 768px) 100vw, 50vw",className:"object-cover"})}),(0,a.jsxs)("header",{className:"mb-6 md:mb-8",children:[(0,a.jsxs)("h1",{className:"text-3xl md:text-5xl font-heading font-bold mb-3 text-text-dark-primary",children:[" ",t.title]}),(0,a.jsxs)("p",{className:"text-base md:text-lg text-accent-dark",children:[" ","Posted on ",l,t.author&&" by ".concat((0,b.t)(t.author))]})]}),t.contentHtmlBefore&&(0,a.jsx)("div",{className:"prose prose-lg md:prose-xl dark:prose-invert max-w-none leading-relaxed",dangerouslySetInnerHTML:{__html:t.contentHtmlBefore}}),(0,a.jsx)(p,{category:t.category,slug:t.slug}),t.contentHtmlAfter&&(0,a.jsx)("div",{className:"prose prose-lg md:prose-xl dark:prose-invert max-w-none leading-relaxed",dangerouslySetInnerHTML:{__html:t.contentHtmlAfter}}),(0,a.jsxs)("div",{className:"mt-10 md:mt-12 pt-6 border-t border-border-dark",children:[(0,a.jsx)("h3",{className:"text-xl font-semibold mb-4 text-text-dark-primary",children:"Share this"})," ",(0,a.jsxs)("div",{className:"flex space-x-4",children:[(0,a.jsx)("a",{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent("https://riyazapp.com/blog/".concat(t.slug))),target:"_blank",rel:"noopener noreferrer",className:"text-text-dark-muted hover:text-accent-dark transition-colors",children:"Facebook"}),(0,a.jsx)("a",{href:"https://twitter.com/intent/tweet?url=".concat(encodeURIComponent("https://riyazapp.com/blog/".concat(t.slug)),"&text=").concat(encodeURIComponent(t.title)),target:"_blank",rel:"noopener noreferrer",className:"text-text-dark-muted hover:text-accent-dark transition-colors",children:"Twitter"}),(0,a.jsx)("a",{href:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(encodeURIComponent("https://riyazapp.com/blog/".concat(t.slug)),"&title=").concat(encodeURIComponent(t.title),"&summary=").concat(encodeURIComponent(t.firstParagraph||t.metaDescription||t.excerpt||"")),target:"_blank",rel:"noopener noreferrer",className:"text-text-dark-muted hover:text-accent-dark transition-colors",children:"LinkedIn"})]})]})]}),(0,a.jsxs)("section",{className:"mt-12 md:mt-16 pt-8 border-t border-border-dark",children:[(0,a.jsx)("div",{className:"mb-12",children:(0,a.jsx)(f,{courses:s})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-2xl md:text-3xl font-heading font-bold mb-6 text-text-dark-primary",children:"Related Posts"}),r&&r.length>0?(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:r.map(e=>(0,a.jsx)(i.A,{post:e},e.id))}):(0,a.jsx)("p",{className:"text-text-dark-muted",children:"No related posts found."})]})]})]})})}}},e=>{e.O(0,[587,636,593,792],()=>e(e.s=5660)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.