Skip to content

Commit 1508e5b

Browse files
committed
added mail icon
1 parent 31aa963 commit 1508e5b

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

src/components/Footer.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import { GithubIcon } from './icons/GithubIcon'
88
import { DiscordIcon } from './icons/DiscordIcon'
99
import { LinkedinIcon } from './icons/LinkedinIcon'
1010
import { TwitterIcon } from './icons/TwitterIcon'
11+
import EmailIcon from './icons/EmailIcon'
12+
1113

1214
const socialMediaLinks = [
1315
{
@@ -30,6 +32,10 @@ const socialMediaLinks = [
3032
Icon: TwitterIcon,
3133
Link: 'https://twitter.com/gofr_dev',
3234
},
35+
{
36+
Icon: EmailIcon,
37+
Link: 'mailto:[email protected]',
38+
},
3339
]
3440

3541
const footerLinks = [

src/components/icons/EmailIcon.jsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import * as React from "react";
2+
3+
const EmailIcon = (props) => (
4+
<svg
5+
xmlns="http://www.w3.org/2000/svg"
6+
fill="currentColor"
7+
viewBox="0 0 24 24"
8+
{...props}
9+
>
10+
<path d="M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0z"></path>
11+
<path d="M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0z"></path>
12+
</svg>
13+
);
14+
15+
export default EmailIcon;

0 commit comments

Comments
 (0)