import { Layout, LayoutContent, LayoutHeader } from "@/components";
import { PropsWithChildren } from "react";
import { CatalogProvider } from "./CatalogContext";

export const CatalogLayout = ({ children }: PropsWithChildren) => {
  return (
    <CatalogProvider>
      <Layout>
        <LayoutHeader />
        <LayoutContent>{children}</LayoutContent>
      </Layout>
    </CatalogProvider>
  );
};
