import { PropsWithChildren } from "react";
import { Navbar } from "../components/Navbar";

export const MainLayout = ({ children }: PropsWithChildren) => {
  return (
    <div className="h-screen w-11/12 xl:w-2/3 mx-auto overflow-x-hidden">
      <Navbar />
      <main className="mx-10">{children}</main>
    </div>
  );
};
