diff --git a/src/app/(home)/page.tsx b/src/app/(home)/page.tsx index 8f4f15ea..46a33bb2 100644 --- a/src/app/(home)/page.tsx +++ b/src/app/(home)/page.tsx @@ -47,58 +47,56 @@ export default function Home() { ]; return ( -
-
- {/* 히어로 섹션 */} -
-
- {/* 상자 내부의 텍스트와 버튼 */} -

- WorkRoot -

-

- 한 곳에서 관리하는 알바 구인 플랫폼 -

- {user ? ( - -

- 알바 둘러보기 -

- - ) : ( - -

- 알바를 시작하기 -

- - )} -
+
+ {/* 히어로 섹션 */} +
+
+ {/* 상자 내부의 텍스트와 버튼 */} +

+ WorkRoot +

+

+ 한 곳에서 관리하는 알바 구인 플랫폼 +

+ {user ? ( + +

+ 알바 둘러보기 +

+ + ) : ( + +

+ 알바 시작하기 +

+ + )} +
- {/* 배경 이미지 */} -
- Hero Background -
-
+ {/* 배경 이미지 */} +
+ Hero Background +
+
- {/* UI 섹션 */} -
-
-
- {sections.map((section) => ( -
- {section.alt} -
- ))} -
+ {/* UI 섹션 */} +
+
+
+ {sections.map((section) => ( +
+ {section.alt} +
+ ))}
-
-
+
+ ); } diff --git a/src/app/(pages)/(albaform)/alba/[formId]/components/FormDetail.tsx b/src/app/(pages)/(albaform)/alba/[formId]/components/FormDetail.tsx index 07a68fa8..10eac54a 100644 --- a/src/app/(pages)/(albaform)/alba/[formId]/components/FormDetail.tsx +++ b/src/app/(pages)/(albaform)/alba/[formId]/components/FormDetail.tsx @@ -27,7 +27,7 @@ export default function FormDetails({ albaFormDetailData }: FormDetailsProps) {

{albaFormDetailData.location}

-
diff --git a/src/app/(pages)/kakao-map/page.tsx b/src/app/(pages)/kakao-map/page.tsx index 7e0d4108..3ee65863 100644 --- a/src/app/(pages)/kakao-map/page.tsx +++ b/src/app/(pages)/kakao-map/page.tsx @@ -73,10 +73,15 @@ const KakaoMapPage = () => { onChange={(e) => setAddress(e.target.value)} className="flex-1 border p-2" /> - - - -
- -
+
+

마이페이지

+ {/* sm, md에서는 케밥 메뉴, lg 이상에서는 버튼 */} +
+
+ + +
+
+
{/* 탭 메뉴 섹션 */} - - + {/* 로그인/회원가입 또는 메뉴 버튼 */} + + {/* 사이드바 오버레이 */} {isSideMenuOpen && ( -
setIsSideMenuOpen(false)} /> +
setIsSideMenuOpen(false)} /> )} {/* 사이드바 */}
메뉴 -
@@ -161,6 +173,7 @@ export default function Header() { 마이페이지
diff --git a/src/app/components/loading-spinner/LoadingSpinner.tsx b/src/app/components/loading-spinner/LoadingSpinner.tsx index 4cbcf30f..e89be82d 100644 --- a/src/app/components/loading-spinner/LoadingSpinner.tsx +++ b/src/app/components/loading-spinner/LoadingSpinner.tsx @@ -5,7 +5,7 @@ import React from "react"; export default function LoadingSpinner() { return ( -
+
{ return createPortal(
{ if (e.target === e.currentTarget) closeModal(); }} diff --git a/src/app/components/modal/modals/alert/ApplicationDetailModal.tsx b/src/app/components/modal/modals/alert/ApplicationDetailModal.tsx index 3efeda57..da7cf415 100644 --- a/src/app/components/modal/modals/alert/ApplicationDetailModal.tsx +++ b/src/app/components/modal/modals/alert/ApplicationDetailModal.tsx @@ -53,63 +53,60 @@ const ApplicationDetailModal = ({ return (
-
-
내 지원 내역
+
+
내 지원 내역
-
-
- {applicationDate && ( -
- 지원일시 - {formatDateTime(applicationDate)} -
- )} +
+ {applicationDate && ( +
+ 지원일시 + {formatDateTime(applicationDate)} +
+ )} - {applicationStatus && ( -
- 진행 상태 - - {applicationStatus} - -
- )} -
- -
- {defaultFields.map((field) => ( -
- - -
- ))} -
+ {applicationStatus && ( +
+ 진행 상태 + + {applicationStatus} + +
+ )}
-
- - - +
+ {defaultFields.map((field) => ( +
+ + +
+ ))}
+ + + + -
-
-
- warning - warning -
+
+
+ warning + warning
-

작성 중인 알바폼이 있어요!

-

이어서 작성하시겠어요?

+

작성 중인 알바폼이 있어요!

+

이어서 작성하시겠어요?

diff --git a/src/app/components/modal/modals/alert/RecruitmentClosedModal.tsx b/src/app/components/modal/modals/alert/RecruitmentClosedModal.tsx index 1fe081d5..0f97d5fa 100644 --- a/src/app/components/modal/modals/alert/RecruitmentClosedModal.tsx +++ b/src/app/components/modal/modals/alert/RecruitmentClosedModal.tsx @@ -16,46 +16,42 @@ const RecruitmentClosedModal = ({ formId, isOpen, onClose, className }: Recruitm return (
-
-
-
- warning - warning -
+
+
+ warning + warning
-

모집 마감

-

모집이 종료된 알바폼입니다.

+

모집 마감

+

모집이 종료된 알바폼입니다.

- diff --git a/src/app/components/modal/modals/confirm/CustomFormModal.tsx b/src/app/components/modal/modals/confirm/CustomFormModal.tsx index 8f503804..0e3a4775 100644 --- a/src/app/components/modal/modals/confirm/CustomFormModal.tsx +++ b/src/app/components/modal/modals/confirm/CustomFormModal.tsx @@ -40,14 +40,14 @@ const CustomFormModal = ({
-
+
-
+
warning
-

{title}

-

{content}

+

{title}

+

{content}

diff --git a/src/app/components/modal/modals/confirm/DeleteFormModal.tsx b/src/app/components/modal/modals/confirm/DeleteFormModal.tsx index 0106e159..fe0b5571 100644 --- a/src/app/components/modal/modals/confirm/DeleteFormModal.tsx +++ b/src/app/components/modal/modals/confirm/DeleteFormModal.tsx @@ -39,38 +39,36 @@ const DeleteFormModal = ({ id, isOpen, onClose, onConfirm, className }: ConfirmF return (
-
-
-
- warning - warning -
+ +
+ warning + warning
-

알바폼을 삭제할까요?

-

삭제 후 정보를 복구할 수 없어요.

+

알바폼을 삭제할까요?

+

삭제 후 정보를 복구할 수 없어요.

@@ -79,9 +77,9 @@ const DeleteFormModal = ({ id, isOpen, onClose, onConfirm, className }: ConfirmF variant="outlined" onClick={onClose} disabled={isDeleting} - className="h-[48px] w-[300px] text-base font-medium hover:border-primary-orange-50 hover:bg-primary-orange-100 hover:text-white md:h-[62px] md:w-[360px] md:text-lg" + className="h-[48px] w-[300px] text-base font-medium hover:border-primary-orange-50 hover:bg-primary-orange-100 hover:text-white lg:h-[62px] lg:w-[360px] lg:text-lg" > - 다음에 할께요 + 다음에 할게요
diff --git a/src/app/components/modal/modals/confirm/SelectProgressModal.tsx b/src/app/components/modal/modals/confirm/SelectProgressModal.tsx index 1c61b04f..3d4f28f1 100644 --- a/src/app/components/modal/modals/confirm/SelectProgressModal.tsx +++ b/src/app/components/modal/modals/confirm/SelectProgressModal.tsx @@ -60,15 +60,13 @@ const SelectProgressModal = ({ id, isOpen, onClose, className }: ConfirmFormModa return ( <>
-
+
-

진행상태 선택

-

현재 진행상태를 알려주세요.

+

진행상태 선택

+

현재 진행상태를 알려주세요.

-
+
{radioOptions.map((option) => ( ))}
-
-
- - -
+
+ +
diff --git a/src/app/components/modal/modals/form/ChangePasswordModal.tsx b/src/app/components/modal/modals/form/ChangePasswordModal.tsx index 9635a1a5..73100aa1 100644 --- a/src/app/components/modal/modals/form/ChangePasswordModal.tsx +++ b/src/app/components/modal/modals/form/ChangePasswordModal.tsx @@ -7,6 +7,7 @@ import { zodResolver } from "@hookform/resolvers/zod"; import { useLogout } from "@/hooks/queries/auth/useLogout"; import { usePassword } from "@/hooks/queries/user/me/useChangePassword"; import DotLoadingSpinner from "@/app/components/loading-spinner/DotLoadingSpinner"; +import Button from "@/app/components/button/default/Button"; interface ChangePasswordModalProps { isOpen: boolean; @@ -94,15 +95,15 @@ const ChangePasswordModal = ({ isOpen, onClose, className }: ChangePasswordModal return (
-
비밀번호 변경
-
+
비밀번호 변경
+ {defaultFields.map((field) => ( -
- +
+
))} -
- - + +
diff --git a/src/app/components/modal/modals/form/EditMyProfileModal.tsx b/src/app/components/modal/modals/form/EditMyProfileModal.tsx index ec8bd89b..1069f093 100644 --- a/src/app/components/modal/modals/form/EditMyProfileModal.tsx +++ b/src/app/components/modal/modals/form/EditMyProfileModal.tsx @@ -12,6 +12,7 @@ import { zodResolver } from "@hookform/resolvers/zod"; import { z } from "zod"; import { nicknameSchema, mobilePhoneSchema } from "@/schemas/commonSchema"; import DotLoadingSpinner from "@/app/components/loading-spinner/DotLoadingSpinner"; +import Button from "@/app/components/button/default/Button"; interface EditMyProfileModalProps { isOpen: boolean; @@ -103,54 +104,50 @@ const EditMyProfileModal = ({ isOpen, onClose, className }: EditMyProfileModalPr return (
-
-

내 정보 수정

-
+

내 정보 수정

-
-
-
-
- - -
- +
+
+
+ +
+
{fields.map((field) => ( -
-
diff --git a/src/app/components/modal/modals/form/EditOwnerProfileModal.tsx b/src/app/components/modal/modals/form/EditOwnerProfileModal.tsx index 3a9a40a5..3258bdfe 100644 --- a/src/app/components/modal/modals/form/EditOwnerProfileModal.tsx +++ b/src/app/components/modal/modals/form/EditOwnerProfileModal.tsx @@ -12,6 +12,7 @@ import { zodResolver } from "@hookform/resolvers/zod"; import { z } from "zod"; import { nicknameSchema, storePhoneSchema, mobilePhoneSchema } from "@/schemas/commonSchema"; import DotLoadingSpinner from "@/app/components/loading-spinner/DotLoadingSpinner"; +import Button from "@/app/components/button/default/Button"; interface EditOwnerProfileModalProps { isOpen: boolean; @@ -130,53 +131,45 @@ const EditOwnerProfileModal = ({ isOpen, onClose, className }: EditOwnerProfileM return (
-
+

사장님 정보 관리

-
-
+
+
-
-
- - -
- +
+ +
+
{fields.map((field) => ( @@ -212,23 +205,20 @@ const EditOwnerProfileModal = ({ isOpen, onClose, className }: EditOwnerProfileM
-
+
- - + +
diff --git a/src/app/components/popUp/closeButton.tsx b/src/app/components/popUp/closeButton.tsx index dbcfa61d..42f9a413 100644 --- a/src/app/components/popUp/closeButton.tsx +++ b/src/app/components/popUp/closeButton.tsx @@ -9,7 +9,7 @@ interface CloseButtonProps { export default function CloseButton({ onClose }: CloseButtonProps) { return ( -