diff --git a/client/src/components/profile/components/Portfolio.js b/client/src/components/profile/components/Portfolio.js index 9c3dc3b8eb..e85a6d6c7d 100644 --- a/client/src/components/profile/components/Portfolio.js +++ b/client/src/components/profile/components/Portfolio.js @@ -1,9 +1,11 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { Thumbnail, Media } from '@freecodecamp/react-bootstrap'; +import { Media } from '@freecodecamp/react-bootstrap'; import { FullWidthRow } from '../../helpers'; +import './portfolio.css'; + const propTypes = { portfolio: PropTypes.arrayOf( PropTypes.shape({ @@ -21,35 +23,31 @@ function Portfolio({ portfolio = [] }) { return null; } return ( -
- -

Portfolio

- {portfolio.map(({ title, url, image, description, id }) => ( - - - {image && ( - - - - )} - - - - - {title} - - -

{description}

-
-
- ))} -
+ +

Portfolio

+ {portfolio.map(({ title, url, image, description, id }) => ( + + + {image && ( + {`A + )} + + + + + {title} + + +

{description}

+
+
+ ))}
-
+ ); } diff --git a/client/src/components/profile/components/portfolio.css b/client/src/components/profile/components/portfolio.css new file mode 100644 index 0000000000..3cdeb3df9d --- /dev/null +++ b/client/src/components/profile/components/portfolio.css @@ -0,0 +1,8 @@ +.portfolio-heading.media-heading { + border-bottom: 1px solid rgba(0, 100, 0, 0.6); + padding-bottom: 10px; +} +.portfolio-screen-shot { + width: 150px; + min-width: 150px; +} \ No newline at end of file