import { jsx, jsxs } from "react/jsx-runtime";
import { FlashMessages } from "../backend/FlashMessages.js";
function FrontendLayout({ header, footer, children }) {
  return /* @__PURE__ */ jsxs("div", { className: "min-h-svh flex flex-col", children: [
    /* @__PURE__ */ jsx(FlashMessages, {}),
    header ? /* @__PURE__ */ jsx("div", { className: "border-b bg-background/80", children: header }) : null,
    /* @__PURE__ */ jsx("div", { className: "flex-1 min-h-0", children }),
    footer ? /* @__PURE__ */ jsx("div", { className: "border-t bg-background/80", children: footer }) : null
  ] });
}
export {
  FrontendLayout
};
//# sourceMappingURL=Layout.js.map
