import{u as p,r as n,j as s,f as c}from"./vendor-BKmmeuxg.js";import{B as d}from"./button-BpNwv2aE.js";import{C as x}from"./card-D9_SJYq6.js";import{S as f}from"./scroll-area-C8HGru-R.js";import{S as h,a as j,b as u}from"./sheet-DSvHVmaW.js";import{u as N}from"./use-screen-DU5n3V8C.js";import{L as g}from"./landing-layout-DQFYAk24.js";import{g as S}from"./route-B4ZMN77y.js";import i from"./blog-filter-BFW1r06Z.js";import"./index-WW_1X1qx.js";import"./utils-DxSsnXxD.js";import"./index-CupQom6K.js";import"./app-logo-CmnEIwal.js";import"./main-_V386djS.js";import"./index-D9-QKOod.js";import"./dropdown-menu-DO-po5c1.js";import"./use-auth-NG-DQJrC.js";import"./appearance-D2z3xcjR.js";import"./app-BytVvUs_.js";/* empty css            */import"./language-BFZ7KItL.js";import"./separator-_3LZ_wAA.js";import"./notification-CYMPYbAP.js";import"./popover-B4kBsMuI.js";import"./profile-toggle-CvHrFE0q.js";import"./avatar-j28afJTV.js";import"./index.browser-OxPLOBIU.js";import"./search-input-D2aHQefO.js";import"./debounce-CWHP_ANh.js";import"./radio-group-C0C2vfl-.js";const Z=({children:o})=>{const{url:m,props:a}=p(),{category:e}=a,[l,r]=n.useState(!1);S(m);const{screen:t}=N();return s.jsx(g,{customizable:!1,children:s.jsxs("div",{className:"container flex items-start gap-6 py-6",children:[t>768&&s.jsx(x,{className:"sticky top-24 w-64 p-4",children:s.jsx(i,{})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("div",{className:"mb-6 flex items-center justify-between",children:s.jsxs("div",{className:"flex items-center gap-2",children:[t<768&&s.jsxs(h,{open:l,onOpenChange:r,children:[s.jsx(j,{asChild:!0,children:s.jsx(d,{size:"icon",variant:"outline",children:s.jsx(c,{className:"h-5 w-5"})})}),s.jsx(u,{side:"left",className:"border-border w-[220px]",children:s.jsx(f,{className:"h-full",children:s.jsx(i,{setOpen:r})})})]}),s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold capitalize",children:[e?e==null?void 0:e.name:"All"," Blogs"]}),e&&e.description&&s.jsx("p",{className:"text-muted-foreground mt-1 text-sm",children:e==null?void 0:e.description})]})]})}),o]})]})})};export{Z as default};
