import{r as e,t}from"./jsx-runtime-BbTa8W_M-1776590214964.js";import{n}from"./app-CXDQ5oEH-1776590214964.js";import{n as r,t as i}from"./card-Cby8flFO-1776590214964.js";import{t as a}from"./UserLayout-_fUPnQhO-1776590214964.js";e();var o=t();function s({page:e}){return e?(0,o.jsxs)(a,{children:[(0,o.jsx)(n,{title:e.title}),(0,o.jsxs)(`div`,{className:`w-full py-4 sm:py-8`,children:[(0,o.jsx)(`h1`,{className:`text-3xl md:text-5xl font-black tracking-tight mb-8 text-foreground`,children:e.title}),(0,o.jsx)(i,{className:`shadow-sm border-border/50 bg-card overflow-hidden`,children:(0,o.jsx)(r,{className:`p-6 md:p-10 lg:p-12`,children:(0,o.jsx)(`div`,{className:`prose prose-sm sm:prose-base lg:prose-lg dark:prose-invert max-w-none prose-img:rounded-2xl prose-img:border prose-headings:text-foreground prose-p:text-muted-foreground prose-strong:text-foreground`,dangerouslySetInnerHTML:{__html:e.content||`<p class="text-muted-foreground italic">No content provided.</p>`}})})})]})]}):null}export{s as default};