@@ -56,6 +56,10 @@ const MyPage: React.FC = () => {
5656 const handleProfileEditClick = ( ) => {
5757 navigate ( '/my/profile-edit' ) ;
5858 } ;
59+
60+ const handleSettingsClick = ( ) => {
61+ navigate ( '/my/settings' ) ;
62+ } ;
5963
6064 if ( isLoading ) {
6165 return < div > 프로필 불러오는 중</ div > ;
@@ -72,9 +76,13 @@ const MyPage: React.FC = () => {
7276 return (
7377 < div className = "relative mx-auto w-full max-w-md text-white" >
7478 < div className = "min-h-screen" >
75- < Header title = "마이페이지" showBack = { false } showLike = { false } showBookmark = { false } />
79+ < Header
80+ leftSection = "LOGO"
81+ rightSection = "SETTING"
82+ onSettingsClick = { handleSettingsClick }
83+ />
7684
77- < main className = "pt-[63px] flex flex-col gap-4 px-4 pb-[83px]" >
85+ < main className = "flex flex-col gap-4 px-4 pb-[83px] pt-[63px ]" >
7886 { /* 프로필 카드 */ }
7987 < section className = "rounded-lg bg-gray-800/30 p-4" >
8088 < div className = "flex items-center justify-between" >
@@ -126,14 +134,19 @@ const MyPage: React.FC = () => {
126134 </ div >
127135 </ section >
128136
129- { /* 레벨 카드 */ }
130- < LevelCard userLevel = { user . level } userProgress = { user . progress } />
137+ { /* LevelCard api연결전 필수 props 임시값(0)전달 빌드 에러임시 */ }
138+ < LevelCard
139+ userLevel = { user . level }
140+ userProgress = { user . progress }
141+ currentReviewCount = { 0 }
142+ currentLikeCount = { 0 }
143+ />
131144
132145 { /* 메뉴 리스트 */ }
133146 < section >
134147 < ul className = "flex flex-col" >
135148 { menuItems . map ( ( item ) => (
136- < li key = { item . name } >
149+ < li key = { item . name } >
137150 < button
138151 onClick = { ( ) => navigate ( item . path ) }
139152 className = "flex w-full items-center justify-between px-2 py-4 text-left"
0 commit comments