- Introduced blog routing using Next.js App Router - Implemented dynamic [slug] pages for blog posts - Added MDX-based content loading via lib/posts - Integrated shared TopBar layout with navigation - Established clear content, lib and component separation
12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
import "../global.css";
|
|
import type { ReactNode } from "react";
|
|
|
|
export default function SiteLaytout({ children }: {children: ReactNode}) {
|
|
return (
|
|
<html lang="de">
|
|
<body className="bg-white text-black">
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
} |