Hello World
Hello World!
Welcome to my brand new blog built with Next.js 15, styled with Tailwind CSS, and now powered by MDX!
What's New?
This blog has been upgraded to use MDX, which means we can now use React components directly in our posts! This opens up exciting possibilities for interactive content.
What's This Blog About?
This blog will cover topics related to:
- Web development
- Next.js
- React
- UI/UX design
- And much more!
Code Example
Here's a simple React component with beautiful syntax highlighting:
// A simple React component
function Greeting({ name }) {
return <h1>Hello, {name}!</h1>;
}
export default Greeting;Pro Tip
Notice the beautiful syntax highlighting? That's powered by Shiki and rehype-pretty-code!
Interactive Features
With MDX, we can now add interactive elements to blog posts. Here are some examples:
Callouts for Important Information
Important Note
Make sure to always test your code before deploying to production!
Multi-language Code Examples
JavaScript:
const greeting = (name) => {
console.log(`Hello, ${name}!`);
};
greeting('World');TypeScript:
const greeting = (name: string): void => {
console.log(`Hello, ${name}!`);
};
greeting('World');Python:
def greeting(name: str) -> None:
print(f"Hello, {name}!")
greeting("World")What's Next?
Stay tuned for more posts about modern web development techniques and best practices.
Thanks for reading! Feel free to explore other posts on this blog.
Share this article
Help others discover this content