Hello World
by asimon
introductionblognextjs
First post!
title: "Hello World" date: "2025-07-26" summary: "First post!" tags: ["introduction", "blog", "nextjs"] author: "asimon" published: true
Hello World
Welcome to my new blog! This is my first post using MDX with Next.js and static export.
What's This Blog About?
This blog will cover:
- 🚀 Web development with modern frameworks
- ☁️ Cloud infrastructure and AWS
- 📝 Technical writing and documentation
- 🛠️ Developer tools and productivity
Technical Stack
This blog is built with:
- Next.js 15 with App Router
- MDX for rich content with React components
- TypeScript for type safety
- Tailwind CSS for styling
- AWS S3 + CloudFront for hosting
- Cloudflare for DNS management
Interactive Example
Here's a simple React component embedded in MDX:
📊 Blog Stats
- Posts published: 2
- Technologies: Next.js, MDX, AWS
- Build time: 8/17/2025, 3:46:38 AM
Code Examples
Here's a TypeScript function for reading blog posts:
export function getAllPosts(): PostMetadata[] {
const fileNames = fs
.readdirSync(postsDirectory)
.filter(name => name.endsWith(".mdx"));
return fileNames.map(fileName => {
const slug = fileName.replace(/\.mdx$/, "");
const fullPath = path.join(postsDirectory, fileName);
const fileContents = fs.readFileSync(fullPath, "utf8");
const matterResult = matter(fileContents);
return {
slug,
...matterResult.data,
} as PostMetadata;
});
}
What's Next?
Stay tuned for more posts about:
- Setting up CI/CD pipelines
- Advanced Next.js patterns
- AWS infrastructure as code
- Performance optimization techniques
Thanks for reading! 🎉