Something went wrong. Try again.
a tool for shared writing and social publishing
Something went wrong. Try again.
434 B · 15 lines
TSX
12345678910111213141516// Preserve the sticker's intended portrait ratio so callers only pick a width.const ASPECT = 96 / 56;
export const SaleSticker = (props: { className?: string; width: number }) => { return ( <div className={`${props.className} shrink-0`}> <img src={"/about/saleSticker.png"} alt={"25% off Yearly Leaflet Pro"} width={props.width} height={props.width * ASPECT} /> </div> );};