mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 12:27:17 +00:00
Allow linking Stack Overflow account/profile #226
This commit is contained in:
@@ -15,6 +15,7 @@ import {
|
||||
FaDev,
|
||||
FaFacebook,
|
||||
FaGlobe,
|
||||
FaStackOverflow,
|
||||
} from 'react-icons/fa';
|
||||
import PropTypes from 'prop-types';
|
||||
import { skeleton } from '../../helpers/utils';
|
||||
@@ -169,6 +170,14 @@ const Details = ({ profile, loading, social, github }) => {
|
||||
link={`https://dev.to/${social.dev}`}
|
||||
/>
|
||||
)}
|
||||
{social?.stackoverflow && (
|
||||
<ListItem
|
||||
icon={<FaStackOverflow className="mr-2" />}
|
||||
title="Stack Overflow:"
|
||||
value={social.stackoverflow.split('/').slice(-1)}
|
||||
link={`https://stackoverflow.com/users/${social.stackoverflow}`}
|
||||
/>
|
||||
)}
|
||||
{social?.website && (
|
||||
<ListItem
|
||||
icon={<FaGlobe className="mr-2" />}
|
||||
|
||||
Reference in New Issue
Block a user