From 7b0bd177bc1c81194f78e037ac76263b32919323 Mon Sep 17 00:00:00 2001 From: jieunsse Date: Tue, 24 Feb 2026 13:55:10 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20addteam,=20teamid=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EB=A9=94=ED=83=80=EB=8D=B0=EC=9D=B4?= =?UTF-8?q?=ED=84=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(root)/[teamid]/page.tsx | 23 +++++++++++++++++------ src/app/(root)/addteam/page.tsx | 16 ++++++++++++++++ 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/src/app/(root)/[teamid]/page.tsx b/src/app/(root)/[teamid]/page.tsx index 88b0c18..5c00551 100644 --- a/src/app/(root)/[teamid]/page.tsx +++ b/src/app/(root)/[teamid]/page.tsx @@ -1,14 +1,25 @@ -'use client'; - +import type { Metadata } from 'next'; import dynamic from 'next/dynamic'; -import { useParams } from 'next/navigation'; const TeamDashboard = dynamic(() => import('./_domain/components/Team/TeamDashboard'), { ssr: false, }); -export default function TeamPage() { - const params = useParams<{ teamid: string }>(); +export const metadata: Metadata = { + title: 'Coworkers — 팀 대시보드', + description: '팀원과 함께 할 일을 관리하고 칸반보드로 업무 현황을 한눈에 확인하세요.', + openGraph: { + title: 'Coworkers — 팀 대시보드', + description: '팀원과 함께 할 일을 관리하고 칸반보드로 업무 현황을 한눈에 확인하세요.', + type: 'website', + locale: 'ko_KR', + }, + robots: { + index: false, + follow: false, + }, +}; - return ; +export default function TeamPage({ params }: { params: { teamid: string } }) { + return ; } diff --git a/src/app/(root)/addteam/page.tsx b/src/app/(root)/addteam/page.tsx index 9ca589a..dd56f66 100644 --- a/src/app/(root)/addteam/page.tsx +++ b/src/app/(root)/addteam/page.tsx @@ -1,5 +1,21 @@ +import type { Metadata } from 'next'; import NoTeamState from './_domain/components/NoTeamState'; +export const metadata: Metadata = { + title: 'Coworkers — 팀 추가', + description: '새로운 팀을 만들거나 기존 팀에 참가하세요. Coworkers로 팀 협업을 시작하세요.', + openGraph: { + title: 'Coworkers — 팀 추가', + description: '새로운 팀을 만들거나 기존 팀에 참가하세요.', + type: 'website', + locale: 'ko_KR', + }, + robots: { + index: false, + follow: false, + }, +}; + export default function AddTeamPage() { return ; } From 61220ce0bf5f1639d02332cefcb370447c22f552 Mon Sep 17 00:00:00 2001 From: jieunsse Date: Tue, 24 Feb 2026 15:29:21 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=EB=A6=AC=EC=8A=A4=ED=8A=B8?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=9D=B4=EB=8F=99=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20=EC=B6=94=EA=B0=80=20&=20=ED=8C=80=20=EC=83=81?= =?UTF-8?q?=ED=83=9C=20=EA=B8=B0=EC=96=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Member/MemberSection.module.css | 1 - .../components/Team/TeamDashboard.module.css | 15 +++++++++++ .../_domain/components/Team/TeamDashboard.tsx | 4 +++ .../components/Team/TeamDashboardClient.tsx | 11 ++++++++ src/app/(root)/[teamid]/page.tsx | 8 ++---- .../(root)/list/_hooks/useInitialGroupId.ts | 8 ++++++ src/app/(root)/list/page.tsx | 25 ++++++++++++++++--- 7 files changed, 62 insertions(+), 10 deletions(-) create mode 100644 src/app/(root)/[teamid]/_domain/components/Team/TeamDashboardClient.tsx create mode 100644 src/app/(root)/list/_hooks/useInitialGroupId.ts diff --git a/src/app/(root)/[teamid]/_domain/components/Member/MemberSection.module.css b/src/app/(root)/[teamid]/_domain/components/Member/MemberSection.module.css index e274f08..e01aa64 100644 --- a/src/app/(root)/[teamid]/_domain/components/Member/MemberSection.module.css +++ b/src/app/(root)/[teamid]/_domain/components/Member/MemberSection.module.css @@ -5,7 +5,6 @@ display: flex; flex-direction: column; gap: 12px; - margin-top: 44px; } .header { diff --git a/src/app/(root)/[teamid]/_domain/components/Team/TeamDashboard.module.css b/src/app/(root)/[teamid]/_domain/components/Team/TeamDashboard.module.css index 07e4b36..88ae750 100644 --- a/src/app/(root)/[teamid]/_domain/components/Team/TeamDashboard.module.css +++ b/src/app/(root)/[teamid]/_domain/components/Team/TeamDashboard.module.css @@ -33,6 +33,21 @@ gap: 16px; } +.listLink { + display: flex; + align-items: center; + justify-content: center; + height: 38px; + width: 100%; + margin-top: 44px; + background-color: var(--color-text-primary); + border-radius: 12px; + font-size: 16px; + font-weight: 600; + color: var(--color-text-inverse); + text-decoration: none; +} + @media (max-width: 1280px) { .content { flex-direction: column; diff --git a/src/app/(root)/[teamid]/_domain/components/Team/TeamDashboard.tsx b/src/app/(root)/[teamid]/_domain/components/Team/TeamDashboard.tsx index c66980f..4ca5938 100644 --- a/src/app/(root)/[teamid]/_domain/components/Team/TeamDashboard.tsx +++ b/src/app/(root)/[teamid]/_domain/components/Team/TeamDashboard.tsx @@ -1,6 +1,7 @@ 'use client'; import { useState } from 'react'; +import Link from 'next/link'; import { useParams, useRouter } from 'next/navigation'; import { useQuery, useQueries } from '@tanstack/react-query'; import KanbanBoard from '../Kanban/KanbanBoard'; @@ -124,6 +125,9 @@ export default function TeamDashboard() {