Welcome to the ICLP Platform documentation. This guide covers how we present training and programs in Corporate Law, Policy, and Governance Global, including course structure, enrollment flow, branding and theme, navigation, and APIs.
The platform is built with Next.js App Router, React, Tailwind CSS, TypeScript, Framer Motion (interactions), and next-themes for light/dark modes.
Courses are listed on the homepage in the Courses Preview and in the dedicated page at /courses. Each course card links to a detailed page via slug routing.
The enrollment experience is a multi-step form located at /enroll. It collects participant details, selects programs, and confirms submission.
We use next-themes with attribute='class' and storage key iclp_theme. The Theme Toggle and Onboarding overlay ensure reliable light/dark selection.
Logos and images live under /public/logo and /public/images. UI uses Tailwind with custom gradients and utilities (e.g., ice-cta-bg) for consistent CTAs and hero sections.
Local API routes power data and submissions. Key endpoints:
Implement input validation and add an email provider or CRM integration for production.
Static data for partners, programs, and case studies is available under src/app/data.
For dynamic content, consider a headless CMS or database layer and align types in src/app/types/.