fix: handle mailto:
links in AuthorCard
(#17)
This commit is contained in:
parent
931bf7277c
commit
021accda4e
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ const socialLinks: SocialLink[] = [
|
|||
github && { href: github, label: 'GitHub' },
|
||||
twitter && { href: twitter, label: 'Twitter' },
|
||||
linkedin && { href: linkedin, label: 'LinkedIn' },
|
||||
mail && { href: mail, label: 'Email' },
|
||||
mail && { href: `mailto:${mail}`, label: 'Email' },
|
||||
].filter(Boolean) as SocialLink[]
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue