Closed christianyipper closed 6 days ago
To resolve this issue, I had to use mailto to send users to their email address. I then used encodeURIComponent to set the subject line and body. Here is the code:
const email = 'christian@yipper.ca';
const subject = 'Your Subject';
const body = 'Hello Christian,';
<Button
text="christian@yipper.ca"
link={`mailto:${email}?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`}
duration="glow-24"
/>
Name: Broken Social Media Links
Status: Resolved
Description: Some social media links lead to nowhere.
Steps to Reproduce:
Expected Result: The selected icon should lead to the desired location in a new tab.
Actual Result: Reloads the page.
Configuration: iPhone 13: Chrome-Yes | Firefox-Yes | Edge-N/A Windows 10: Chrome-Yes | Firefox-Yes | Edge-Yes
Severity: Low
Priority: Low
Type: Bug