diff --git a/src/app/mydashboard/components/InvitedDashboardTable/InvitedDashboardRow.tsx b/src/app/mydashboard/components/InvitedDashboardTable/InvitedDashboardRow.tsx index 97d8173..6dbd61d 100644 --- a/src/app/mydashboard/components/InvitedDashboardTable/InvitedDashboardRow.tsx +++ b/src/app/mydashboard/components/InvitedDashboardTable/InvitedDashboardRow.tsx @@ -54,7 +54,7 @@ export default function InvitedDashboardRow({ return ( <> {/* 데스크톱/태블릿 테이블 레이아웃 */} -
+
{/* 대시보드 이름 */} {invitation.dashboard.title || '제목 없음'} @@ -70,14 +70,14 @@ export default function InvitedDashboardRow({ @@ -85,7 +85,7 @@ export default function InvitedDashboardRow({
{/* 모바일 카드 레이아웃 */} -
+
{/* 이름 */}
이름 diff --git a/src/app/mydashboard/components/InvitedDashboardTable/InvitedDashboardTable.tsx b/src/app/mydashboard/components/InvitedDashboardTable/InvitedDashboardTable.tsx index 1638477..ba64f97 100644 --- a/src/app/mydashboard/components/InvitedDashboardTable/InvitedDashboardTable.tsx +++ b/src/app/mydashboard/components/InvitedDashboardTable/InvitedDashboardTable.tsx @@ -50,10 +50,10 @@ export default function InvitedDashboardTable() { return (
{/* 검색창 스켈레톤 */} -
+
{/* 테이블 헤더 */} -
+
이름 초대자 @@ -67,7 +67,7 @@ export default function InvitedDashboardTable() { {Array.from({ length: 3 }).map((_, index) => (
@@ -82,10 +82,10 @@ export default function InvitedDashboardTable() { if (isError) { return (
-

+

초대받은 대시보드를 불러오는 중 오류가 발생했습니다.

-

+

{error?.message || '다시 시도해주세요.'}

@@ -96,7 +96,7 @@ export default function InvitedDashboardTable() { if (allInvitations.length === 0) { return (
-
+
초대받은 대시보드 없음
-

+

아직 초대받은 대시보드가 없어요.

@@ -118,7 +118,7 @@ export default function InvitedDashboardTable() { {/* 테이블 헤더 - 모바일에서 숨김 */} -
+
이름 초대자 @@ -129,11 +129,11 @@ export default function InvitedDashboardTable() {
{/* 테이블 바디 */} -
+
{searchQuery.trim() && filteredInvitations.length === 0 ? ( // 검색 결과 없음
-

+

`{searchQuery}`에 대한 검색 결과가 없습니다.

@@ -155,7 +155,7 @@ export default function InvitedDashboardTable() { {/* 더 이상 데이터가 없을 때 */} {!hasNextPage && allInvitations.length > 0 && (
-

+

모든 초대를 확인했습니다.

diff --git a/src/app/mydashboard/components/InvitedDashboardTable/SearchInput.tsx b/src/app/mydashboard/components/InvitedDashboardTable/SearchInput.tsx index 57027dc..e9ab2b6 100644 --- a/src/app/mydashboard/components/InvitedDashboardTable/SearchInput.tsx +++ b/src/app/mydashboard/components/InvitedDashboardTable/SearchInput.tsx @@ -14,13 +14,13 @@ export default function SearchInput({ placeholder = '검색', }: SearchInputProps) { return ( -
+
onChange(e.target.value)} - className="Border-btn mobile:h-36 mobile:text-14 mobile:placeholder:text-14 h-40 w-full rounded-8 border pl-40 pr-12 text-14 placeholder-gray-400 focus:border-blue-500 focus:outline-none" + className="Border-btn mobile-wide:h-36 mobile-wide:text-14 mobile-wide:placeholder:text-14 h-40 w-full rounded-8 border pl-40 pr-12 text-14 placeholder-gray-400 focus:border-blue-500 focus:outline-none" />
새로운 대시보드 diff --git a/src/app/mydashboard/components/MyDashboardGrid/MyDashboardCard.tsx b/src/app/mydashboard/components/MyDashboardGrid/MyDashboardCard.tsx index 30b3012..90aba75 100644 --- a/src/app/mydashboard/components/MyDashboardGrid/MyDashboardCard.tsx +++ b/src/app/mydashboard/components/MyDashboardGrid/MyDashboardCard.tsx @@ -19,7 +19,7 @@ export default function MyDashboardCard({ dashboard }: MyDashboardCardProps) { return (
@@ -30,7 +30,7 @@ export default function MyDashboardCard({ dashboard }: MyDashboardCardProps) { /> {/* 대시보드 제목 */} -

+

{dashboard.title}

diff --git a/src/app/mydashboard/components/MyDashboardGrid/MyDashboardGrid.tsx b/src/app/mydashboard/components/MyDashboardGrid/MyDashboardGrid.tsx index d6c9ad0..a0ce5b3 100644 --- a/src/app/mydashboard/components/MyDashboardGrid/MyDashboardGrid.tsx +++ b/src/app/mydashboard/components/MyDashboardGrid/MyDashboardGrid.tsx @@ -22,7 +22,7 @@ export default function MyDashboardGrid() { if (isLoading) { return (
-
+
{/* 새 대시보드 추가 버튼은 항상 표시 */} @@ -30,7 +30,7 @@ export default function MyDashboardGrid() { {Array.from({ length: 5 }).map((_, index) => (
))}
@@ -61,7 +61,7 @@ export default function MyDashboardGrid() { return (
-
+
{/* 새 대시보드 추가 카드는 항상 첫 번째 고정 */} @@ -76,7 +76,7 @@ export default function MyDashboardGrid() { {/* 페이지네이션 */} {totalPages > 1 && ( -
+
{currentPage} 페이지 중 {totalPages} diff --git a/src/app/mydashboard/page.tsx b/src/app/mydashboard/page.tsx index 03b3776..7dec0c9 100644 --- a/src/app/mydashboard/page.tsx +++ b/src/app/mydashboard/page.tsx @@ -13,17 +13,17 @@ export default function MyDashboardPage() { {/* 메인 */} -
+
{/* 헤더 */}
{/* 페이지 콘텐츠 */} -
+
{/* 초대받은 대시보드 섹션 */} -
-

+
+

초대받은 대시보드

diff --git a/src/app/shared/components/common/sidebar/DashboardItem.tsx b/src/app/shared/components/common/sidebar/DashboardItem.tsx index 641c548..5bdfada 100644 --- a/src/app/shared/components/common/sidebar/DashboardItem.tsx +++ b/src/app/shared/components/common/sidebar/DashboardItem.tsx @@ -18,22 +18,24 @@ export default function DashboardItem({ type="button" aria-current={isActive ? 'page' : undefined} onClick={handleClick} - className={`Text-black BG-Input-hovered flex w-full items-center gap-12 rounded-6 px-12 py-8 text-left text-18 transition-colors mobile:justify-center mobile:px-4 mobile:py-6 tablet:gap-8 tablet:px-8 tablet:py-6 tablet:text-16 ${ + className={`Text-black BG-Input-hovered mobile-wide:justify-center mobile-wide:px-4 mobile-wide:py-6 tablet-wide:gap-8 tablet-wide:px-8 tablet-wide:py-6 tablet-wide:text-16 flex w-full items-center gap-12 rounded-6 px-12 py-8 text-left text-18 transition-colors ${ isActive ? 'BG-currentDashboard font-medium' : '' }`} > {/* 컬러 도트 */}
{/* 대시보드 제목 */} - {dashboard.title} + + {dashboard.title} + {/* 내가 만든 대시보드에 왕관 아이콘 */} {dashboard.createdByMe && ( -
+
내가 만든 대시보드 +