--- /** * Override of Starlight's SocialIcons. * Renders any configured social links, then a GitHub "stars" badge. * The star count is filled client-side from the GitHub API and * degrades gracefully to a "Star" label if the request fails. */ import config from 'virtual:starlight/user-config'; import { Icon } from '@astrojs/starlight/components'; // Drop the RSS feed link from the header — the blog sidebar already links // the feed, and we don't want it duplicated up here (starlight-blog pushes // an `icon: 'rss'` entry into `social` when `site` is set). const links = (config.social || []).filter((s) => s.icon !== 'rss'); const repo = 'obsessiondb/chkit'; --- { links.map(({ label, href, icon }) => ( {label} )) } Star