2022-06-28 05:53:03 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
|
|
|
import WCSImage from '../images/wcs.svg';
|
|
|
|
import PrinterImage from '../images/printer.svg';
|
|
|
|
import PaperImage from '../images/paper.svg';
|
|
|
|
import DiscountImage from '../images/discount.svg';
|
2023-02-20 13:32:14 +00:00
|
|
|
import { PluginBanner } from './plugin-banner';
|
|
|
|
|
|
|
|
const features = [
|
|
|
|
{
|
|
|
|
icon: PrinterImage,
|
|
|
|
title: __( 'Buy postage when you need it', 'woocommerce' ),
|
|
|
|
description: __(
|
|
|
|
'No need to wonder where that stampbook went.',
|
|
|
|
'woocommerce'
|
|
|
|
),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
icon: PaperImage,
|
|
|
|
title: __( 'Print at home', 'woocommerce' ),
|
|
|
|
description: __(
|
|
|
|
'Pick up an order, then just pay, print, package and post.',
|
|
|
|
'woocommerce'
|
|
|
|
),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
icon: DiscountImage,
|
|
|
|
title: __( 'Discounted rates', 'woocommerce' ),
|
|
|
|
description: __(
|
|
|
|
'Access discounted shipping rates with DHL and USPS.',
|
|
|
|
'woocommerce'
|
|
|
|
),
|
|
|
|
},
|
|
|
|
];
|
2022-06-28 05:53:03 +00:00
|
|
|
|
|
|
|
export const WCSBanner = () => {
|
2023-02-20 13:32:14 +00:00
|
|
|
return <PluginBanner logo={ { image: WCSImage } } features={ features } />;
|
2022-06-28 05:53:03 +00:00
|
|
|
};
|