diff --git a/src/components/details/index.jsx b/src/components/details/index.jsx index efeffd7..d672cbd 100644 --- a/src/components/details/index.jsx +++ b/src/components/details/index.jsx @@ -19,9 +19,20 @@ const ListItem = ({ icon, title, value, link }) => { return (
{icon} -
{title}
-
- +
{title}:
+
@@ -109,202 +120,62 @@ const Details = ({ profile, loading }) => { link={`https://www.behance.net/${config.social.behance}`} /> )} + {typeof config.social.facebook !== 'undefined' && + config.social.facebook && ( + } + title="Facebook" + value={config.social.facebook} + link={`https://www.facebook.com/${config.social.facebook}`} + /> + )} + {typeof config.social.medium !== 'undefined' && + config.social.medium && ( + } + title="Medium" + value={config.social.medium} + link={`https://medium.com/@${config.social.medium}`} + /> + )} + {typeof config.social.devto !== 'undefined' && + config.social.devto && ( + } + title="Dev" + value={config.social.devto} + link={`https://dev.to/${config.social.devto}`} + /> + )} + {typeof config.social.website !== 'undefined' && + config.social.website && ( + } + title="Website" + value={config.social.website} + link={config.social.website} + /> + )} + {typeof config.social.phone !== 'undefined' && + config.social.phone && ( + } + title="Phone" + value={config.social.phone} + link={`tel:${config.social.phone}`} + /> + )} + {typeof config.social.email !== 'undefined' && + config.social.email && ( + } + title="Email" + value={config.social.email} + link={`mailto:${config.social.email}`} + /> + )}
)} - {/* */} - - {/*
-
- - - -
Based on
-
- London -
-
-
- -
Taylor Otwell
-
- Member -
-
-
- -
Adam Wathan
-
- Member -
-
-
- -
- Duke Street Studio Inc. -
-
- Team -
-
-
- -
Jeffrey Wey
-
- Member -
-
-
*/}
);