import type { CSSProperties } from 'react' import styles from './MenuBackdrop.module.scss' const PizzaIcon = () => ( ) const BurgerIcon = () => ( ) const FriesIcon = () => ( ) const ICONS = [PizzaIcon, BurgerIcon, FriesIcon] const ICON_COLORS = [ '#e2725b', // tomato '#d9a441', // crust '#e8c468', // cheese '#7a9d6e', // basil '#a5678f', // berry '#8a5a44', // cocoa ] // Fixed, hand-placed positions rather than random ones — random values would // differ between the server-rendered and first client-rendered HTML and // trigger a hydration mismatch. Positioned as percentages of the containing // card, not the viewport, so this only ever covers whatever box renders it. const PLACEMENTS = [ { top: '10%', left: '8%', size: 32, rotate: -14, delay: 0 }, { top: '14%', left: '82%', size: 26, rotate: 18, delay: 0.5 }, { top: '40%', left: '20%', size: 24, rotate: 8, delay: 1.1 }, { top: '55%', left: '80%', size: 30, rotate: -10, delay: 0.3 }, { top: '78%', left: '14%', size: 26, rotate: 16, delay: 1.6 }, { top: '82%', left: '58%', size: 22, rotate: -20, delay: 0.8 }, { top: '22%', left: '48%', size: 20, rotate: 6, delay: 1.3 }, { top: '62%', left: '44%', size: 24, rotate: -6, delay: 0.2 }, ] export const MenuBackdrop = () => (
)