design: LectureCreatePage 디자인 수정

This commit is contained in:
정기영 2024-08-02 17:15:46 +09:00
parent 1eaf3f6fa1
commit f14a7c2095
2 changed files with 14 additions and 17 deletions

View File

@ -17,13 +17,12 @@ export default function LectureCreatePage() {
};
return (
<div>
<h1>강의 생성</h1>
<LectureForm
title={'강의 생성'}
onSubmit={handleSubmit}
onCreate={true}
/>
</div>
<LectureForm
title={'강의 홈'}
topic={'강의 생성'}
to={'..'}
onSubmit={handleSubmit}
onCreate={true}
/>
);
}

View File

@ -21,14 +21,12 @@ export default function LecutreEditPage() {
};
return (
<div>
<LectureForm
initialValues={initialData}
onSubmit={handleSubmit}
title={'강의 홈'}
topic={'강의 수정'}
to={'..'}
/>
</div>
<LectureForm
initialValues={initialData}
onSubmit={handleSubmit}
title={'강의 홈'}
topic={'강의 수정'}
to={'..'}
/>
);
}