diff --git a/src/components/widget/share-button.js b/src/components/widget/share-button.js
index e3b420b..cb7653b 100644
--- a/src/components/widget/share-button.js
+++ b/src/components/widget/share-button.js
@@ -1,5 +1,5 @@
import React from 'react'
-import IconButton from './icon-button'
+import Icon from './icon'
const links = {
facebook: 'https://www.facebook.com/sharer/sharer.php?u=',
@@ -9,14 +9,20 @@ const links = {
pinterest: 'https://pinterest.com/pin/create/button/?url='
}
-export const ShareButton = ({ type, url, ...wrapperProps }) => (
-
-)
-
-export const ShareButtons = ({ url, ...wrapperProps }) => (
- <>
- {Object.keys(links).map((k, i) => (
-
- ))}
- >
+export const ShareButtons = ({ url }) => (
+
)
diff --git a/src/templates/blog-post.js b/src/templates/blog-post.js
index 56dee22..8d3949d 100644
--- a/src/templates/blog-post.js
+++ b/src/templates/blog-post.js
@@ -42,7 +42,10 @@ const BlogPost = ({ data, pageContext, location }) => {
backTo={`/${paramType}`}
title={category}
subtitle={`· ${timeToRead} min read`}
- />
+ burgerIcon='share-2'>
+ {/* Social media share */}
+
+
@@ -89,14 +92,6 @@ const BlogPost = ({ data, pageContext, location }) => {
- {/* Social media share */}
-
-
-
diff --git a/src/templates/gallery-post.js b/src/templates/gallery-post.js
index 2b16c33..f97b193 100644
--- a/src/templates/gallery-post.js
+++ b/src/templates/gallery-post.js
@@ -42,7 +42,10 @@ const GalleryPost = ({ data, pageContext, location }) => {
backTo={`/${paramType}`}
title={category}
subtitle={`· ${timeToRead} min read`}
- />
+ burgerIcon='share-2'>
+ {/* Social media share */}
+
+
@@ -85,14 +88,6 @@ const GalleryPost = ({ data, pageContext, location }) => {
- {/* Social media share */}
-
-
-