portfolio/src/app/layout.tsx
apatil ec7da2c831
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Adding supprot to display code blocks in posts.
2025-05-06 19:21:41 +01:00

35 lines
721 B
TypeScript

import 'highlight.js/styles/atom-one-dark.css';
import type { Metadata } from "next";
import "./globals.css";
import Header from "@/components/Header/Header";
import { ThemeContext } from "@/theme/ThemeContext";
import { Box } from "@mui/material";
export const metadata: Metadata = {
title: "The Coding Grizzly",
description: "Fun interactive coding platform",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<body>
<ThemeContext>
<Header />
<Box sx={{ mt: '3rem' }}>
{children}
</Box>
</ThemeContext>
</body>
</html >
);
}