fix: 콘텐츠 캘린더 흐림 현상 수정 — whileInView 제거

SectionWrapper의 motion.section이 opacity:0 initial 상태에서
framer-motion animate가 발동하지 않아 전체 섹션이 투명하게 보이는
문제를 수정. SectionWrapper를 일반 <section>으로 교체하고,
plan 컴포넌트들의 whileInView/viewport 애니메이션 제거.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Haewon KamandClaude Sonnet 4.6 committed 2026-04-14 15:33:34 +09:00
1 parent 7dfa416089
commit 5f7d58c490
7 files changed
+15 -33

No files matched your search

+2 -4
View File
@@ -320,8 +320,7 @@ export default function ContentCalendar({ data, planId, onEntryUpdate }: Content
} ${filterType && !isActive ? 'opacity-40' : ''}`}
onClick={() => toggleFilter(item.type)}
initial={{ opacity: 0, y: 10 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.3, delay: i * 0.07 }}
>
<Icon size={16} className={`${colors.text} opacity-70`} />
@@ -362,8 +361,7 @@ export default function ContentCalendar({ data, planId, onEntryUpdate }: Content
key={week.weekNumber}
className="bg-white rounded-2xl p-5 mb-4 shadow-[3px_4px_12px_rgba(0,0,0,0.06)]"
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.4, delay: weekIdx * 0.1 }}
>
<p className="text-sm font-bold text-[#0A1128] mb-3">{week.label}</p>