{{-- AI Website Maker Hero Section Expects $content to contain: - title: string - subtitle: string - cta_text: string - cta_link: string - secondary_cta_text: string (optional) - secondary_cta_link: string (optional) - background_image_url: string (URL to image) - text_color: string (e.g., 'text-white') --}} @php $title = $content['title'] ?? 'Create Your Stunning Website with AI'; $subtitle = $content['subtitle'] ?? 'Launch a professional, beautiful website in minutes. No coding required. Let our AI do the heavy lifting.'; $ctaText = $content['cta_text'] ?? 'Get Started For Free'; $ctaLink = $content['cta_link'] ?? route('register'); // Default to register route $secondaryCtaText = $content['secondary_cta_text'] ?? 'See Examples'; $secondaryCtaLink = $content['secondary_cta_link'] ?? '#'; // Placeholder $backgroundImageUrl = $content['background_image_url'] ?? null; // Admin will upload this $textColor = $content['text_color'] ?? 'text-white'; // Default text color for hero $bgStyle = $backgroundImageUrl ? "background-image: url('".Storage::url($backgroundImageUrl)."');" : ""; @endphp
{{-- Overlay for better text readability --}}

{{ $title }}

{{ $subtitle }}

{{ $ctaText }} @if(!empty($secondaryCtaText) && !empty($secondaryCtaLink)) {{ $secondaryCtaText }} @endif