import clsx from 'clsx' import Link from 'next/link' export const SiteLink = (props: { href: string children: any className?: string }) => { const { href, children, className } = props return href.startsWith('http') ? ( e.stopPropagation()} > {children} ) : ( e.stopPropagation()} > {children} ) }