woocommerce/packages/woocommerce-blocks/assets/js/previews/categories.js
2021-12-10 12:03:04 +00:00

31 lines
682 B
JavaScript

/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
import { WC_BLOCKS_IMAGE_URL } from '@woocommerce/block-settings';
export const previewCategories = [
{
id: 1,
name: __( 'Clothing', 'woocommerce' ),
slug: 'clothing',
parent: 0,
count: 10,
description: `<p>${ __(
'Branded t-shirts, jumpers, pants and more!',
'woocommerce'
) }</p>\n`,
image: {
id: 1,
date_created: '2019-07-15T17:05:04',
date_created_gmt: '2019-07-15T17:05:04',
date_modified: '2019-07-15T17:05:04',
date_modified_gmt: '2019-07-15T17:05:04',
src: WC_BLOCKS_IMAGE_URL + 'previews/collection.jpg',
name: '',
alt: '',
},
permalink: '#',
},
];