공지사항 작업, 등록폼 디자인 수정1
This commit is contained in:
@@ -173,10 +173,10 @@ export default function CourseRegistrationModal({ open, onClose, onSave, onDelet
|
||||
}
|
||||
}}
|
||||
placeholder="교육 과정명을 입력해 주세요."
|
||||
className={`h-[40px] px-3 py-2 border rounded-[8px] bg-white text-[16px] font-normal leading-[1.5] text-[#1b2027] placeholder:text-[#b1b8c0] focus:outline-none focus:ring-2 ${
|
||||
className={`h-[40px] px-3 py-2 border rounded-[8px] bg-white text-[16px] font-normal leading-[1.5] text-[#1b2027] placeholder:text-[#b1b8c0] focus:outline-none ${
|
||||
errors.courseName
|
||||
? "border-[#f64c4c] focus:ring-[#f64c4c] focus:border-[#f64c4c]"
|
||||
: "border-[#dee1e6] focus:ring-[#1f2b91] focus:border-transparent"
|
||||
? "border-[#f64c4c] focus:shadow-[inset_0_0_0_1px_#333c47]"
|
||||
: "border-[#dee1e6] focus:shadow-[inset_0_0_0_1px_#333c47]"
|
||||
}`}
|
||||
/>
|
||||
{errors.courseName && (
|
||||
@@ -193,10 +193,10 @@ export default function CourseRegistrationModal({ open, onClose, onSave, onDelet
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setIsDropdownOpen(!isDropdownOpen)}
|
||||
className={`w-full h-[40px] px-3 py-2 border rounded-[8px] bg-white flex items-center justify-between text-left focus:outline-none focus:ring-2 cursor-pointer ${
|
||||
className={`w-full h-[40px] px-3 py-2 border rounded-[8px] bg-white flex items-center justify-between text-left focus:outline-none focus:shadow-[inset_0_0_0_1px_#333c47] cursor-pointer ${
|
||||
errors.instructor
|
||||
? "border-[#f64c4c] focus:ring-[#f64c4c] focus:border-[#f64c4c]"
|
||||
: "border-[#dee1e6] focus:ring-[#1f2b91] focus:border-transparent"
|
||||
? "border-[#f64c4c]"
|
||||
: "border-[#dee1e6]"
|
||||
}`}
|
||||
>
|
||||
<span
|
||||
|
||||
@@ -117,7 +117,7 @@ export default function AdminCoursesPage() {
|
||||
<div className="flex-1 pt-2 flex flex-col">
|
||||
{courses.length === 0 ? (
|
||||
<div className="rounded-lg border border-[#dee1e6] bg-white min-h-[400px] flex items-center justify-center">
|
||||
<p className="text-[16px] font-medium leading-[1.5] text-[#333c47]">
|
||||
<p className="text-[16px] font-medium leading-[1.5] text-[#333c47] text-center">
|
||||
등록된 교육과정이 없습니다.
|
||||
<br />
|
||||
과목을 등록해주세요.
|
||||
|
||||
Reference in New Issue
Block a user