--- import config from 'virtual:starlight/user-config'; import { Icon } from '@astrojs/starlight/components'; const links = config.social || []; --- { links.length > 0 && ( <> {links.map(({ label, href, icon }) => ( {label} ))} > ) }