--- import { ensureListingDetails } from '~/helpers/listing-page.js' // import LinkButton from '~/components/link-button.js' import Heading from './heading.astro' const { listing } = Astro.props const details = ensureListingDetails( listing ) const isNonNativeGame = listing.status !== 'native' && details.isGame // Example: Adobe+Photoshop const listingUrlFirendlyName = encodeURIComponent( listing.name ) const links = [ { label: '🔄 CrossOver Compatibility', href: `https://www.codeweavers.com/compatibility?browse=&ad=912&app_desc=&company=&rating=&platform=&date_start=&date_end=&search=app&name=${ listingUrlFirendlyName }#results` }, { label: '🔄 CrossOver Performance', href: 'https://www.codeweavers.com/blog/jnewman/2020/11/23/more-crossover-m1-goodness-see-3-different-windows-games-running?ad=912' }, { label: '⏸ Parallels Compatibility', href: 'https://prf.hn/l/pRelBQ5' }, { label: '⏸ Parallels Performance', href: 'https://prf.hn/l/J9G0JeM' } ] const totalLinks = links.length --- { isNonNativeGame && ( )}