Capital/app/posts/layout.tsx

14 lines
366 B
TypeScript
Raw Normal View History

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