---
import { formatLink } from '@utils/parse-markdown';
interface Props {
name: string;
url: string;
icon?: string;
size?: number;
}
const { name, url, icon, size = 40 } = 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);
---