1import{a as p}from"./rolldown-runtime-WehaI0Q3.js";import{i as u,r as b}from"./framer-motion-jKNmEJbT.js";import{c as g,n as t,r as y}from"./router-xXKdKOBo.js";import{t as f}from"./SEO-BkVk-6WM.js";import{i as l,n as o,r as j,t as N}from"./brandCopy-BRuFAwAf.js";var n=p(u(),1),e=b(),v=["dental-seo-agency-2024","local-seo-dentists-market"],R=()=>{const{slug:c}=g(),a=c?.replace(/\/+$/,"")||"",[s,d]=(0,n.useState)(void 0);if((0,n.useEffect)(()=>{a&&d(o.find(r=>r.slug===a)||null)},[a]),s===void 0)return(0,e.jsx)("div",{className:"min-h-screen flex items-center justify-center",children:(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary-600 mx-auto mb-4"}),(0,e.jsx)("p",{className:"text-primary-700",children:"Loading article..."})]})});if(s===null)return(0,e.jsx)(y,{to:"/resources",replace:!0});const m={"@context":"https://schema.org","@type":"Article",headline:s.title,description:s.excerpt,author:l.schema,publisher:{"@type":"Organization",name:"NextDentist",logo:{"@type":"ImageObject",url:"https://nextdentist.com/logo.webp"}},datePublished:s.publishDate,dateModified:s.publishDate,mainEntityOfPage:{"@type":"WebPage","@id":`https://nextdentist.com/resources/article/${s.slug}`},articleSection:s.category,keywords:s.tags.join(", ")},i=o.filter(r=>r.slug!==a).slice(0,2),x=a&&v.includes(a);return(0,e.jsxs)("div",{className:"bg-white",children:[(0,e.jsx)(f,{title:`${s.title} | NextDentist Resources`,description:s.excerpt,keywords:s.tags.join(", "),url:`/resources/article/${s.slug}`,type:"article",schema:m}),(0,e.jsx)("div",{className:"bg-neutral-50 py-4",children:(0,e.jsx)("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,e.jsxs)("nav",{className:"flex items-center space-x-2 text-sm",children:[(0,e.jsx)(t,{to:"/",className:"text-primary-700 hover:text-primary-600 transition-colors",children:"Home"}),(0,e.jsx)("span",{className:"text-secondary-400",children:"â"}),(0,e.jsx)(t,{to:"/resources",className:"text-primary-700 hover:text-primary-600 transition-colors",children:"Resources"}),(0,e.jsx)("span",{className:"text-secondary-400",children:"â"}),(0,e.jsx)("span",{className:"text-secondary-800 font-medium",children:s.category})]})})}),(0,e.jsx)("article",{className:"py-12",children:(0,e.jsxs)("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,e.jsxs)("div",{className:"relative h-64 sm:h-80 lg:h-96 mb-12 rounded-2xl overflow-hidden shadow-2xl",children:[(0,e.jsx)("img",{src:s.image,alt:s.title,className:"w-full h-full object-cover"}),(0,e.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 to-transparent"}),(0,e.jsx)("div",{className:"absolute bottom-6 left-6 right-6",children:(0,e.jsx)("div",{className:"inline-flex items-center px-3 py-1 bg-primary-600 text-white text-sm font-semibold rounded-full mb-4",children:s.category})})]}),(0,e.jsxs)("div",{className:"text-center mb-8",children:[(0,e.jsx)("h1",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-primary mb-6 leading-tight",children:s.title}),(0,e.jsx)("p",{className:"text-xl text-primary-700 leading-relaxed mb-8",children:s.excerpt}),(0,e.jsxs)("div",{className:"flex items-center justify-center space-x-6 text-sm text-primary mb-8",children:[(0,e.jsxs)("div",{className:"flex items-center",children:[(0,e.jsx)("span",{className:"mr-2",children:"ð
"}),s.publishDate]}),(0,e.jsxs)("div",{className:"flex items-center",children:[(0,e.jsx)("span",{className:"mr-2",children:"â±ï¸"}),s.readTime]}),(0,e.jsxs)("div",{className:"flex items-center",children:[(0,e.jsx)("span",{className:"mr-2",children:"ð·ï¸"}),s.category]})]}),(0,e.jsx)("div",{className:"flex flex-wrap justify-center gap-2 mb-8",children:s.tags.map((r,h)=>(0,e.jsx)("span",{className:"px-3 py-1 bg-secondary-100 text-secondary-700 text-sm rounded-full",children:r},h))})]}),(0,e.jsx)("div",{className:"bg-gradient-to-r from-primary-50 to-secondary-50 rounded-2xl p-6 mb-12 border border-primary-200",children:(0,e.jsxs)("div",{className:"flex items-center",children:[(0,e.jsx)("img",{src:l.image,alt:`${l.name} - Dental marketing expert and author at NextDentist`,className:"w-16 h-16 rounded-full object-cover mr-4"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"font-bold text-primary",children:l.name}),(0,e.jsx)("div",{className:"text-primary-700 mb-1",children:l.title}),(0,e.jsx)("div",{className:"text-sm text-primary",children:"8+ years experience ⢠300+ successful projects ⢠98% success rate"})]})]})}),x&&(0,e.jsx)("div",{className:"bg-neutral-50 border border-neutral-200 rounded-2xl p-6 mb-12 space-y-3 text-secondary-700 leading-relaxed",children:N.map(r=>(0,e.jsx)("p",{children:r},r))}),(0,e.jsx)("div",{className:"article-content",dangerouslySetInnerHTML:{__html:s.content}})]})}),(0,e.jsx)(j,{variant:"bio"}),(0,e.jsx)("section",{className:"py-16 bg-gradient-to-br from-red-50 via-orange-50 to-red-50",children:(0,e.jsx)("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,e.jsxs)("div",{className:"bg-white border-2 border-primary-600 rounded-3xl p-8 lg:p-12 shadow-xl",children:[(0,e.jsx)("h3",{className:"text-3xl lg:text-4xl font-bold text-secondary-800 mb-4 text-center",children:"ð Found This Article Helpful?"}),(0,e.jsx)("p",{className:"text-secondary-700 mb-8 text-center text-lg leading-relaxed",children:"We'd love to hear your feedback! Your input helps us create more valuable content for dental professionals like you."}),(0,e.jsxs)("div",{className:"grid md:grid-cols-3 gap-4 mb-8",children:[(0,e.jsx)("button",{onClick:()=>
1alert("Thank you! Your feedback has been recorded."),className:"px-6 py-3 bg-primary-600 text-white rounded-lg font-semibold hover:bg-primary-700 transition-colors",children:"ð Yes, Very Helpful"}),(0,e.jsx)("button",{onClick:()=>alert("Thank you! Your feedback helps us improve."),className:"px-6 py-3 bg-secondary-600 text-white rounded-lg font-semibold hover:bg-secondary-700 transition-colors",children:"ð Somewhat Helpful"}),(0,e.jsx)("button",{onClick:()=>alert("We appreciate your feedback! Please share suggestions."),className:"px-6 py-3 bg-secondary-800 text-white rounded-lg font-semibold hover:bg-secondary-900 transition-colors",children:"ð§ Share Feedback"})]}),(0,e.jsxs)("div",{className:"bg-gradient-to-r from-neutral-50 to-neutral-100 border-l-4 border-primary-600 p-6 rounded-lg mb-6",children:[(0,e.jsxs)("h4",{className:"text-secondary-800 font-bold mb-3 flex items-center",children:[(0,e.jsx)("span",{className:"mr-2",children:"ð¤"}),"Share This Article"]}),(0,e.jsxs)("div",{className:"flex gap-3 flex-wrap",children:[(0,e.jsx)("button",{onClick:()=>{`${s.title}${window.location.href}`,window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(window.location.href)}`,"_blank")},className:"px-4 py-2 bg-white text-secondary-800 rounded-lg font-medium text-sm hover:bg-primary-100 transition-colors border border-neutral-300",children:"LinkedIn"}),(0,e.jsx)("button",{onClick:()=>{window.open(`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(window.location.href)}`,"_blank")},className:"px-4 py-2 bg-white text-secondary-800 rounded-lg font-medium text-sm hover:bg-primary-100 transition-colors border border-neutral-300",children:"Facebook"}),(0,e.jsx)("button",{onClick:()=>{window.open(`https://twitter.com/intent/tweet?url=${encodeURIComponent(window.location.href)}&text=${encodeURIComponent(s.title)}`,"_blank")},className:"px-4 py-2 bg-white text-secondary-800 rounded-lg font-medium text-sm hover:bg-primary-100 transition-colors border border-neutral-300",children:"Twitter"}),(0,e.jsx)("button",{onClick:()=>{navigator.clipboard.writeText(window.location.href),alert("Link copied to clipboard!")},className:"px-4 py-2 bg-white text-secondary-800 rounded-lg font-medium text-sm hover:bg-primary-100 transition-colors border border-neutral-300",children:"Copy Link"})]})]}),(0,e.jsxs)("div",{className:"bg-gradient-to-r from-neutral-50 to-neutral-100 border-l-4 border-secondary-600 p-6 rounded-lg mb-6",children:[(0,e.jsxs)("h4",{className:"text-secondary-800 font-bold mb-2 flex items-center",children:[(0,e.jsx)("span",{className:"mr-2",children:"ð"}),"Get More Insights"]}),(0,e.jsx)("p",{className:"text-secondary-700 text-sm mb-4",children:"Subscribe to our newsletter for the latest dental marketing strategies and industry insights delivered to your inbox."}),(0,e.jsx)(t,{to:"/contact",className:"inline-block px-6 py-2 bg-secondary-600 text-white rounded-lg font-semibold hover:bg-secondary-700 transition-colors text-sm",children:"Subscribe to Newsletter"})]}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center pt-4 border-t border-neutral-200",children:[(0,e.jsxs)(t,{to:"/contact",className:"flex-1 inline-flex items-center justify-center px-6 py-3 bg-primary-600 text-white font-semibold rounded-lg hover:bg-primary-700 transition-colors",children:[(0,e.jsx)("span",{className:"mr-2",children:"ð"}),"Get Free Consultation"]}),(0,e.jsxs)(t,{to:"/resources",className:"flex-1 inline-flex items-center justify-center px-6 py-3 border-2 border-primary-600 text-primary-600 font-semibold rounded-lg hover:bg-primary-600 hover:text-white transition-colors",children:[(0,e.jsx)("span",{className:"mr-2",children:"ð"}),"More Articles"]})]})]})})}),i.length>0&&(0,e.jsx)("section",{className:"py-16 bg-gradient-to-br from-primary-50 to-secondary-50",children:(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,e.jsxs)("div",{className:"text-center mb-12",children:[(0,e.jsx)("h2",{className:"text-3xl font-bold text-primary mb-4",children:"Related Articles"}),(0,e.jsx)("p",{className:"text-primary-700",children:"Continue learning with these related dental marketing insights"})]}),(0,e.jsx)("div",{className:"grid md:grid-cols-2 gap-8",children:i.map(r=>(0,e.jsxs)("article",{className:"bg-white rounded-2xl shadow-lg hover:shadow-2xl transition-all duration-300 border border-neutral-100 overflow-hidden group",children:[(0,e.jsxs)("div",{className:"relative h-48 overflow-hidden",children:[(0,e.jsx)("img",{src:r.image,alt:r.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"}),(0,e.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"}),(0,e.jsx)("div",{className:"absolute top-4 left-4",children:(0,e.jsx)("span",{className:"px-3 py-1 bg-primary-600 text-white text-xs font-bold rounded-full shadow-lg",children:r.category})}),(0,e.jsx)("div",{className:"absolute bottom-4 left-4 text-white",children:(0,e.jsx)("div",{className:"text-sm font-medium bg-black/30 px-2 py-1 rounded backdrop-blur-sm",children:r.readTime})})]}),(0,e.jsxs)("div",{className:"p-6",children:[(0,e.jsx)("h3",{className:"text-xl font-bold text-primary mb-3 group-hover:text-primary-600 transition-colors",children:r.title}),(0,e.jsx)("p",{className:"text-primary-700 mb-4 leading-relaxed",children:r.excerpt}),(0,e.jsxs)(t,{to:`/resources/article/${r.slug}`,className:"inline-flex items-center text-primary-600 hover:text-primary-700 font-semibold transition-colors",children:["Read Article",(0,e.jsx)("span",{className:"ml-2 group-hover:translate-x-1 transition-transform",children:"â"})]})]})]},r.slug))}),(0,e.jsx)("div",{className:"text-center mt-12",children:(0,e.jsxs)(t,{to:"/resources",className:"inline-flex items-center px-8 py-4 bg-primary-600 text-white font-semibold rounded-xl hover:bg-primary-700 transition-colors shadow-lg hover:shadow-xl",children:[(0,e.jsx)("span",{className:"mr-2",children:"ð"}),"View All Resources"]})})]})})]})};export{R 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.