UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

34 lines 1.07 kB
/** * 2024-09-07: Migrated from the same folder in fps-library-v2/common/Images/... */ export const heroChoices = [ { index: 0, key: 'inLine', text: "Single In Line (below pivot)" }, { index: 8, key: 'carouselLayout', text: "Carousel Layout (below pivot)" }, { index: 7, key: 'carouselBuilder', text: "Alternate Carousel Layout (below pivot)" }, { index: 3, key: 'header', text: "Above" }, { index: 4, key: 'footer', text: "Below" }, { index: 1, key: 'left', text: "Left side" }, { index: 2, key: 'right', text: "Right side" }, { index: 9, key: 'none', text: "None" }, ]; export function getHeroChoice(findMe) { if (findMe === 'left') { return "left"; } else if (findMe === 'right') { return "right"; } else if (findMe === 'header') { return "header"; } else if (findMe === 'footer') { return "footer"; } else if (findMe === 'none') { return "none"; } else { return "left"; } } //# sourceMappingURL=hero.js.map