import React, { useState } from "react"; import { Tilt } from "react-tilt"; import { motion } from "framer-motion"; import { fadeIn, textVariant } from "src/utils/motion"; import { services } from "src/constans"; import { styles } from "src/style"; import { SectionWrapper } from "src/hoc"; import Image from "next/image"; import vector1 from "@img/Vector1.png"; import validateIranPhone from "plugins/IranPhoneRegex"; import { toast } from "react-toastify"; const ServiceCard = ({ index, title, icon }) => (
{/* web-development */}

{title}

); const StressTest = () => { const [subscribe, setSubscribe] = useState(false); const [subscribeNumber, setSubscribeNumber] = useState(""); const handleSubscribeNumber = () => { if ( subscribeNumber && subscribeNumber.trim() !== "" && validateIranPhone(subscribeNumber.trim()) ) { setSubscribe(true); } else { toast.error(`contact number is not acceptable`, { position: "bottom-right", closeOnClick: true, }); } }; return (

B e Part of Our Stress Test{" "}

Be Part of Our Stress Test and try us as an early adapter {subscribe ? (

Thank you for your trust, we will contact you

) : (
setSubscribeNumber(e.target.value)} value={subscribeNumber} />
)}
{services.map((service, index) => ( ))}
); }; export default SectionWrapper(StressTest, "StressTest");