diff --git a/src/app/(main)/event/_components/index.ts b/src/app/(main)/event/_components/index.ts
index 99d3bc07..c044e58a 100644
--- a/src/app/(main)/event/_components/index.ts
+++ b/src/app/(main)/event/_components/index.ts
@@ -3,6 +3,6 @@ export * from './carousel'
export * from './create-post-button'
export * from './gallery'
export * from './hero'
-export * from './instagram'
+export * from './instagram-area'
export * from './post-list'
export * from './view-selector'
diff --git a/src/app/(main)/event/_components/instagram/Instagram.tsx b/src/app/(main)/event/_components/instagram-area/InstagramArea.tsx
similarity index 93%
rename from src/app/(main)/event/_components/instagram/Instagram.tsx
rename to src/app/(main)/event/_components/instagram-area/InstagramArea.tsx
index 585c00ab..b20ac3d4 100644
--- a/src/app/(main)/event/_components/instagram/Instagram.tsx
+++ b/src/app/(main)/event/_components/instagram-area/InstagramArea.tsx
@@ -5,7 +5,7 @@ import { useEffect, useState } from 'react'
import { OpenInNewWindowIcon } from '@radix-ui/react-icons'
import Image from 'next/image'
-export const Instagram = () => {
+export const InstagramArea = () => {
const [itemCount, setItemCount] = useState(12)
useEffect(() => {
@@ -17,11 +17,9 @@ export const Instagram = () => {
}
}
- // 초기화 및 이벤트 리스너 설정
updateItemCount()
window.addEventListener('resize', updateItemCount)
- // 이벤트 리스너 정리
return () => {
window.removeEventListener('resize', updateItemCount)
}
diff --git a/src/app/(main)/event/_components/instagram-area/index.ts b/src/app/(main)/event/_components/instagram-area/index.ts
new file mode 100644
index 00000000..2b4fd15f
--- /dev/null
+++ b/src/app/(main)/event/_components/instagram-area/index.ts
@@ -0,0 +1 @@
+export { InstagramArea as EventInstagramArea } from './InstagramArea'
diff --git a/src/app/(main)/event/_components/instagram/index.ts b/src/app/(main)/event/_components/instagram/index.ts
deleted file mode 100644
index 2b98192a..00000000
--- a/src/app/(main)/event/_components/instagram/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { Instagram as EventInstagram } from './Instagram'
diff --git a/src/app/(main)/event/page.tsx b/src/app/(main)/event/page.tsx
index 55a3f6d5..13c2f2e3 100644
--- a/src/app/(main)/event/page.tsx
+++ b/src/app/(main)/event/page.tsx
@@ -7,7 +7,7 @@ import {
EventBoardHero,
EventGallery,
EventHero,
- EventInstagram,
+ EventInstagramArea,
EventPostList,
EventViewSelector,
} from './_components'
@@ -33,7 +33,7 @@ const EventPage = () => {
-
+
)
}