'use client'; import React, { useState } from 'react'; import Link from 'next/link'; import { ChevronDown, ChevronRight, FileText, Home } from 'lucide-react'; import { navSections } from './sections/_shared'; import OverviewSection from './sections/OverviewSection'; import OperationsSection from './sections/OperationsSection'; import TourismSection from './sections/TourismSection'; import MasterDataSection from './sections/MasterDataSection'; import FinancialSection from './sections/FinancialSection'; import CustomerServicesSection from './sections/CustomerServicesSection'; import SecuritySection from './sections/SecuritySection'; import AnalyticsSection from './sections/AnalyticsSection'; import SystemSection from './sections/SystemSection'; export default function DocPage() { const [expanded, setExpanded] = useState>({ overview: true, operations: true, tourism: false, masterdata: false, financial: false, services: false, security: false, analytics: false, system: false, }); const toggle = (id: string) => setExpanded(prev => ({ ...prev, [id]: !prev[id] })); const scrollTo = (id: string) => { setTimeout(() => { const el = document.getElementById(id); if (el) window.scrollTo({ top: el.getBoundingClientRect().top + window.pageYOffset - 120, behavior: 'smooth' }); }, 0); }; return (
{/* Top bar */}

Documentation

API Docs Dashboard
{/* Sidebar nav */}
{/* Content */}
© 2026 Ethio-Djibouti Railway · Passenger Backoffice Documentation v1.0.0
); }