From f2d533df09f75fd5d7a48e1b4a36b922478a263d Mon Sep 17 00:00:00 2001 From: cherry2250 Date: Mon, 27 Oct 2025 16:18:46 +0900 Subject: [PATCH] =?UTF-8?q?ContentEditStep=20=ED=8E=98=EC=9D=B4=EC=A7=80?= =?UTF-8?q?=20=EB=94=94=EC=9E=90=EC=9D=B8=20=ED=86=B5=EC=9D=BC=20=EB=B0=8F?= =?UTF-8?q?=20=EC=B9=B4=EB=93=9C=20=ED=81=AC=EA=B8=B0=20=EB=8F=99=EC=9D=BC?= =?UTF-8?q?=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 공통 디자인 시스템에 맞춰 ContentEditStep 페이지를 리디자인하고 미리보기/편집 카드의 높이를 동일하게 조정했습니다. 주요 변경사항: - cardStyles, colors, responsiveText 공통 디자인 시스템 적용 - 페이지 배경: colors.gray[50] - 양쪽 카드에 height: '100%' 추가하여 크기 동일화 - 카드 패딩: p: { xs: 6, sm: 8 }로 통일 - Grid spacing: 6으로 증가 - 헤더 및 섹션 여백 통일 (mb: 10, mb: 6) - 미리보기 아이콘 크기 64px, 색상 purple 적용 - Edit 아이콘 색상 purple 적용 - TextField rows 4로 증가 (참여안내 입력 공간 확대) - 버튼 상단 여백 mt: 10으로 증가 반응형 타이포그래피 적용: - 헤더: responsiveText.h3 - 섹션 제목: responsiveText.h4 - 본문 텍스트: responsiveText.body1, body2 --- .../events/create/steps/ContentEditStep.tsx | 109 ++++++++---------- 1 file changed, 47 insertions(+), 62 deletions(-) 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 */} - +