import './component';
import './preview';

const { Application } = Shopware;

Application.getContainer('service').cmsService.registerCmsBlock({
    name: 'bc-discount-banner',
    label: 'sw-cms.blocks.text-image.bc-discount-banner.title',
    category: 'text-image',
    component: 'sw-cms-block-bc-discount-banner',
    previewComponent: 'sw-cms-block-preview-bc-discount-banner',
    defaultConfig: {
        marginBottom: '90px',
        marginTop: '90px',
        marginLeft: '20px',
        marginRight: '20px'
    },
    slots: {
        bannerLeft: 'bc-discount-banner',
        bannerRight: 'bc-discount-banner',
    }
});
