From 80d49287e02fe0ec7bcce4ed509cf3235c9801e8 Mon Sep 17 00:00:00 2001 From: testusuke Date: Sun, 19 May 2024 12:01:31 +0900 Subject: [PATCH 1/4] =?UTF-8?q?change:=20=E3=83=AA=E3=83=BC=E3=82=B0?= =?UTF-8?q?=E7=B7=A8=E6=88=90=E3=81=8A=E3=82=88=E3=81=B3=E3=83=88=E3=83=BC?= =?UTF-8?q?=E3=83=8A=E3=83=A1=E3=83=B3=E3=83=88=E4=BD=9C=E6=88=90=E3=81=AE?= =?UTF-8?q?=E3=83=AB=E3=83=BC=E3=83=86=E3=82=A3=E3=83=B3=E3=82=B0=E3=82=92?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sports/[id]/{league => create-league}/page.tsx | 2 +- .../sports/[id]/{tournament => create-tournament}/page.tsx | 0 .../sports/[id]/{ => games}/[gameId]/[matchId]/page.tsx | 0 app/(authenticated)/sports/[id]/{ => games}/[gameId]/page.tsx | 0 app/(authenticated)/sports/[id]/page.tsx | 4 ++-- 5 files changed, 3 insertions(+), 3 deletions(-) rename app/(authenticated)/sports/[id]/{league => create-league}/page.tsx (94%) rename app/(authenticated)/sports/[id]/{tournament => create-tournament}/page.tsx (100%) rename app/(authenticated)/sports/[id]/{ => games}/[gameId]/[matchId]/page.tsx (100%) rename app/(authenticated)/sports/[id]/{ => games}/[gameId]/page.tsx (100%) diff --git a/app/(authenticated)/sports/[id]/league/page.tsx b/app/(authenticated)/sports/[id]/create-league/page.tsx similarity index 94% rename from app/(authenticated)/sports/[id]/league/page.tsx rename to app/(authenticated)/sports/[id]/create-league/page.tsx index 2806e9e..34e7cc9 100644 --- a/app/(authenticated)/sports/[id]/league/page.tsx +++ b/app/(authenticated)/sports/[id]/create-league/page.tsx @@ -10,7 +10,7 @@ export default async function LeaguePage({params}: { params: { id: string } }) { return ( - + 管理者のダッシュボード diff --git a/app/(authenticated)/sports/[id]/tournament/page.tsx b/app/(authenticated)/sports/[id]/create-tournament/page.tsx similarity index 100% rename from app/(authenticated)/sports/[id]/tournament/page.tsx rename to app/(authenticated)/sports/[id]/create-tournament/page.tsx diff --git a/app/(authenticated)/sports/[id]/[gameId]/[matchId]/page.tsx b/app/(authenticated)/sports/[id]/games/[gameId]/[matchId]/page.tsx similarity index 100% rename from app/(authenticated)/sports/[id]/[gameId]/[matchId]/page.tsx rename to app/(authenticated)/sports/[id]/games/[gameId]/[matchId]/page.tsx diff --git a/app/(authenticated)/sports/[id]/[gameId]/page.tsx b/app/(authenticated)/sports/[id]/games/[gameId]/page.tsx similarity index 100% rename from app/(authenticated)/sports/[id]/[gameId]/page.tsx rename to app/(authenticated)/sports/[id]/games/[gameId]/page.tsx diff --git a/app/(authenticated)/sports/[id]/page.tsx b/app/(authenticated)/sports/[id]/page.tsx index bc57aec..5eac43a 100644 --- a/app/(authenticated)/sports/[id]/page.tsx +++ b/app/(authenticated)/sports/[id]/page.tsx @@ -25,14 +25,14 @@ export default async function SportPage({params}: { params: { id: string } }) { {sport.name} {gameType === "league" && ( - + )} {gameType === "tournament" && ( - + From be60ab7143e98f08dde8b5f1ed54ccd93e3a6818 Mon Sep 17 00:00:00 2001 From: testusuke Date: Sun, 19 May 2024 12:01:50 +0900 Subject: [PATCH 2/4] =?UTF-8?q?change:=20=E4=B8=8D=E8=A6=81=E3=81=AA?= =?UTF-8?q?=E4=BF=9D=E8=AD=B7=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- middleware.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/middleware.ts b/middleware.ts index 37b70a4..1695f1f 100644 --- a/middleware.ts +++ b/middleware.ts @@ -6,11 +6,10 @@ export function middleware(request: NextRequest) { if (!accessToken) { const protectedPaths: string[] = [ '/sports', - '/tournament', - '/league', '/teams', '/users', '/roles', + '/locations', ] // check if next path starts with any of the protected paths or root From c394101b1f9baed88b20239dd5587f9e93fc9929 Mon Sep 17 00:00:00 2001 From: testusuke Date: Sun, 19 May 2024 12:35:24 +0900 Subject: [PATCH 3/4] =?UTF-8?q?change:=20=E3=83=AB=E3=83=BC=E3=83=86?= =?UTF-8?q?=E3=82=A3=E3=83=B3=E3=82=B0=E5=A4=89=E6=9B=B4=E3=81=AB=E4=BC=B4?= =?UTF-8?q?=E3=81=86=E3=80=81=E5=90=84=E3=82=B3=E3=83=B3=E3=83=9D=E3=83=BC?= =?UTF-8?q?=E3=83=8D=E3=83=B3=E3=83=88=E5=86=85=E3=81=AEurl=E3=81=AE?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sports/[id]/games/[gameId]/[matchId]/page.tsx | 2 +- app/(authenticated)/sports/[id]/page.tsx | 2 +- components/sports/leagueList.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/(authenticated)/sports/[id]/games/[gameId]/[matchId]/page.tsx b/app/(authenticated)/sports/[id]/games/[gameId]/[matchId]/page.tsx index 0a61507..52008ba 100644 --- a/app/(authenticated)/sports/[id]/games/[gameId]/[matchId]/page.tsx +++ b/app/(authenticated)/sports/[id]/games/[gameId]/[matchId]/page.tsx @@ -24,7 +24,7 @@ export default async function MatchPage({params}: { params: { matchId:string, ga {sport.name} - + {game.name}(ID:{gameId}) 試合(ID:{match.id}) diff --git a/app/(authenticated)/sports/[id]/page.tsx b/app/(authenticated)/sports/[id]/page.tsx index 5eac43a..6c1dd25 100644 --- a/app/(authenticated)/sports/[id]/page.tsx +++ b/app/(authenticated)/sports/[id]/page.tsx @@ -19,7 +19,7 @@ export default async function SportPage({params}: { params: { id: string } }) { 管理者のダッシュボード - + 競技管理 {sport.name} diff --git a/components/sports/leagueList.tsx b/components/sports/leagueList.tsx index 298fd11..f2a212a 100644 --- a/components/sports/leagueList.tsx +++ b/components/sports/leagueList.tsx @@ -16,7 +16,7 @@ export default function LeagueList(props: LeagueListProps) { {game.name} From b02070ee2e8738ff31f155005d2fbdd97ef31e30 Mon Sep 17 00:00:00 2001 From: testusuke Date: Sun, 19 May 2024 12:41:37 +0900 Subject: [PATCH 4/4] =?UTF-8?q?change:=20match=E3=81=AE=E3=83=AB=E3=83=BC?= =?UTF-8?q?=E3=83=86=E3=82=A3=E3=83=B3=E3=82=B0=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sports/[id]/games/[gameId]/{ => matches}/[matchId]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename app/(authenticated)/sports/[id]/games/[gameId]/{ => matches}/[matchId]/page.tsx (95%) diff --git a/app/(authenticated)/sports/[id]/games/[gameId]/[matchId]/page.tsx b/app/(authenticated)/sports/[id]/games/[gameId]/matches/[matchId]/page.tsx similarity index 95% rename from app/(authenticated)/sports/[id]/games/[gameId]/[matchId]/page.tsx rename to app/(authenticated)/sports/[id]/games/[gameId]/matches/[matchId]/page.tsx index 52008ba..b1ba6be 100644 --- a/app/(authenticated)/sports/[id]/games/[gameId]/[matchId]/page.tsx +++ b/app/(authenticated)/sports/[id]/games/[gameId]/matches/[matchId]/page.tsx @@ -15,7 +15,7 @@ export default async function MatchPage({params}: { params: { matchId:string, ga return( - + 管理者のダッシュボード