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:
26
apps/public-web/node_modules/next/dist/shared/lib/promise-with-resolvers.js
generated
vendored
Normal file
26
apps/public-web/node_modules/next/dist/shared/lib/promise-with-resolvers.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "createPromiseWithResolvers", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return createPromiseWithResolvers;
|
||||
}
|
||||
});
|
||||
function createPromiseWithResolvers() {
|
||||
// Shim of Stage 4 Promise.withResolvers proposal
|
||||
let resolve;
|
||||
let reject;
|
||||
const promise = new Promise((res, rej)=>{
|
||||
resolve = res;
|
||||
reject = rej;
|
||||
});
|
||||
return {
|
||||
resolve: resolve,
|
||||
reject: reject,
|
||||
promise
|
||||
};
|
||||
}
|
||||
|
||||
//# sourceMappingURL=promise-with-resolvers.js.map
|
||||
Reference in New Issue
Block a user