import { useParams, Link } from 'react-router-dom' import { ChevronRight, ArrowLeft } from 'lucide-react' import { guides } from '@/data/guides' import { GuideSection } from '@/components/guides/GuideSection' export default function GuideDetailPage() { const { slug } = useParams<{ slug: string }>() const guide = guides.find(g => g.slug === slug) if (!guide) { return (

Guide Not Found

The guide you're looking for doesn't exist.

Back to Guides
) } const Icon = guide.icon return (
{/* Breadcrumb */} {/* Header */}

{guide.title}

{guide.summary}

{guide.sections.length} {guide.sections.length === 1 ? 'section' : 'sections'} {guide.sections.reduce((acc, s) => acc + s.steps.length, 0)} steps
{/* Sections */}
{guide.sections.map((section, i) => ( ))}
{/* Back link */}
Back to all guides
) }