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

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