import React from 'react'; import { Button } from './ui/button'; import { Card } from './ui/card'; import { mailCheckIconFigma, contactIconFigma, mailOpenIconFigma, chevronRightIconFigma, } from '../assets/images'; interface FormTemplate { id: string; name: string; icon: string; popular?: boolean; } const formTemplates: FormTemplate[] = [ { id: 'subscription', name: 'Subscription Form', icon: mailCheckIconFigma, popular: true, }, { id: 'contact', name: 'Contact Form', icon: contactIconFigma, popular: true, }, { id: 'newsletter', name: 'Inline Newsletter Form', icon: mailOpenIconFigma, popular: false, }, ]; const CreateFormSection: React.FC = () => { return (
{/* Header */}

Create with our popular forms

{/* Form Templates Grid */}
{formTemplates.map((template) => (
{/* Icon */}
{template.name}
{/* Form Name */}

{template.name}

{/* Popular Badge */} {template.popular && (

Popular

)}
))}
{/* View All Button */}
); }; export default CreateFormSection;