Skip to content

科目詳細ページを実装#25

Open
T-shinku0314 wants to merge 1 commit into
mainfrom
feature/subjects-detail
Open

科目詳細ページを実装#25
T-shinku0314 wants to merge 1 commit into
mainfrom
feature/subjects-detail

Conversation

@T-shinku0314

Copy link
Copy Markdown
Contributor

やったこと

  • Figma MCPを使って詳細ページのUIを実装
  • useRouter を使って、科目をクリックすると /subjects/{科目ID} に遷移するようにした。

@T-shinku0314

Copy link
Copy Markdown
Contributor Author
スクリーンショット 2026-07-21 103432 詳細画面のスクショです。

params: { path: { id } },
});

if (error || !data) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

今回は難しいかもだから直さなくてもいいけど、エラーハンドリングを適切にできると良さそう
404の時はNot Found的な感じかな
https://developer.mozilla.org/ja/docs/Web/HTTP/Reference/Status
↑とかみてみると面白いかも

サーバー側もやってみて、ここら辺の理解を深めよう

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants