import Link from "next/link"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { IconDefinition, faLink } from "@fortawesome/free-solid-svg-icons"; interface ILinkableHeadingProps { icon?: IconDefinition; text: string; slug: string; } export default function LinkableHeading({ icon, text, slug }: ILinkableHeadingProps) { return (