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 -7
View File
@@ -1,5 +1,4 @@
import type { ReactNode } from 'react';
import { motion } from 'motion/react';
interface SectionWrapperProps {
id: string;
@@ -19,12 +18,8 @@ export function SectionWrapper({
className = '',
}: SectionWrapperProps) {
return (
<motion.section
<section
id={id}
initial={{ opacity: 0, y: 40 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.6, ease: 'easeOut' }}
className={`
${dark
? 'bg-[#0A1128] text-white relative overflow-hidden'
@@ -60,6 +55,6 @@ export function SectionWrapper({
</div>
{children}
</div>
</motion.section>
</section>
);
}