import{j as e,d as r}from"./app-BBZbvTSO.js";import{H as i}from"./heading-D7WRqD78.js";import{B as n}from"./button-CZmOQP7j.js";import{S as o}from"./separator-BzKY_P4f.js";import{c}from"./utils-YhN_nlHn.js";const d=[{title:"Profile",href:"/settings/profile",icon:null},{title:"Password",href:"/settings/password",icon:null},{title:"Appearance",href:"/settings/appearance",icon:null}];function u({children:a}){if(typeof window>"u")return null;const t=window.location.pathname;return e.jsxs("div",{children:[e.jsx(i,{title:"Settings",description:"Manage your profile and account settings"}),e.jsxs("div",{className:"flex flex-col lg:flex-row lg:space-y-0 lg:space-x-12",children:[e.jsx("aside",{className:"w-full lg:w-48",children:e.jsx("nav",{className:"flex flex-col space-y-1 space-x-0",children:d.map((s,l)=>e.jsx(n,{size:"sm",variant:"ghost",asChild:!0,className:c("w-full justify-start",{"bg-muted":t===s.href}),children:e.jsx(r,{href:s.href,children:s.title})},`${s.href}-${l}`))})}),e.jsx(o,{className:"my-6 md:hidden"}),e.jsx("div",{className:"flex-1 md:max-w-2xl",children:e.jsx("section",{className:"max-w-xl space-y-12",children:a})})]})]})}export{u as S};
