Welcome to Legends Tour

This is a headless WordPress + Next.js application following the architecture defined in the source of truth.

Getting Started

  1. 1. Configure WordPress API: Update the .env.local file with your WordPress API URL
  2. 2. View Dynamic Pages: Navigate to /[slug] to see WordPress content rendered
  3. 3. Add Content: Create pages in WordPress with ACF Flexible Content blocks
  4. 4. Extend: Add new blocks by creating components and registering them in blockRegistry.ts

📝 Content Management

Editors manage content in WordPress using ACF Flexible Content

⚛️ Component Rendering

Next.js automatically maps WordPress blocks to React components

🔒 Secure Architecture

API keys stay on the server, never exposed to the client