+ );
+};
diff --git a/src/features/main/ui/index.ts b/src/features/main/ui/index.ts
new file mode 100644
index 0000000..5e81e20
--- /dev/null
+++ b/src/features/main/ui/index.ts
@@ -0,0 +1 @@
+export * from './PostListSection';
diff --git a/src/features/post/contents/dom-api.mdx b/src/features/post/contents/dom-api.mdx
index 5481a12..8394a2e 100644
--- a/src/features/post/contents/dom-api.mdx
+++ b/src/features/post/contents/dom-api.mdx
@@ -33,26 +33,29 @@ DOM API를 사용해 요소를 찾을 때는, 항상 모든 것의 시작점인
### 단일 요소 선택 (하나만 찾기)
-- **`document.getElementById('id이름')`**
- - 가장 빠르고 고전적인 방법. 고유한 `id` 속성 값으로 요소를 찾는다.
- - `id`는 문서에서 유일해야 하므로, 항상 하나의 요소만 반환한다.
- ```tsx
- // id가 "color"인 요소를 찾아서 $color 변수에 담는다.
- const $color = document.getElementById('color');
- console.log($color); //
...
- ```
-- **`document.querySelector('CSS 선택자')`**
-
- - `id`, `class`, `태그 이름` 등 **CSS 선택자 문법**을 그대로 사용해서 요소를 찾는다.
- - 조건을 만족하는 요소가 여러 개라도, **가장 첫 번째 요소 하나만** 반환한다.
-
- ```jsx
- // class가 "animal-info"인 div 요소를 찾는다.
- const $animalInfo = document.querySelector('div.animal-info');
-
- // id가 "age"인 div 요소를 찾는다.
- const $age = document.querySelector('div#age');
- ```
+**`document.getElementById('id이름')`**
+
+- 가장 빠르고 고전적인 방법. 고유한 `id` 속성 값으로 요소를 찾는다.
+- `id`는 문서에서 유일해야 하므로, 항상 하나의 요소만 반환한다.
+
+```tsx
+// id가 "color"인 요소를 찾아서 $color 변수에 담는다.
+const $color = document.getElementById('color');
+console.log($color); //
...
+```
+
+**`document.querySelector('CSS 선택자')`**
+
+- `id`, `class`, `태그 이름` 등 **CSS 선택자 문법**을 그대로 사용해서 요소를 찾는다.
+- 조건을 만족하는 요소가 여러 개라도, **가장 첫 번째 요소 하나만** 반환한다.
+
+```jsx
+// class가 "animal-info"인 div 요소를 찾는다.
+const $animalInfo = document.querySelector('div.animal-info');
+
+// id가 "age"인 div 요소를 찾는다.
+const $age = document.querySelector('div#age');
+```
### 여러 요소 선택 (조건에 맞는 것 모두 찾기)
diff --git a/src/features/post/ui/PostHeaderSection.tsx b/src/features/post/ui/PostHeaderSection.tsx
index fa9609f..a1634ff 100644
--- a/src/features/post/ui/PostHeaderSection.tsx
+++ b/src/features/post/ui/PostHeaderSection.tsx
@@ -1,3 +1,4 @@
+import { getCategoryColor } from '@/shared/utils';
import { CalendarDays } from 'lucide-react';
import { PostHeader } from '@/entities';
@@ -7,20 +8,6 @@ type PostHeaderSectionProps = {
};
export const PostHeaderSection = ({ post }: PostHeaderSectionProps) => {
- // 카테고리별 색상 매핑
- const getCategoryColor = (category: string) => {
- switch (category.toLowerCase()) {
- case 'develop':
- return 'text-blog-blue';
- case 'daily':
- return 'text-blog-pink';
- case 'review':
- return 'text-blog-purple';
- default:
- return 'text-blog-green';
- }
- };
-
return (
diff --git a/src/shared/components/features/index.ts b/src/shared/components/features/index.ts
index b9cb10f..98a95ae 100644
--- a/src/shared/components/features/index.ts
+++ b/src/shared/components/features/index.ts
@@ -1,4 +1,2 @@
-export * from './card';
export * from './layout';
export * from './mdx';
-export * from './tabs';
diff --git a/src/shared/components/features/layout/Footer.tsx b/src/shared/components/features/layout/Footer.tsx
index 5483d9f..f0b787b 100644
--- a/src/shared/components/features/layout/Footer.tsx
+++ b/src/shared/components/features/layout/Footer.tsx
@@ -2,16 +2,16 @@ import Link from 'next/link';
export const Footer = () => {
return (
-