import{a as e}from"./query-BtP_B6q9.js";import{r as t}from"./react-CdhQMFNz.js";import{v as n}from"./Logo-CWvlQZMc.js";import{o as r}from"./main-DV3J5_jb.js";var i=e(),a=[{to:`/settings`,label:`Profile`,end:!0},{to:`/settings/security`,label:`Security`},{to:`/settings/seller`,label:`Selling`}];function o({title:e,description:o,children:s}){return(0,i.jsx)(r,{children:(0,i.jsxs)(`div`,{className:`container-page py-10 lg:py-14`,children:[(0,i.jsxs)(`div`,{className:`mb-8`,children:[(0,i.jsx)(`h1`,{className:`text-2xl font-semibold tracking-[-0.02em] text-text-primary`,children:`Account settings`}),(0,i.jsx)(`p`,{className:`mt-1.5 text-sm text-text-secondary`,children:`Manage your profile, security and selling setup.`})]}),(0,i.jsxs)(`div`,{className:`flex flex-col gap-8 lg:flex-row lg:gap-12`,children:[(0,i.jsx)(`nav`,{"aria-label":`Settings sections`,className:`-mx-4 overflow-x-auto px-4 lg:mx-0 lg:w-56 lg:shrink-0 lg:overflow-visible lg:px-0`,children:(0,i.jsx)(`ul`,{className:`flex gap-1 border-b border-border-subtle pb-px lg:flex-col lg:border-b-0 lg:pb-0`,children:a.map(e=>(0,i.jsx)(`li`,{className:`shrink-0 lg:w-full`,children:(0,i.jsx)(t,{to:e.to,end:e.end??!1,className:({isActive:e})=>n(`block rounded-md px-3 py-2 text-sm font-medium whitespace-nowrap transition-colors duration-150`,e?`bg-surface-sunken text-text-primary`:`text-text-secondary hover:bg-surface-hover hover:text-text-primary`),children:e.label})},e.to))})}),(0,i.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,i.jsxs)(`div`,{className:`mb-6`,children:[(0,i.jsx)(`h2`,{className:`text-lg font-semibold text-text-primary`,children:e}),o!==void 0&&(0,i.jsx)(`p`,{className:`mt-1 text-sm text-text-secondary`,children:o})]}),(0,i.jsx)(`div`,{className:`flex flex-col gap-6`,children:s})]})]})]})})}export{o as t};
//# sourceMappingURL=SettingsLayout-BMzqkZNT.js.map