scoresaber-reloaded-v2/src/components/Container.tsx

18 lines
517 B
TypeScript
Raw Normal View History

2023-10-21 21:16:46 +00:00
import { ToastContainer } from "react-toastify";
2023-10-20 10:54:20 +00:00
import Footer from "./Footer";
2023-10-19 04:21:35 +00:00
import Navbar from "./Navbar";
export default function Container({ children }: { children: React.ReactNode }) {
return (
<>
2023-10-21 21:16:46 +00:00
<ToastContainer className="z-50" position="top-right" theme="dark" />
2023-10-20 10:54:20 +00:00
<div className="m-auto flex h-screen min-h-full flex-col items-center opacity-90 md:max-w-[1200px]">
<Navbar />
<div className="w-full flex-1">{children}</div>
<Footer />
2023-10-19 04:21:35 +00:00
</div>
</>
);
}