Skip to content

Commit

Permalink
feat:ヘッダーに不足しているリンクを追加した
Browse files Browse the repository at this point in the history
  • Loading branch information
kiharu3112 committed Oct 27, 2024
1 parent 7681883 commit 7f1fe3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/kcmsf/src/components/header.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ describe("header component", () => {

expect(screen.getByText("参加者一覧")).toHaveAttribute("href", "/team");
expect(screen.getByText("参加者登録")).toHaveAttribute("href", "/register");
expect(screen.getByText("参加者一括登録")).toHaveAttribute("href", "/register/bulk");
expect(screen.getByText("試合表")).toHaveAttribute("href", "/matchlist");
expect(screen.getByText("試合結果")).toHaveAttribute("href", "/result");
expect(screen.getByText("ランキング")).toHaveAttribute("href", "/ranking");
expect(screen.getByText("エキシビション")).toHaveAttribute("href", "/match");
});
});
2 changes: 2 additions & 0 deletions packages/kcmsf/src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ export function Header() {
</Link>
<Link to="/team">参加者一覧</Link>
<Link to="/register">参加者登録</Link>
<Link to="/register/bulk">参加者一括登録</Link>
<Link to="/matchlist">試合表</Link>
<Link to="/result">試合結果</Link>
<Link to="/ranking">ランキング</Link>
<Link to="/match">エキシビション</Link>
</Group>
</AppShell.Header>
);
Expand Down

0 comments on commit 7f1fe3d

Please sign in to comment.