From 586182d5505ce730a4b142cfe084c98a1a50a894 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 12 Apr 2019 11:34:16 -0500 Subject: [PATCH] Add 'email' to socials (#20) --- src/ShareModalContent.js | 2 ++ src/defaults.js | 2 +- src/icons/email.svg | 3 +++ src/plugin.scss | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 src/icons/email.svg diff --git a/src/ShareModalContent.js b/src/ShareModalContent.js index 2f043ef..48ceee8 100644 --- a/src/ShareModalContent.js +++ b/src/ShareModalContent.js @@ -10,6 +10,7 @@ import linkedin from './icons/linkedin.svg'; import vk from './icons/vk.svg'; import ok from './icons/ok.svg'; import mail from './icons/mail.svg'; +import email from './icons/email.svg'; import telegram from './icons/telegram.svg'; import whatsapp from './icons/whatsapp.svg'; import viber from './icons/viber.svg'; @@ -24,6 +25,7 @@ const icons = { vk, ok, mail, + email, telegram, whatsapp, viber diff --git a/src/defaults.js b/src/defaults.js index 1efcc80..59c0cd3 100644 --- a/src/defaults.js +++ b/src/defaults.js @@ -13,7 +13,7 @@ function getEmbedCode() { } function getSocials() { - return ['fbFeed', 'tw', 'reddit', 'gp', 'messenger', 'linkedin', 'vk', 'ok', 'mail', 'telegram', 'whatsapp', 'viber']; + return ['fbFeed', 'tw', 'reddit', 'gp', 'messenger', 'linkedin', 'vk', 'ok', 'mail', 'email', 'telegram', 'whatsapp', 'viber']; } export default { diff --git a/src/icons/email.svg b/src/icons/email.svg new file mode 100644 index 0000000..85bfedc --- /dev/null +++ b/src/icons/email.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/plugin.scss b/src/plugin.scss index 22c1c80..f2872aa 100644 --- a/src/plugin.scss +++ b/src/plugin.scss @@ -183,7 +183,7 @@ background-color: #ed7c20; } - &_mail { + &_mail, &_email { background-color: #134785; }