Skip to content

Commit

Permalink
Add 'email' to socials (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
omarroth authored and avdeev committed Apr 12, 2019
1 parent d6a11c0 commit 586182d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/ShareModalContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -24,6 +25,7 @@ const icons = {
vk,
ok,
mail,
email,
telegram,
whatsapp,
viber
Expand Down
2 changes: 1 addition & 1 deletion src/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 3 additions & 0 deletions src/icons/email.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/plugin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
background-color: #ed7c20;
}

&_mail {
&_mail, &_email {
background-color: #134785;
}

Expand Down

0 comments on commit 586182d

Please sign in to comment.