'use client'; import React from 'react'; import { Card } from '@/components/ui/Card'; import { Button } from '@/components/ui/Button'; interface TemplateCardsProps { t: any; // i18n translation function } export const TemplateCards: React.FC = ({ t }) => { const templates = [ { key: 'restaurant', title: t.templates.restaurant, icon: '🍽️', color: 'bg-red-50 border-red-200', iconBg: 'bg-red-100', }, { key: 'business', title: t.templates.business, icon: '💼', color: 'bg-blue-50 border-blue-200', iconBg: 'bg-blue-100', }, { key: 'vcard', title: t.templates.vcard, icon: '👤', color: 'bg-purple-50 border-purple-200', iconBg: 'bg-purple-100', }, { key: 'event', title: t.templates.event, icon: '🎫', color: 'bg-green-50 border-green-200', iconBg: 'bg-green-100', }, ]; return (

{t.templates.title}

{templates.map((template) => (
{template.icon}

{template.title}

))}
); };