import classNames from "classnames"; import LinkComp from "next/link"; import { useRouter } from "next/router"; import { FormattedMessage } from "react-intl"; export const Link = ({ name, link, comingSoon, }: { name: string; link: string; comingSoon?: boolean; }) => { const { pathname } = useRouter(); return comingSoon ? (