/** * Email Automation Premium Page * * Premium upgrade page for Email Automation module. * Shows when Yatra Pro is not active or module is not enabled. * * @package Yatra * @since 3.0.0 */ import React from "react"; import { Card, CardContent } from "../../components/ui/card"; import { Button } from "../../components/ui/button"; import { __ } from "../../lib/i18n"; import { Mail, FileText, Clock, Users, Sparkles, CheckCircle, ArrowRight, Send, Bell, Megaphone, BarChart, Zap, CreditCard, Calendar, } from "lucide-react"; // Premium Upgrade Component const EmailAutomationPremium: React.FC = () => { const features = [ { icon: FileText, title: __("Custom Email Templates"), description: __( "Edit and customize all system email templates with your branding.", ), }, { icon: Clock, title: __("Automated Sequences"), description: __( "Create drip campaigns and automated email sequences for different triggers.", ), }, { icon: Send, title: __("Smart Triggers"), description: __( "Set up automatic emails based on booking status, payments, and customer actions.", ), }, { icon: BarChart, title: __("Email Analytics"), description: __( "Track email delivery rates, open rates, and engagement metrics.", ), }, ]; const stats = [ { icon: BarChart, value: "68%", label: __("Higher Open Rates"), }, { icon: Users, value: "3.5x", label: __("Booking Conversion"), }, { icon: Zap, value: "24/7", label: __("Automation"), }, ]; const emailTypes = [ { icon: Bell, title: __("Booking Confirmations"), description: __("Instant booking confirmation emails with all details."), trigger: __("On booking creation"), }, { icon: CreditCard, title: __("Payment Notifications"), description: __("Payment received, failed, and refund notifications."), trigger: __("On payment status change"), }, { icon: Calendar, title: __("Trip Reminders"), description: __("Pre-trip reminders and departure notifications."), trigger: __("Before trip date"), }, { icon: Megaphone, title: __("Marketing Emails"), description: __("Promotional campaigns and newsletter broadcasts."), trigger: __("Manual/automated"), }, ]; return (
{__( "Email Automation is a premium module. Upgrade to Yatra Pro to unlock advanced email marketing.", )}
{__( "Create powerful email campaigns, automate customer communication, and track engagement with Yatra Pro.", )}
{feature.description}
{emailType.description}
{__( "Transform your customer communication with intelligent email automation and drive more bookings with Yatra Pro.", )}
{__("14-day money-back guarantee")}