import{$ as e,O as t,n,t as r}from"./Fade-Bj1YUcWe.js";import{n as i,t as a}from"./Box-BoFhqo9n.js";import{r as o}from"./siteStore-BLhBstND.js";import{x as s}from"./index-BTWPkaRa.js";import{t as c}from"./LazyImage-CunJC6i3.js";var l=e();function u(){let{config:e}=o();return(0,l.jsx)(r,{in:!0,timeout:500,children:(0,l.jsx)(s,{maxWidth:`lg`,sx:{py:{xs:4,md:8},pb:{xs:8,md:12}},children:(0,l.jsxs)(i,{elevation:0,sx:{p:{xs:3,md:6},borderRadius:1,textAlign:`center`,background:e=>`linear-gradient(135deg, ${e.palette.background.paper} 0%, ${e.palette.background.default} 100%)`,boxShadow:e=>e.palette.mode===`light`?`0 8px 40px ${t(e.palette.primary.main,.1)}`:`0 8px 40px ${t(e.palette.common.black,.3)}`},children:[e.logo?(0,l.jsx)(a,{sx:{width:{xs:96,sm:120},height:{xs:96,sm:120},mx:`auto`,mb:3,borderRadius:`50%`,overflow:`hidden`,boxShadow:e=>`0 8px 32px ${t(e.palette.primary.main,.3)}`},children:(0,l.jsx)(c,{src:e.logo,alt:e.author,objectFit:`cover`,placeholder:`color`,style:{borderRadius:`50%`}})}):null,(0,l.jsx)(n,{variant:`h3`,component:`h1`,sx:{fontWeight:800,mb:2,fontSize:{xs:`1.75rem`,sm:`2.5rem`,md:`3rem`},overflowWrap:`break-word`},children:e.author}),e.about?.subtitle&&(0,l.jsx)(n,{variant:`h6`,color:`primary.main`,sx:{mb:3,fontWeight:500,fontSize:{xs:`1rem`,sm:`1.25rem`},overflowWrap:`break-word`},children:e.about.subtitle}),e.about?.bio&&(0,l.jsx)(n,{variant:`body1`,color:`text.secondary`,sx:{lineHeight:1.8,maxWidth:{xs:`100%`,sm:600},mx:`auto`,fontSize:{xs:`0.875rem`,sm:`1rem`},overflowWrap:`break-word`},children:e.about.bio}),e.about?.tags&&e.about.tags.length>0&&(0,l.jsx)(a,{sx:{mt:4,display:`flex`,justifyContent:`center`,gap:{xs:1,sm:2},flexWrap:`wrap`},children:e.about.tags.map(e=>(0,l.jsx)(n,{variant:`body2`,sx:{px:{xs:1.5,sm:2},py:.75,borderRadius:1,backgroundColor:e=>t(e.palette.primary.main,e.palette.mode===`light`?.1:.2),color:`primary.main`,fontWeight:500,overflowWrap:`break-word`,maxWidth:`100%`},children:e},e))})]})})})}export{u as About};