블로그를 시작하며
·2 min read
블로그Next.jsMDX
새로운 시작
안녕하세요! 드디어 개인 기술 블로그를 시작하게 되었습니다.
이 블로그는 Next.js 15와 MDX를 사용해서 만들었는데요, 몇 가지 기술적인 특징을 소개해 드릴게요.
사용된 기술 스택
- Next.js 15: App Router와 RSC (React Server Components)
- MDX: 마크다운에서 React 컴포넌트를 사용할 수 있게 해줍니다
- Tailwind CSS v4: 새로운 oxide 엔진으로 더 빠른 빌드
- Shiki: VSCode 테마를 지원하는 코드 하이라이팅
코드 예시
TypeScript로 간단한 함수를 작성해볼까요?
interface Post {
title: string;
date: string;
content: string;
}
function formatDate(date: string): string {
return new Date(date).toLocaleDateString("ko-KR", {
year: "numeric",
month: "long",
day: "numeric",
});
}
const post: Post = {
title: "Hello World",
date: "2026-01-11",
content: "첫 번째 글입니다!",
};
console.log(formatDate(post.date)); // 2026년 1월 11일React 컴포넌트도 예쁘게 보여줍니다:
export function Button({ children }: { children: React.ReactNode }) {
return (
<button className="px-4 py-2 bg-blue-500 text-white rounded-lg hover:bg-blue-600 transition-colors">
{children}
</button>
);
}앞으로의 계획
이 블로그에서는 다음과 같은 주제들을 다룰 예정입니다:
- 웹 개발 관련 기술 (React, Next.js, TypeScript)
- 백엔드 개발 (Node.js, Go, Rust)
- DevOps와 인프라
- 개발 생산성 도구와 팁
"좋은 코드는 좋은 문서보다 낫고, 좋은 문서는 아예 없는 것보다 낫다."
함께 성장해 나가요!