diff options
Diffstat (limited to 'src/components/Icons/Email.astro')
-rw-r--r-- | src/components/Icons/Email.astro | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/Icons/Email.astro b/src/components/Icons/Email.astro new file mode 100644 index 0000000..053b84e --- /dev/null +++ b/src/components/Icons/Email.astro @@ -0,0 +1,20 @@ +<style lang="scss"> + @use "../../scss/variables" as *; + + a { + color: $colorText; + display: inline-block; + margin: 0 0.5rem; + } + + svg { + vertical-align: middle; + } +</style> + +<a href="mailto:valentin@popov.link" title="E-Mail" target="_blank"> + <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-label="E-Mail"> + <path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path> + <polyline points="22,6 12,13 2,6"></polyline> + </svg> +</a> |