2024-02-24 09:33:35 +00:00
|
|
|
import { Box, Container } from "@mui/material";
|
|
|
|
import { ReactNode } from "react";
|
|
|
|
|
2024-02-24 13:56:35 +00:00
|
|
|
export default function PostLayout({
|
|
|
|
children,
|
|
|
|
}: Readonly<{
|
2024-02-24 09:33:35 +00:00
|
|
|
children: ReactNode;
|
|
|
|
}>) {
|
|
|
|
return (
|
2024-02-24 10:29:29 +00:00
|
|
|
<Container sx={{ display: "flex", justifyContent: "center", gap: 4, py: 2 }}>
|
2024-02-24 13:56:35 +00:00
|
|
|
<Box sx={{ flexGrow: 1, maxWidth: 720 }}>{children}</Box>
|
2024-02-24 09:33:35 +00:00
|
|
|
</Container>
|
2024-02-24 13:56:35 +00:00
|
|
|
);
|
|
|
|
}
|