Skip to content

Commit

Permalink
set email btn
Browse files Browse the repository at this point in the history
  • Loading branch information
anamontiaga committed Feb 28, 2024
1 parent 0a52fb9 commit 954efe8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion client/src/containers/share/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,13 @@ export default function Share() {
</Button>

<Button variant="primary" className="rounded-full">
<Mail className="fill-white text-yellow-400" size={16} />
<a
target="_blank"
rel="noopener noreferrer"
href={`mailto:contact@afoco.com?subject=I want to share this AFoCO link with you&body=${currentUrl}`}
>
<Mail className="fill-white text-yellow-400" size={16} />
</a>
</Button>
</div>
</div>
Expand Down

0 comments on commit 954efe8

Please sign in to comment.