import React, { useState } from "react"; import { motion } from "framer-motion"; import { ArrowRight, Check, Crown, Mail, Phone, MapPin, Bot, FileText, LineChart, Sparkles } from "lucide-react"; /** * AutoFlow — AI & Automation (Screenshot → Live) * * Built with: React + Tailwind + Framer Motion * Design goals: clean, modern, "quiet luxury" feel (ample white space, soft shadows, refined micro‑interactions) * * ✉️ Contact Form * - By default, it opens the user's mail client to send to volsobko@gmail.com. * - Optional: plug EmailJS for direct sending without a backend — see EMAILJS_* placeholders below. */ // Optional EmailJS settings (uncomment and fill to enable) // const EMAILJS_SERVICE_ID = ""; // e.g., "service_xxx" // const EMAILJS_TEMPLATE_ID = ""; // e.g., "template_xxx" // const EMAILJS_PUBLIC_KEY = ""; // e.g., "YOUR_PUBLIC_KEY" const fadeUp = { hidden: { opacity: 0, y: 16 }, show: { opacity: 1, y: 0, transition: { duration: 0.55, ease: [0.22, 1, 0.36, 1] } }, }; const stagger = { show: { transition: { staggerChildren: 0.06, delayChildren: 0.08 } } }; function SectionTitle({ eyebrow, title, subtitle }: { eyebrow?: string; title: string; subtitle?: string }) { return ( {eyebrow && ( {eyebrow} )} {title} {subtitle && ( {subtitle} )} ); } export default function AutoFlowPage() { return (
); } function Navbar() { return (
); } function Hero() { return (
AI & Automation Agency Unlock the Power of AI & Automation Transform your business with cutting‑edge AI solutions. Streamline operations, enhance productivity, and unlock new possibilities. Get Started Today Learn More {[ { value: "50+", label: "Projects" }, { value: "96%", label: "Success Rate" }, { value: "24/7", label: "Support" }, ].map((kpi, i) => (
{kpi.value}
{kpi.label}
))}
Robot
); } function Services() { const items = [ { icon: , title: "AI Chatbot", desc: "GPT‑powered bots for sites, Telegram/WhatsApp, Slack, CRM." }, { icon: , title: "Document‑AI", desc: "Intelligent extraction, classification, fast workflows." }, { icon: , title: "Predictive Analytics", desc: "Lead scoring, demand planning, anomaly detection." }, ]; return (
{items.map((it, i) => (
{it.icon}

{it.title}

{it.desc}

))}
); } function Packages() { const tiers = [ { name: "Starter Bot", price: "$1,000", note: "Basic FAQ chatbot", features: ["Simple intents", "Single channel", "Basic analytics"], cta: "Get Started", featured: false, }, { name: "Pro Bot", badge: "Most Popular", price: "$3,500", note: "CRM integration, Multilingual", features: ["Advanced NL pipelines", "Omnichannel messaging", "Multi‑language support", "Priority support"], cta: "Get Started", featured: true, }, { name: "Enterprise Assistant", price: "from $10,000", note: "Custom solutions, scaling", features: ["Custom models", "Security reviews", "SLA & SSO", "Dedicated PM"], cta: "Get Started", featured: false, }, ]; return (
{tiers.map((t, i) => ( {t.badge && ( {t.badge} )}

{t.name}

{t.price}

{t.note}

    {t.features.map((f, idx) => (
  • {f}
  • ))}
{t.cta}
))}
); } function Portfolio() { return (
Portfolio banner
E‑commerce Chatbot Integration
Automated customer support • A/B uplift +18%
View all Projects
); } function About() { const stats = [ { value: "500+", label: "Projects Completed" }, { value: "98.5%", label: "Client Satisfaction" }, { value: "24/7", label: "Support Available" }, ]; return (
AutoFlow is a provider of AI and automation solutions, dedicated to transforming how modern businesses operate. We bring 10+ years of experience in retail, e‑commerce, and services automation, helping companies increase efficiency and unlock growth.
{stats.map((s, i) => (
{s.value}
{s.label}
))}
); } function Contact() { const [form, setForm] = useState({ firstName: "", lastName: "", email: "", company: "", subject: "", message: "" }); const to = "volsobko@gmail.com"; async function onSubmit(e: React.FormEvent) { e.preventDefault(); // If EmailJS configured, try it first // if (EMAILJS_SERVICE_ID && EMAILJS_TEMPLATE_ID && EMAILJS_PUBLIC_KEY && (window as any).emailjs) { // const emailjs = (window as any).emailjs; // emailjs.init(EMAILJS_PUBLIC_KEY); // await emailjs.send(EMAILJS_SERVICE_ID, EMAILJS_TEMPLATE_ID, { // to_email: to, // from_name: `${form.firstName} ${form.lastName}`.trim() || "Website Visitor", // reply_to: form.email, // company: form.company, // subject: form.subject || "Website Inquiry", // message: form.message, // }); // alert("Message sent! We'll get back to you shortly."); // setForm({ firstName: "", lastName: "", email: "", company: "", subject: "", message: "" }); // return; // } // Fallback: open mail client const subject = encodeURIComponent(form.subject || "Website Inquiry"); const body = encodeURIComponent( `Name: ${form.firstName} ${form.lastName} Email: ${form.email} Company: ${form.company} ${form.message}` ); window.location.href = `mailto:${to}?subject=${subject}&body=${body}`; } return (
setForm({...form, firstName:e.target.value})} className="h-11 rounded-xl border border-neutral-300 bg-white px-4 outline-none placeholder:text-neutral-400 focus:border-neutral-900" placeholder="First name" /> setForm({...form, lastName:e.target.value})} className="h-11 rounded-xl border border-neutral-300 bg-white px-4 outline-none placeholder:text-neutral-400 focus:border-neutral-900" placeholder="Last name" />
setForm({...form, email:e.target.value})} className="h-11 rounded-xl border border-neutral-300 bg-white px-4 outline-none placeholder:text-neutral-400 focus:border-neutral-900" placeholder="Email" /> setForm({...form, company:e.target.value})} className="h-11 rounded-xl border border-neutral-300 bg-white px-4 outline-none placeholder:text-neutral-400 focus:border-neutral-900" placeholder="Company" />
setForm({...form, subject:e.target.value})} />