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:
PascalSchattenburg
2026-01-22 14:14:15 +01:00
parent b717952234
commit d147843c76
10412 changed files with 2475583 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
throw new Error(
"This module cannot be imported from a Server Component module. " +
"It should only be used from a Client Component."
);

View File

View File

@@ -0,0 +1,19 @@
{
"name": "client-only",
"description": "This is a marker package to indicate that a module can only be used in Client Components.",
"keywords": [
"react"
],
"version": "0.0.1",
"homepage": "https://reactjs.org/",
"bugs": "https://github.com/facebook/react/issues",
"license": "MIT",
"files": ["index.js", "error.js"],
"main": "index.js",
"exports": {
".": {
"react-server": "./error.js",
"default": "./index.js"
}
}
}