PageSourceSearch

https://www.studiomithra.com/assets/BlogPostPage-Yg0KWYQv.js

js studiomithra.com collected 2026-10-08 17:37:27 UTC 10,746 bytes, 2 lines download raw bytes

1import{j as e,v as T,N as D,L as g}from"./vendor-framework-Bjre_v1e.js";import{S as l,B as w,k as W,N as B,L as R}from"./index-tgcaWuQ_.js";import{g as M,b as A}from"./data-blog-posts-Cr37oH8i.js";import{f as _}from"./data-marketing-landers-CcSWm7Lg.js";import{V as O,O as H,p as C,b}from"./vendor-icons-CVWhOcp_.js";import"./vendor-jspdf-rF5n3AFh.js";import"./vendor-recharts-iVzMPvfN.js";import"./vendor-query-D5YMtxtG.js";const q=()=>e.jsxs("div",{className:"mt-12 flex items-start gap-4 border-t border-[#E2E0DA] pt-8",children:[e.jsx("div",{className:"shrink-0 w-12 h-12 rounded-full bg-[#0066CC] flex items-center justify-center",children:e.jsx("span",{className:"text-white font-bold text-[15px]",children:"S"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[13px] font-semibold text-[#0F0F1A]",children:"Sudheer"}),e.jsx("p",{className:"text-[12px] text-[#0066CC] font-medium mb-2",children:"Founder, Studio Mithra"}),e.jsx("p",{className:"text-[13px] text-[#0F0F1A]/55 leading-relaxed",children:"Built Studio Mithra after seeing first-hand how Indian photography studios struggled with tools designed for Western markets — missing GST support, INR billing, multi-event wedding packages, and UPI-friendly payment tracking. Focused on making professional studio management accessible to every photographer in India."})]})]}),Q={Wedding:`${l}/og/wedding.png`,"GST & Finance":`${l}/og/gst-finance.png`,Comparison:`${l}/og/comparison.png`,Business:`${l}/og/business.png`,"Proposals & Contracts":`${l}/og/proposals.png`,Pricing:`${l}/og/proposals.png`},G={"GST & Finance":"bg-emerald-50 text-emerald-700 border-emerald-100",Pricing:"bg-blue-50 text-blue-700 border-blue-100",Proposals:"bg-violet-50 text-violet-700 border-violet-100","Proposals & Contracts":"bg-violet-50 text-violet-700 border-violet-100",Wedding:"bg-rose-50 text-rose-700 border-rose-100",Business:"bg-amber-50 text-amber-700 border-amber-100",Comparison:"bg-slate-50 text-slate-700 border-slate-100"},te=()=>{const{slug:f}=T(),s=f?M(f):void 0;if(!s)return e.jsx(D,{to:"/blog",replace:!0});const v=A.filter(t=>t.slug!==s.slug&&t.category===s.category),$=A.filter(t=>t.slug!==s.slug&&t.category!==s.category),j=[...v,...$].slice(0,2),m=_(s.slug,3),y=[...s.content.matchAll(/\*\*Q: (.+?)\*\*\s*\n+A: (.+?)(?=\n\n|\*\*Q:|$)/gs)].map(t=>({"@type":"Question",name:t[1].trim(),acceptedAnswer:{"@type":"Answer",text:t[2].trim()}})),F=Q[s.category]??`${l}/og/default.png`,E=[{"@context":"https://schema.org","@type":"BlogPosting",headline:s.title,description:s.metaDescription,image:F,url:`${l}/blog/${s.slug}`,datePublished:s.publishDate,dateModified:s.updatedDate??s.publishDate,author:{"@type":"Person",name:"Sudheer Kovelamudi",jobTitle:"Founder",url:`${l}/about`,sameAs:["https://www.linkedin.com/company/studiomithra"],worksFor:{"@type":"Organization",name:w,url:l}},publisher:{"@type":"Organization",name:w,logo:{"@type":"ImageObject",url:`${l}/logo.png`,width:800,height:200}},mainEntityOfPage:{"@type":"WebPage","@id":`${l}/blog/${s.slug}`},keywords:s.primaryKeyword,articleSection:s.category,inLanguage:"en-IN"},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:l},{"@type":"ListItem",position:2,name:"Blog",item:`${l}/blog`},{"@type":"ListItem",position:3,name:s.title,item:`${l}/blog/${s.slug}`}]},...y.length>0?[{"@context":"https://schema.org","@type":"FAQPage",mainEntity:y}]:[]],S=t=>{const o=t.split(`
2`),i=[];let a=0,x=[],p=!1;const N=()=>{if(x.length<2){x=[],p=!1;return}const[r,,...c]=x,d=r.map(n=>n.trim());i.push(e.jsx("div",{className:"overflow-x-auto my-6",children:e.jsxs("table",{className:"w-full text-[13px] border-collapse",children:[e.jsx("thead",{children:e.jsx("tr",{className:"bg-[#F4F3EF]",children:d.map((n,h)=>e.jsx("th",{className:"text-left px-4 py-2.5 font-semibold text-[#0F0F1A] border border-[#E2E0DA]",children:n},h))})}),e.jsx("tbody",{children:c.map((n,h)=>e.jsx("tr",{className:h%2===0?"bg-white":"bg-[#FAFAF7]",children:n.map((P,k)=>e.jsx("td",{className:"px-4 py-2.5 text-[#0F0F1A]/70 border border-[#E2E0DA]",children:P.trim()},k))},h))})]})},`tbl-${a}`)),x=[],p=!1};for(;a<o.length;){const r=o[a];if(r.startsWith("|")){p=!0,x.push(r.split("|").filter((c,d,n)=>d>0&&d<n.length-1)),a++;continue}if(p&&N(),r.startsWith("## "))i.push(e.jsx("h2",{className:"text-[22px] font-bold text-[#0F0F1A] mt-10 mb-4 leading-snug",children:r.slice(3)},a));else if(r.startsWith("### "))i.push(e.jsx("h3",{className:"text-[16px] font-semibold text-[#0F0F1A] mt-7 mb-3",children:r.slice(4)},a));else if(r.startsWith("**")&&r.endsWith("**")&&!r.slice(2,-2).includes("**"))i.push(e.jsx("p",{className:"font-semibold text-[#0F0F1A] my-2",children:r.slice(2,-2)},a));else if(r.startsWith("- ")||r.startsWith("* ")){const c=[];for(;a<o.length&&(o[a].startsWith("- ")||o[a].startsWith("* "));)c.push(o[a].slice(2)),a++;i.push(e.jsx("ul",{className:"list-disc list-inside space-y-1.5 my-4 text-[14px] text-[#0F0F1A]/70",children:c.map((d,n)=>e.jsx("li",{dangerouslySetInnerHTML:{__html:u(d)}},n))},`ul-${a}`));continue}else if(/^\d+\. /.test(r)){const c=[];for(;a<o.length&&/^\d+\. /.test(o[a]);)c.push(o[a].replace(/^\d+\. /,"")),a++;i.push(e.jsx("ol",{className:"list-decimal list-inside space-y-1.5 my-4 text-[14px] text-[#0F0F1A]/70",children:c.map((d,n)=>e.jsx("li",{dangerouslySetInnerHTML:{__html:u(d)}},n))},`ol-${a}`));continue}else r.startsWith("---")?i.push(e.jsx("hr",{className:"my-8 border-[#
2E2E0DA]"},a)):r.trim()===""||i.push(e.jsx("p",{className:"text-[14px] text-[#0F0F1A]/70 leading-relaxed my-3",dangerouslySetInnerHTML:{__html:u(r)}},a));a++}return p&&N(),i},I=t=>{if(t.startsWith("/")&&!t.startsWith("//"))return t;try{const o=new URL(t);return o.protocol==="https:"||o.protocol==="http:"?t:"#"}catch{return"#"}},L=t=>t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),u=t=>L(t).replace(/\[([^\]]+)\]\(([^)]+)\)/g,(o,i,a)=>`<a href="${I(a)}" class="text-[#0066CC] underline underline-offset-2 hover:text-[#004EA3] transition-colors">${i}</a>`).replace(/\*\*([^*]+)\*\*/g,'<strong class="font-semibold text-foreground">$1</strong>');return e.jsxs("div",{className:"min-h-screen bg-[#FAFAF7] text-[#0F0F1A]",children:[e.jsx(W,{title:s.metaTitle,description:s.metaDescription,canonical:`/blog/${s.slug}`,ogType:"article",ogImage:F,schema:E}),e.jsx(B,{}),e.jsxs("article",{className:"max-w-3xl mx-auto px-5 sm:px-8 pt-32 pb-20",children:[e.jsxs(g,{to:"/blog",className:"inline-flex items-center gap-1.5 text-[12px] text-[#0F0F1A]/40 hover:text-[#0066CC] transition-colors mb-8",children:[e.jsx(O,{className:"w-3.5 h-3.5"})," All articles"]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3 mb-5",children:[e.jsxs("span",{className:`inline-flex items-center gap-1 px-2.5 py-1 rounded-full text-[11px] font-medium border ${G[s.category]??"bg-slate-50 text-slate-700 border-slate-100"}`,children:[e.jsx(H,{className:"w-3 h-3"}),s.category]}),e.jsxs("span",{className:"flex items-center gap-1.5 text-[12px] text-[#0F0F1A]/35",children:[e.jsx(C,{className:"w-3.5 h-3.5"}),s.readingTime," min read"]}),e.jsx("span",{className:"text-[12px] text-[#0F0F1A]/35",children:new Date(s.publishDate).toLocaleDateString("en-IN",{day:"numeric",month:"long",year:"numeric"})})]}),e.jsx("h1",{className:"text-3xl sm:text-4xl font-bold text-[#0F0F1A] leading-[1.15] tracking-tight mb-6",children:s.title}),e.jsx("p",{className:"text-[15px] text-[#0F0F1A]/55 leading-relaxed border-l-2 border-[#0066CC] pl-4 mb-10",children:s.excerpt}),e.jsx("div",{className:"prose-container",children:S(s.content)}),e.jsx(q,{}),m.length>0&&e.jsxs("section",{className:"mt-12 rounded-2xl border border-[#E2E0DA] bg-white p-6 sm:p-7","aria-labelledby":"related-product-pages",children:[e.jsx("p",{className:"text-[11px] font-semibold tracking-[0.12em] uppercase text-[#0066CC] mb-2",children:"Studio software"}),e.jsx("h2",{id:"related-product-pages",className:"text-[18px] font-bold text-[#0F0F1A] mb-1.5",children:"Related product pages"}),e.jsx("p",{className:"text-[13px] text-[#0F0F1A]/50 mb-5 leading-relaxed",children:"Prefer a product page over another guide? These landers match this topic and lead to a free trial."}),e.jsx("ul",{className:"space-y-2.5",children:m.map(t=>e.jsx("li",{children:e.jsxs(g,{to:t.href,className:"group flex items-start justify-between gap-3 rounded-xl border border-[#E2E0DA] px-4 py-3.5 hover:border-[#0066CC]/30 hover:bg-[#F8FAFF] transition-all",children:[e.jsxs("span",{children:[e.jsx("span",{className:"block text-[11px] font-medium text-[#0066CC] mb-0.5",children:t.eyebrow}),e.jsx("span",{className:"block text-[14px] font-semibold text-[#0F0F1A] group-hover:text-[#0066CC] transition-colors leading-snug",children:t.title})]}),e.jsx(b,{className:"w-4 h-4 text-[#0F0F1A]/25 group-hover:text-[#0066CC] flex-shrink-0 mt-1 transition-colors"})]})},t.slug))})]}),e.jsxs("div",{className:"mt-10 bg-[#0066CC] rounded-2xl p-7 text-white text-center",children:[e.jsx("p",{className:"text-[13px] font-medium opacity-80 mb-2",children:"Ready to manage your studio professionally?"}),e.jsx("p",{className:"text-xl font-bold mb-5",children:"Studio Mithra — Built for Indian Photography Studios"}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-3",children:[e.jsxs(g,{to:"/auth?tab=signup",className:"inline-flex items-center gap-2 bg-white text-[#0066CC] font-semibold px-6 py-2.5 rounded-lg text-[14px] hover:bg-white/90 transition-colors",children:["Start Free Trial ",e.jsx(b,{className:"w-4 h-4"})]}),m[0]&&e.jsxs(g,{to:m[0].href,className:"inline-flex items-center gap-2 border border-white/40 text-white font-medium px-6 py-2.5 rounded-lg text-[14px] hover:bg-white/10 transition-colors",children:[m[0].eyebrow,e.jsx(b,{className:"w-4 h-4"})]})]})]})]}),j.length>0&&e.jsxs("section",{className:"max-w-3xl mx-auto px-5 sm:px-8 pb-20",children:[e.jsx("h2",{className:"text-[13px] font-semibold tracking-[0.12em] uppercase text-[#0F0F1A]/30 mb-5",children:"Related Articles"}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:j.map(t=>e.jsxs(g,{to:`/blog/${t.slug}
2`,className:"group bg-white border border-[#E2E0DA] rounded-xl p-5 hover:shadow-sm hover:border-[#0066CC]/20 transition-all duration-200",children:[e.jsx("p",{className:"text-[11px] text-[#0066CC] font-medium mb-2",children:t.category}),e.jsx("p",{className:"text-[14px] font-semibold text-[#0F0F1A] group-hover:text-[#0066CC] transition-colors leading-snug mb-2",children:t.title}),e.jsxs("p",{className:"text-[12px] text-[#0F0F1A]/40 flex items-center gap-1",children:[e.jsx(C,{className:"w-3 h-3"})," ",t.readingTime," min"]})]},t.slug))})]}),e.jsx(R,{})]})};export{te as default};

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.