"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react"),o=require("./Header.js"),c=require("./Sidebar/AdminSidebar.js"),a=require("../node_modules/.pnpm/twin.macro@2.8.2/node_modules/twin.macro/macro.js"),d=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},t=d(l);function u({menuData:e,userData:r,subNav:s,...n}){return t.default.createElement(t.default.Fragment,null,t.default.createElement("div",{css:i.container({hasBackground:!0})},t.default.createElement(c.AdminSidebar,{menuData:e,userData:r}),t.default.createElement("div",{tw:"flex flex-col flex-1 w-full"},t.default.createElement(o.Header,null),t.default.createElement("main",{tw:"relative flex-1 h-full p-6 overflow-y-auto min-h-content"},n.children))))}const i={container:({hasBackground:e})=>[a`relative flex h-screen bg-slate-50 dark:bg-gray-900`,e&&a`bg-gradient-to-b from-electric to-ribbon`]};exports.AdminLayout=u;
//# sourceMappingURL=AdminLayout.js.map
