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:
1 parent
60cd055042
commit
2d6e95c414
7 files changed
+53
-25
No files matched your search
@@ -1,13 +1,13 @@
|
||||
import React from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import { motion } from 'motion/react';
|
||||
|
||||
export default function Navbar() {
|
||||
return (
|
||||
<nav className="fixed top-0 left-0 right-0 z-50 bg-white/70 backdrop-blur-lg border-b border-white/20">
|
||||
<div className="max-w-7xl mx-auto px-6 h-20 flex items-center justify-between">
|
||||
<div className="flex items-center gap-2">
|
||||
<Link to="/" className="flex items-center gap-2">
|
||||
<span className="font-serif text-3xl font-black tracking-[0.05em] bg-gradient-to-r from-[#4F1DA1] to-[#021341] bg-clip-text text-transparent">INFINITH</span>
|
||||
</div>
|
||||
</Link>
|
||||
<div className="hidden md:flex items-center gap-8 text-sm font-medium text-slate-600">
|
||||
<a href="#solution" className="hover:text-primary-900 transition-colors">Solution</a>
|
||||
<a href="#modules" className="hover:text-primary-900 transition-colors">Modules</a>
|
||||
|
||||
Reference in new issue
Block a user