Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
${({ script, promoHasImage }) =>
!promoHasImage && script && getPica(script)}
}
${({ script }) => script && getPica(script)};
${({ service }) => service && getSerifMedium(service)};
${({ script }) => script && getPica(script)};
color: ${C_WHITE};
const Card = styled.li`
background-color: ${C_WHITE};
display: inline-block;
width: calc(20% - 4 * ${GEL_SPACING});
margin: 0 ${GEL_SPACING} ${GEL_SPACING_DBL} ${GEL_SPACING};
`;
const CardLink = styled.a`
text-decoration: none;
`;
const CardHeadline = styled.h4`
color: ${C_EBON};
${getSerifMedium(service)}
${getPica(script)}
`;
const TopicLink = styled(InlineLink)`
${getPica(script)};
${getSansRegular(service)}
color: ${C_EBON};
margin: ${GEL_SPACING_DBL}
`;
const OnwardJourneysHeading = styled.h2`
${getDoublePica(script)};
${getSansRegular(service)};
color: ${C_EBON};
margin: 0 ${GEL_SPACING_DBL};
`;
return (
More from the BBC
${({ script }) => script && getPica(script)}
${({ service }) => service && getSansRegular(service)}
${({ script }) => script && getPica(script)};
color: ${C_EBON};
${({ script }) => script && getPica(script)};
${({ service }) => service && getSansRegular(service)};
${({ script }) => script && getPica(script)};
${({ service }) => service && getSansRegular(service)}
${({ script }) => script && getPica(script)};
${({ service }) => service && getSansRegular(service)}