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,21 @@
/**
* Manages unhandled rejection listeners to intelligently filter rejections
* from aborted prerenders when cache components are enabled.
*
* THE PROBLEM:
* When we abort prerenders we expect to find numerous unhandled promise rejections due to
* things like awaiting Request data like `headers()`. The rejections are fine and should
* not be construed as problematic so we need to avoid the appearance of a problem by
* omitting them from the logged output.
*
* THE STRATEGY:
* 1. Install a filtering unhandled rejection handler
* 2. Intercept process event methods to capture new handlers in our internal queue
* 3. For each rejection, check if it comes from an aborted prerender context
* 4. If yes, suppress it. If no, delegate to all handlers in our queue
* 5. This provides precise filtering without time-based windows
*
* This ensures we suppress noisy prerender-related rejections while preserving
* normal error logging for genuine unhandled rejections.
*/
export {};