import React, {FC} from "react"; import {__} from "@/Ulititlies.ts"; import {GlowEffect} from "../components/motion-primitives/glow-effect.tsx"; export type WelcomeHomeProps = { } const steps = [ { imageURL: `${window.CouponsPlusWelcome.urls.storage}/images/filters.png`, title: __('Select your product filters'), description: { main: __('Select from a wide variety of product filters. You can combine several filters in a group to target more specific products.'), secondary: __('These filtered items will be passed to your offers so you can apply an offer to them or use them as a condition for applying an offer.') } }, { imageURL: `${window.CouponsPlusWelcome.urls.storage}/images/offers.png`, title: __('Add your offers'), description: { main: __("Add offers that use the filtered items from the previous step. You can apply a direct offer to these items (for example, a percentage discount) or use them as a condition for another promotion, such as a 'Buy X, Get Y FREE' offer or a shipping discount when buying specific items."), } }, ] export const WelcomeHome: FC = ({}) => { return <>

{__('Welcome to')} {__('The Next-Generation')} {__('Offers Engine')}

Create coupon

{__('Coupons+ coupons are created on the same screen as the default WooCommerce coupons')}

{__('How does it work?')}

{steps.map(({imageURL, title, description: {main, secondary}}, index) =>
{index + 1}
{__('filters

{title}

{main}

{secondary &&

{secondary}

}
)}
}