Adds a `m-auto` class to center the blog post content and sets a maximum width of `3xl` for larger screens to improve readability.
17 lines
442 B
TypeScript
17 lines
442 B
TypeScript
import "../globals.css";
|
|
|
|
import Link from "next/link";
|
|
import AnimatedLink from "@/components/animatedLink";
|
|
import Image from "next/image";
|
|
|
|
import MainHeader from "@/components/header/main";
|
|
import MainFooter from "@/components/footer/main";
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div className="m-auto text-base 2xl:w-3xl xl:w-3xl md:w-full">
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|