Skip to content

Commit

Permalink
Merge pull request #111 from Dekker500/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
apvarun committed Jan 13, 2024
2 parents 20b7418 + e8c78d6 commit 337213b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion layouts/partials/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,22 @@
</li>
{{ end }}

{{end}}
{{ if eq .website "email" }}
<li>
<a
href="mailto:{{ .url }}"
target="_blank"
rel="noopener"
aria-label="email"
class="p-1 inline-block rounded-full border border-transparent text-gray-500 hover:text-gray-800 hover:border-gray-800 cursor-pointer transition-colors dark:text-gray-600 dark:hover:border-gray-300 dark:hover:text-gray-300">
<svg xmlns="http:https://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-envelope" viewBox="0 0 16 16">
<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2Zm13 2.383-4.708 2.825L15 11.105V5.383Zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741ZM1 11.105l4.708-2.897L1 5.383v5.722Z"/>
</svg>
</a>
</li>
{{ end }}

{{end}}
</ul>
</div>
</div>

0 comments on commit 337213b

Please sign in to comment.