diff --git a/src/app/(main)/events/create/steps/ContentEditStep.tsx b/src/app/(main)/events/create/steps/ContentEditStep.tsx index e8d122a..5f8f659 100644 --- a/src/app/(main)/events/create/steps/ContentEditStep.tsx +++ b/src/app/(main)/events/create/steps/ContentEditStep.tsx @@ -11,24 +11,7 @@ import { IconButton, } from '@mui/material'; import { ArrowBack, Edit } from '@mui/icons-material'; - -// 디자인 시스템 색상 -const colors = { - pink: '#F472B6', - purple: '#C084FC', - purpleLight: '#E9D5FF', - blue: '#60A5FA', - mint: '#34D399', - orange: '#FB923C', - yellow: '#FBBF24', - gray: { - 900: '#1A1A1A', - 700: '#4A4A4A', - 500: '#9E9E9E', - 300: '#D9D9D9', - 100: '#F5F5F5', - }, -}; +import { cardStyles, colors, responsiveText } from '@/shared/lib/button-styles'; interface ContentEditStepProps { initialTitle: string; @@ -57,71 +40,73 @@ export default function ContentEditStep({ }; return ( - - + + {/* Header */} - - + + - + 콘텐츠 편집 - + {/* Preview Section */} - + 미리보기 - - - - celebration - - - {title || '제목을 입력하세요'} - - - {prize || '경품을 입력하세요'} - - - {guide || '참여 안내를 입력하세요'} - - + + + + + celebration + + + {title || '제목을 입력하세요'} + + + {prize || '경품을 입력하세요'} + + + {guide || '참여 안내를 입력하세요'} + + + {/* Edit Section */} - + 편집 - - - - - + + + + + 텍스트 편집 - + setGuide(e.target.value)} multiline - rows={3} + rows={4} inputProps={{ maxLength: 100 }} helperText={`${guide.length}/100자`} /> @@ -163,7 +148,7 @@ export default function ContentEditStep({ {/* Action Buttons */} - +