Skip to content

Commit

Permalink
Update SocialList.astro email
Browse files Browse the repository at this point in the history
  • Loading branch information
mabvmex authored Sep 9, 2024
1 parent 329250e commit bbdb262
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/components/SocialList.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,31 @@ const socialLinks: {
},
{
friendlyName: "email",
link: "mabvmex@gmail.com",
mailto: "mabvmex@gmail.com",
name: "mdi:email",
},
];
---

<div class="flex flex-wrap items-end gap-x-2">
<p>Github</p>
<ul class="flex flex-1 items-center gap-x-2 sm:flex-initial">
{
socialLinks.map(({ friendlyName, isWebmention, link, name }) => (
<li class="flex">
<a
class="inline-block sm:hover:text-link"
href={link}
rel={`noreferrer ${isWebmention ? "me authn" : ""}`}
target="_blank"
>
<Icon aria-hidden="true" class="h-8 w-8" focusable="false" name={name} />
<span class="sr-only">{friendlyName}</span>
</a>
</li>
))
}
<p>email</p>
<ul class="flex flex-1 items-center gap-x-2 sm:flex-initial">
{
socialLinks.map(({ friendlyName, isWebmention, link, name }) => (
Expand Down

0 comments on commit bbdb262

Please sign in to comment.