woocommerce/plugins/woocommerce-admin/client/customize-store/data/homepageTemplates.ts

81 lines
2.2 KiB
TypeScript
Raw Normal View History

export const HOMEPAGE_TEMPLATES = {
template1: {
blocks: [
// Header
'woocommerce-blocks/header-centered-menu-with-search',
// Body
2023-10-04 17:49:45 +00:00
'woocommerce-blocks/just-arrived-full-hero',
'woocommerce-blocks/product-collection-5-columns',
'woocommerce-blocks/hero-product-3-split',
'woocommerce-blocks/product-collection-3-columns',
'woocommerce-blocks/testimonials-3-columns',
'woocommerce-blocks/featured-category-triple',
'woocommerce-blocks/social-follow-us-in-social-media',
// Footer
'woocommerce-blocks/footer-with-3-menus',
],
metadata: {
businessType: [ 'e-commerce', 'large-business' ],
contentFocus: [ 'featured products' ],
audience: [ 'general' ],
design: [ 'contemporary' ],
features: [
'fullwidth-image-banner',
'testimonials',
'social-media',
'search',
],
complexity: 'high',
},
},
template2: {
blocks: [
// Header
'woocommerce-blocks/header-essential',
// Body
2023-10-04 17:49:45 +00:00
'woocommerce-blocks/featured-category-cover-image',
'woocommerce-blocks/product-collection-4-columns',
'woocommerce-blocks/hero-product-chessboard',
'woocommerce-blocks/product-collection-5-columns',
'woocommerce-blocks/testimonials-3-columns',
// Footer
'woocommerce-blocks/footer-large',
],
metadata: {
businessType: [ 'e-commerce', 'subscription', 'large-business' ],
contentFocus: [ 'catalog' ],
audience: [ 'general' ],
design: [ 'contemporary' ],
features: [ 'small-banner', 'testimonials', 'newsletter' ],
complexity: 'high',
},
},
template3: {
blocks: [
// Header
'woocommerce-blocks/header-centered-menu-with-search',
// Body
'woocommerce-blocks/featured-category-cover-image',
2023-10-04 17:49:45 +00:00
'woocommerce-blocks/product-collection-featured-products-5-columns',
'woocommerce-blocks/featured-category-triple',
'woocommerce-blocks/product-query-product-gallery',
// Footer
'woocommerce-blocks/footer-with-3-menus',
],
metadata: {
businessType: [ 'subscription', 'large-business' ],
contentFocus: [ 'catalog', 'call-to-action' ],
audience: [ 'general' ],
design: [ 'contemporary' ],
features: [ 'small-banner', 'social-media' ],
complexity: 'high',
},
},
};