import { productCardMock } from './productCard';
import { callToActionsMock, callToActionsMultiButtonMock, callToActionsCaptionMock } from './callToActions';
import { ratingMock } from './rating';
import { productBundleMock } from './productBundles';

export const productBannerMock = {
    summary: productCardMock,
    callToActions: callToActionsMock.callToActions,
    configurator: {
        url: 'http://url'
    },
    categories: [
        {
            label: 'Analytics',
            href: '/en-US/listing?cat=74889'
        },
        {
            label: 'Mobility IoT',
            href: '/en-US/listing?scat=51954'
        }
    ],
    listingPageUrl: '/en-US/listing',
    relatedContent: ratingMock,
    i18n: {
        backLinkLabel: 'Back to Results',
        listingLinkLabel: 'All Products'
    }
};

export const productBannerMultiButtonMock = {
    summary: productCardMock,
    callToActions: callToActionsMultiButtonMock.callToActions,
    configurator: {
        url: 'http://url'
    },
    relatedContent: ratingMock
};

export const productBannerCaptionMock = {
    summary: productCardMock,
    callToActions: callToActionsCaptionMock.callToActions,
    configurator: {
        url: 'http://url'
    },
    relatedContent: ratingMock
};


export const productBannerNoImageMock = {
    ...productBannerMock,
    summary: {
        ...productBannerMock.summary,
        logoSrc: null,
        logoSrcset: {}
    }
};

export const bundleBannerMock = {
    summary: productBundleMock.bundle.summary,
    callToActions: productBundleMock.bundle.callToActions,
    listingPageUrl: '/en-US/listing',
    i18n: {
        backLinkLabel: 'Back to Results',
        listingLinkLabel: 'All Products'
    }
};
