Skip to content

Commit

Permalink
Merge pull request #58 from ChangePlusPlusVandy/clickable-email
Browse files Browse the repository at this point in the history
Implement clickable email
  • Loading branch information
JiashuHarryHuang authored Nov 5, 2023
2 parents 17cf385 + 17355e0 commit 619c398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Event/Contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
EVENT_CONTACT_ICON_HEIGHT,
} from '@/utils/constants';
import { Media } from '@/lib/media';
import Link from 'next/link';

/**
* Contain Contact info
Expand Down Expand Up @@ -43,8 +44,7 @@ const Contact = ({ phone, email }: { phone: string; email: string }) => (
height={EVENT_CONTACT_ICON_HEIGHT}
/>
<IconText>
{/* TODO: Make it clickable */}
{email}
<Link href={'mailto:' + email}>{email}</Link>
</IconText>
</IconBox>
</BigIconBox>
Expand Down

1 comment on commit 619c398

@vercel
Copy link

@vercel vercel bot commented on 619c398 Nov 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

bookem-user – ./

bookem-user-bookem-user.vercel.app
bookem-user-git-main-bookem-user.vercel.app
bookem-user.vercel.app

Please sign in to comment.