feat(blog): add file-based blog with dynamic slugs, MDX content and layout shell
- 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
This commit is contained in:
12
apps/public-web/app/(site)/layout.tsx
Normal file
12
apps/public-web/app/(site)/layout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user