- 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
9 lines
248 B
JavaScript
9 lines
248 B
JavaScript
/**
|
|
* Wait for a given number of milliseconds and then resolve.
|
|
*
|
|
* @param ms the number of milliseconds to wait
|
|
*/ export async function wait(ms) {
|
|
return new Promise((resolve)=>setTimeout(resolve, ms));
|
|
}
|
|
|
|
//# sourceMappingURL=wait.js.map
|