diff --git a/src/components/Icon/Icon.js b/src/components/Icon/Icon.js
index a6e759b..2caef61 100644
--- a/src/components/Icon/Icon.js
+++ b/src/components/Icon/Icon.js
@@ -3,14 +3,16 @@ import React from 'react';
import styles from './Icon.module.scss';
type Props = {
+ name: string,
icon: {
viewBox?: string,
path?: string
}
};
-const Icon = ({ icon }: Props) => (
+const Icon = ({ name, icon }: Props) => (
);
diff --git a/src/components/Icon/Icon.test.js b/src/components/Icon/Icon.test.js
index 69beefa..67574ec 100644
--- a/src/components/Icon/Icon.test.js
+++ b/src/components/Icon/Icon.test.js
@@ -5,6 +5,7 @@ import Icon from './Icon';
describe('Icon', () => {
const props = {
+ name: 'test',
icon: {
viewBox: '0 0 0 0',
path: '',
diff --git a/src/components/Icon/__snapshots__/Icon.test.js.snap b/src/components/Icon/__snapshots__/Icon.test.js.snap
index 9bc7257..8ea20c8 100644
--- a/src/components/Icon/__snapshots__/Icon.test.js.snap
+++ b/src/components/Icon/__snapshots__/Icon.test.js.snap
@@ -5,6 +5,9 @@ exports[`Icon renders correctly 1`] = `
className="icon"
viewBox="0 0 0 0"
>
+
+ test
+
diff --git a/src/components/Sidebar/Contacts/Contacts.js b/src/components/Sidebar/Contacts/Contacts.js
index 23e0c33..e9ed334 100644
--- a/src/components/Sidebar/Contacts/Contacts.js
+++ b/src/components/Sidebar/Contacts/Contacts.js
@@ -21,7 +21,7 @@ const Contacts = ({ contacts }: Props) => (
rel="noopener noreferrer"
target="_blank"
>
-
+
)))}
diff --git a/src/components/Sidebar/Contacts/__snapshots__/Contacts.test.js.snap b/src/components/Sidebar/Contacts/__snapshots__/Contacts.test.js.snap
index 8613220..5353a3f 100644
--- a/src/components/Sidebar/Contacts/__snapshots__/Contacts.test.js.snap
+++ b/src/components/Sidebar/Contacts/__snapshots__/Contacts.test.js.snap
@@ -20,6 +20,9 @@ exports[`Contacts renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ email
+
@@ -39,6 +42,9 @@ exports[`Contacts renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ twitter
+
@@ -58,6 +64,9 @@ exports[`Contacts renders correctly 1`] = `
className="icon"
viewBox="0 0 31 28"
>
+
+ vkontakte
+
@@ -77,6 +86,9 @@ exports[`Contacts renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ github
+
@@ -96,6 +108,9 @@ exports[`Contacts renders correctly 1`] = `
className="icon"
viewBox="0 0 22 28"
>
+
+ rss
+
@@ -115,6 +130,9 @@ exports[`Contacts renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ telegram
+
diff --git a/src/components/Sidebar/__snapshots__/Sidebar.test.js.snap b/src/components/Sidebar/__snapshots__/Sidebar.test.js.snap
index 54751fe..010afbe 100644
--- a/src/components/Sidebar/__snapshots__/Sidebar.test.js.snap
+++ b/src/components/Sidebar/__snapshots__/Sidebar.test.js.snap
@@ -94,6 +94,9 @@ exports[`Sidebar renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ email
+
@@ -113,6 +116,9 @@ exports[`Sidebar renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ telegram
+
@@ -132,6 +138,9 @@ exports[`Sidebar renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ twitter
+
@@ -151,6 +160,9 @@ exports[`Sidebar renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ github
+
@@ -170,6 +182,9 @@ exports[`Sidebar renders correctly 1`] = `
className="icon"
viewBox="0 0 22 28"
>
+
+ rss
+
@@ -189,6 +204,9 @@ exports[`Sidebar renders correctly 1`] = `
className="icon"
viewBox="0 0 31 28"
>
+
+ vkontakte
+
diff --git a/src/templates/__snapshots__/categories-list-template.test.js.snap b/src/templates/__snapshots__/categories-list-template.test.js.snap
index 65531cd..3ff538b 100644
--- a/src/templates/__snapshots__/categories-list-template.test.js.snap
+++ b/src/templates/__snapshots__/categories-list-template.test.js.snap
@@ -97,6 +97,9 @@ exports[`CategoriesListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ email
+
@@ -116,6 +119,9 @@ exports[`CategoriesListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ telegram
+
@@ -135,6 +141,9 @@ exports[`CategoriesListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ twitter
+
@@ -154,6 +163,9 @@ exports[`CategoriesListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ github
+
@@ -173,6 +185,9 @@ exports[`CategoriesListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 22 28"
>
+
+ rss
+
@@ -192,6 +207,9 @@ exports[`CategoriesListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 31 28"
>
+
+ vkontakte
+
diff --git a/src/templates/__snapshots__/category-template.test.js.snap b/src/templates/__snapshots__/category-template.test.js.snap
index 3660394..4f49bb1 100644
--- a/src/templates/__snapshots__/category-template.test.js.snap
+++ b/src/templates/__snapshots__/category-template.test.js.snap
@@ -97,6 +97,9 @@ exports[`CategoryTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ email
+
@@ -116,6 +119,9 @@ exports[`CategoryTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ telegram
+
@@ -135,6 +141,9 @@ exports[`CategoryTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ twitter
+
@@ -154,6 +163,9 @@ exports[`CategoryTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ github
+
@@ -173,6 +185,9 @@ exports[`CategoryTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 22 28"
>
+
+ rss
+
@@ -192,6 +207,9 @@ exports[`CategoryTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 31 28"
>
+
+ vkontakte
+
diff --git a/src/templates/__snapshots__/index-template.test.js.snap b/src/templates/__snapshots__/index-template.test.js.snap
index dae8a07..bc0442a 100644
--- a/src/templates/__snapshots__/index-template.test.js.snap
+++ b/src/templates/__snapshots__/index-template.test.js.snap
@@ -97,6 +97,9 @@ exports[`IndexTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ email
+
@@ -116,6 +119,9 @@ exports[`IndexTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ telegram
+
@@ -135,6 +141,9 @@ exports[`IndexTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ twitter
+
@@ -154,6 +163,9 @@ exports[`IndexTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ github
+
@@ -173,6 +185,9 @@ exports[`IndexTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 22 28"
>
+
+ rss
+
@@ -192,6 +207,9 @@ exports[`IndexTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 31 28"
>
+
+ vkontakte
+
diff --git a/src/templates/__snapshots__/not-found-template.test.js.snap b/src/templates/__snapshots__/not-found-template.test.js.snap
index 79a74a4..a85ec94 100644
--- a/src/templates/__snapshots__/not-found-template.test.js.snap
+++ b/src/templates/__snapshots__/not-found-template.test.js.snap
@@ -97,6 +97,9 @@ exports[`NotFoundTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ email
+
@@ -116,6 +119,9 @@ exports[`NotFoundTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ telegram
+
@@ -135,6 +141,9 @@ exports[`NotFoundTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ twitter
+
@@ -154,6 +163,9 @@ exports[`NotFoundTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ github
+
@@ -173,6 +185,9 @@ exports[`NotFoundTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 22 28"
>
+
+ rss
+
@@ -192,6 +207,9 @@ exports[`NotFoundTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 31 28"
>
+
+ vkontakte
+
diff --git a/src/templates/__snapshots__/page-template.test.js.snap b/src/templates/__snapshots__/page-template.test.js.snap
index 45ecb41..2a3eccb 100644
--- a/src/templates/__snapshots__/page-template.test.js.snap
+++ b/src/templates/__snapshots__/page-template.test.js.snap
@@ -97,6 +97,9 @@ exports[`PageTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ email
+
@@ -116,6 +119,9 @@ exports[`PageTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ telegram
+
@@ -135,6 +141,9 @@ exports[`PageTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ twitter
+
@@ -154,6 +163,9 @@ exports[`PageTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ github
+
@@ -173,6 +185,9 @@ exports[`PageTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 22 28"
>
+
+ rss
+
@@ -192,6 +207,9 @@ exports[`PageTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 31 28"
>
+
+ vkontakte
+
diff --git a/src/templates/__snapshots__/tag-template.test.js.snap b/src/templates/__snapshots__/tag-template.test.js.snap
index bd95cfa..41b40ef 100644
--- a/src/templates/__snapshots__/tag-template.test.js.snap
+++ b/src/templates/__snapshots__/tag-template.test.js.snap
@@ -97,6 +97,9 @@ exports[`TagTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ email
+
@@ -116,6 +119,9 @@ exports[`TagTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ telegram
+
@@ -135,6 +141,9 @@ exports[`TagTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ twitter
+
@@ -154,6 +163,9 @@ exports[`TagTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ github
+
@@ -173,6 +185,9 @@ exports[`TagTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 22 28"
>
+
+ rss
+
@@ -192,6 +207,9 @@ exports[`TagTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 31 28"
>
+
+ vkontakte
+
diff --git a/src/templates/__snapshots__/tags-list-template.test.js.snap b/src/templates/__snapshots__/tags-list-template.test.js.snap
index 428c16b..f8d1eed 100644
--- a/src/templates/__snapshots__/tags-list-template.test.js.snap
+++ b/src/templates/__snapshots__/tags-list-template.test.js.snap
@@ -97,6 +97,9 @@ exports[`TagsListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ email
+
@@ -116,6 +119,9 @@ exports[`TagsListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 28 28"
>
+
+ telegram
+
@@ -135,6 +141,9 @@ exports[`TagsListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ twitter
+
@@ -154,6 +163,9 @@ exports[`TagsListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 26 28"
>
+
+ github
+
@@ -173,6 +185,9 @@ exports[`TagsListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 22 28"
>
+
+ rss
+
@@ -192,6 +207,9 @@ exports[`TagsListTemplate renders correctly 1`] = `
className="icon"
viewBox="0 0 31 28"
>
+
+ vkontakte
+