import { computed } from 'vue' import fallbackImage from '../assets/fallback.svg'; export const Tiles = (props: { allowHScroll?: boolean, tileSize?: number, twoRows?: boolean, }) => { const classes = computed(() => ({ 'scroll': props.allowHScroll ?? false, 'two-rows': props.twoRows ?? false, })), styles = computed(() => ({ '--tile-size': (props.tileSize ?? 150)+'px', '--tile-size-mobile': (Math.round((props.tileSize ?? 150) * 0.85))+'px', })) return vine`