# Content Components Modern, component-based content rendering system for WordPress migration to Next.js. These components handle WordPress content display in a responsive, accessible, and SEO-friendly way. ## Components Overview ### 1. Hero Component (`Hero.tsx`) Full-width hero section with background image support, overlays, and CTAs. **Features:** - Background images with Next.js Image optimization - Text overlay for readability - Multiple height options (sm, md, lg, xl, full) - Optional CTA button - Responsive sizing - Variant support (default, dark, primary, gradient) **Usage:** ```tsx import { Hero } from '@/components/content'; ``` ### 2. ContentRenderer Component (`ContentRenderer.tsx`) Sanitizes and renders HTML content from WordPress with class conversion. **Features:** - HTML sanitization (removes scripts, styles, dangerous attributes) - WordPress class to Tailwind conversion - Next.js Image component integration - Shortcode processing - Safe HTML parsing - SEO-friendly markup **Usage:** ```tsx import { ContentRenderer } from '@/components/content'; ``` **Supported HTML Elements:** - Typography: `

`, ``, ``, ``, `` - Lists: `