Skip to content

Commit e07d32b

Browse files
committed
feat(blog): add blog post pages and listing
1 parent 1386448 commit e07d32b

File tree

9 files changed

+2478
-7
lines changed

9 files changed

+2478
-7
lines changed

.vscode/mcp.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@
22
"servers": {
33
"next-devtools": {
44
"command": "pnpx",
5-
"args": ["next-devtools-mcp@latest"]
5+
"args": [
6+
"next-devtools-mcp@latest"
7+
]
68
},
79
"Sanity": {
810
"url": "https://mcp.sanity.io",
911
"type": "http"
12+
},
13+
"shadcn": {
14+
"command": "pnpx",
15+
"args": [
16+
"shadcn@latest",
17+
"mcp"
18+
]
1019
}
1120
}
1221
}

content/blog/hello-world.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: "Hello World - My First Blog Post"
3+
date: "2024-01-15"
4+
excerpt: "Welcome to my blog! This is my first post where I introduce myself and share my thoughts on web development."
5+
---
6+
7+
# Hello World!
8+
9+
Welcome to my blog! I'm excited to share my thoughts, experiences, and learnings about web development, design, and technology.
10+
11+
## What You Can Expect
12+
13+
In this blog, I'll be writing about:
14+
15+
- Web development trends and best practices
16+
- My experiences building projects
17+
- Tutorials and code snippets
18+
- Design inspiration and insights
19+
- Technology reviews and opinions
20+
21+
## Getting Started
22+
23+
This blog is built with Next.js and styled with Tailwind CSS, just like the rest of my portfolio. I'll be using Markdown for writing posts, which makes it easy to format content and include code snippets.
24+
25+
```typescript
26+
const welcomeMessage = "Hello, world!";
27+
console.log(welcomeMessage);
28+
```
29+
30+
Thank you for visiting, and I hope you find the content valuable. Stay tuned for more posts!

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@
3030
"canvas-confetti": "^1.9.4",
3131
"class-variance-authority": "^0.7.1",
3232
"clsx": "^2.1.1",
33+
"gray-matter": "^4.0.3",
3334
"lucide-react": "^0.555.0",
3435
"motion": "^12.23.24",
3536
"next": "16.0.5",
37+
"next-mdx-remote": "^5.0.0",
3638
"next-sanity": "^11.6.10",
3739
"next-themes": "^0.4.6",
3840
"react": "19.2.0",
@@ -52,6 +54,7 @@
5254
"eslint": "^9.39.1",
5355
"eslint-config-next": "16.0.5",
5456
"postcss": "^8.5.6",
57+
"shadcn": "^3.5.1",
5558
"tailwindcss": "^4.1.17",
5659
"tw-animate-css": "^1.4.0",
5760
"typescript": "^5.9.3"

0 commit comments

Comments
 (0)