fix: remove all hardcoded view-clinic references for dynamic report routing

- useReport: remove view-clinic guard so any reportId fetches from Supabase
- KPIDashboard: dynamic plan link + clinicName-based PDF filename
- PlanCTA: dynamic studio path via useParams
- PageNavigator: prefix-based path matching for dynamic route IDs
- Navbar/Footer: logo links to landing via React Router Link

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Haewon KamandClaude Opus 4.6 committed 2026-04-02 12:02:34 +09:00
1 parent 60cd055042
commit 2d6e95c414
7 files changed
+53 -25

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ export function useReport(id: string | undefined): UseReportResult {
}
// Source 2: Fetch from Supabase by report ID (bookmarked/shared link)
if (id && id !== 'view-clinic') {
if (id) {
fetchReportById(id)
.then((row) => {
const transformed = transformApiReport(