diff --git a/src/Components/Profile/ContactInfo.tsx b/src/Components/Profile/ContactInfo.tsx index bef32080..f693b331 100644 --- a/src/Components/Profile/ContactInfo.tsx +++ b/src/Components/Profile/ContactInfo.tsx @@ -1,31 +1,34 @@ +import { Link } from "react-router-dom"; import { useAssetApi } from "../AppShell/hooks/useAssets"; -const ContactInfo = ({ email, telephone, name, avatar } : {email: string, telephone: string, name: string, avatar: string}) => { +const ContactInfo = ({ email, telephone, name, avatar, link }: { email: string, telephone: string, name: string, avatar: string, link?: string }) => { const assetsApi = useAssetApi(); - return( + return (
{name}
{email && (+ className="tw-mt-2 tw-text-green-500 tw-inline-flex tw-items-center">