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,60 @@
'use client';
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
NavigationPromisesContext: null,
PathParamsContext: null,
PathnameContext: null,
ReadonlyURLSearchParams: null,
SearchParamsContext: null,
createDevToolsInstrumentedPromise: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
NavigationPromisesContext: function() {
return NavigationPromisesContext;
},
PathParamsContext: function() {
return PathParamsContext;
},
PathnameContext: function() {
return PathnameContext;
},
ReadonlyURLSearchParams: function() {
return _readonlyurlsearchparams.ReadonlyURLSearchParams;
},
SearchParamsContext: function() {
return SearchParamsContext;
},
createDevToolsInstrumentedPromise: function() {
return createDevToolsInstrumentedPromise;
}
});
const _react = require("react");
const _readonlyurlsearchparams = require("../../client/components/readonly-url-search-params");
const SearchParamsContext = (0, _react.createContext)(null);
const PathnameContext = (0, _react.createContext)(null);
const PathParamsContext = (0, _react.createContext)(null);
const NavigationPromisesContext = (0, _react.createContext)(null);
function createDevToolsInstrumentedPromise(displayName, value) {
const promise = Promise.resolve(value);
promise.status = 'fulfilled';
promise.value = value;
promise.displayName = `${displayName} (SSR)`;
return promise;
}
if (process.env.NODE_ENV !== 'production') {
SearchParamsContext.displayName = 'SearchParamsContext';
PathnameContext.displayName = 'PathnameContext';
PathParamsContext.displayName = 'PathParamsContext';
NavigationPromisesContext.displayName = 'NavigationPromisesContext';
}
//# sourceMappingURL=hooks-client-context.shared-runtime.js.map