'use client'; import React from 'react'; import Link from 'next/link'; import { Button } from '@/components/ui/Button'; import { Badge } from '@/components/ui/Badge'; import { Card } from '@/components/ui/Card'; interface HeroProps { t: any; // i18n translation function } export const Hero: React.FC = ({ t }) => { const templateCards = [ { title: 'URL/Website', color: 'bg-blue-100', icon: '🌐' }, { title: 'Contact Card', color: 'bg-purple-100', icon: '👤' }, { title: 'Location', color: 'bg-green-100', icon: '📍' }, { title: 'Phone Number', color: 'bg-pink-100', icon: '📞' }, ]; return (
{/* Animated Background Orbs */}
{/* Orb 1 - Blue (top-left) */}
{/* Orb 2 - Purple (top-right) */}
{/* Orb 3 - Pink (bottom-left) */}
{/* Orb 4 - Cyan (center-right) */}
{/* Left Content */}
{t.hero.badge}

{t.hero.title}

{t.hero.subtitle}

{t.hero.features.map((feature: string, index: number) => (
{feature}
))}
{/* Right Preview Widget */}
{templateCards.map((card, index) => (
{card.icon}

{card.title}

))}
{/* Floating Badge */}
{t.hero.engagement_badge}
{/* Smooth Gradient Fade Transition */}
); };