import Link from 'next/link'; import { PageHeader } from '@/components/shared/page-header'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; interface ChecklistItem { href: string; label: string; description: string; } const CHECKLIST: ChecklistItem[] = [ { href: 'branding', label: 'Set port name, logo, primary colour', description: 'Branding flows into the navbar, emails, and EOI PDFs.', }, { href: 'email', label: 'Configure outgoing email', description: 'From-address, signature, footer, plus per-port SMTP overrides if you don’t use the global account.', }, { href: 'documenso', label: 'Connect Documenso for EOIs', description: 'API credentials and the EOI template id, plus the in-app vs Documenso pathway choice.', }, { href: 'settings', label: 'Tune business rules + recommender weights', description: 'Pipeline weights, net-10 discount, berth recommender knobs (heat weights, fall-through policy).', }, { href: 'roles', label: 'Create roles & assign users', description: 'Per-port roles inherit from the global system roles; override permissions here.', }, { href: 'invitations', label: 'Invite the rest of the team', description: 'Invitations track pending, expired, and accepted state and can be resent or revoked.', }, { href: 'tags', label: 'Define starter tags', description: 'Color-coded labels used across clients, yachts, companies, and interests.', }, { href: 'forms', label: 'Wire the website intake forms', description: 'Inquiry forms on the marketing site dual-write into the CRM via /api/public/website-inquiries.', }, ]; export default function OnboardingPage() { return (
Setup checklist Work through these in order. The future onboarding wizard will track progress per port; for now this is a guided index.
    {CHECKLIST.map((item, idx) => (
  1. {idx + 1}
    {item.label}

    {item.description}

  2. ))}
What this page will become A guided wizard that walks per-port admins through the same steps with progress tracking. The wizard will record completion per port in system_settings, gate the public marketing-site cutover until required steps are done, and surface a banner on the dashboard when onboarding is incomplete.
); }