---
import { formatLink } from '@utils/parse-markdown';
interface Props {
name: string;
url: string;
icon?: string;
size?: number;
eager?: boolean; // Set on above-the-fold icons, so they aren't deferred
}
const { name, url, icon, size = 40, eager = false } = Astro.props;
const src = icon || `https://icon.horse/icon/${formatLink(url)}`;
const horseSrc = `https://icon.horse/icon/${formatLink(url)}`;
const iconSize = Math.round(size * 0.45);
---