diff --git a/src/app/dashboard/[id]/edit/layout.tsx b/src/app/dashboard/[id]/edit/layout.tsx index 7d27881..3278669 100644 --- a/src/app/dashboard/[id]/edit/layout.tsx +++ b/src/app/dashboard/[id]/edit/layout.tsx @@ -4,7 +4,7 @@ export default function AboutLayout({ children: React.ReactNode }) { return ( -
+
{children}
) diff --git a/src/app/dashboard/[id]/edit/page.tsx b/src/app/dashboard/[id]/edit/page.tsx index 89d0b6f..750c441 100644 --- a/src/app/dashboard/[id]/edit/page.tsx +++ b/src/app/dashboard/[id]/edit/page.tsx @@ -3,37 +3,27 @@ import EditInfo from '@dashboard/components/edit/EditInfo' import EditInvitation from '@dashboard/components/edit/EditInvitation' import EditMember from '@dashboard/components/edit/EditMember' -import Image from 'next/image' import { useParams } from 'next/navigation' -import { useRouter } from 'next/navigation' import DeleteDashboardButton from '@/app/features/dashboard/components/edit/DeleteDashboardButton' +import BackButton from '@/app/shared/components/common/BackButton/BackButton' export default function DashBoardEditPage() { const { id } = useParams() - const router = useRouter() return ( -
- {/* 돌아가기 버튼 */} - +
+ {/* 콘텐츠 영역 */} -
+
{/* 삭제 버튼 영역 */} -
+
diff --git a/src/app/dashboard/[id]/layout.tsx b/src/app/dashboard/[id]/layout.tsx index cdcc913..2fe711a 100644 --- a/src/app/dashboard/[id]/layout.tsx +++ b/src/app/dashboard/[id]/layout.tsx @@ -10,7 +10,7 @@ export default function AboutLayout({ return ( <> -
+
{children}
diff --git a/src/app/features/dashboard/components/edit/DeleteDashboardButton.tsx b/src/app/features/dashboard/components/edit/DeleteDashboardButton.tsx index c8f7502..a9a90c0 100644 --- a/src/app/features/dashboard/components/edit/DeleteDashboardButton.tsx +++ b/src/app/features/dashboard/components/edit/DeleteDashboardButton.tsx @@ -63,7 +63,7 @@ export default function DeleteDashboardButton({ onClick={handleDelete} // isLoading -> isPending으로 수정됨 disabled={mutation.isPending} - className={`Text-black my-8 whitespace-nowrap rounded-8 font-semibold transition-opacity ${ + className={`Text-black my-8 whitespace-nowrap rounded-8 font-semibold transition-opacity mobile-sm:text-12 ${ mutation.isPending ? 'cursor-not-allowed opacity-50' : 'hover:opacity-90' diff --git a/src/app/features/dashboard/components/edit/EditInfo.tsx b/src/app/features/dashboard/components/edit/EditInfo.tsx index 2fe513c..f21800b 100644 --- a/src/app/features/dashboard/components/edit/EditInfo.tsx +++ b/src/app/features/dashboard/components/edit/EditInfo.tsx @@ -16,8 +16,8 @@ export default function EditInfo() { return (
-
-

+
+

{selectedDashboard?.title || '대시보드 편집'}

diff --git a/src/app/features/dashboard/components/edit/EditInvitation.tsx b/src/app/features/dashboard/components/edit/EditInvitation.tsx index 311e9e0..3c737c5 100644 --- a/src/app/features/dashboard/components/edit/EditInvitation.tsx +++ b/src/app/features/dashboard/components/edit/EditInvitation.tsx @@ -94,33 +94,27 @@ export default function EditInvitation() { : null return ( -
+
{/* Header + 초대 버튼 영역 (데스크탑용) */} -
+
+

+ 초대 내역 +

- - {/* 데스크탑에서만 보이는 초대 버튼 */} -
{/* 이메일 입력 및 모바일 전용 버튼 */}
-
-