diff --git a/client/src/components/layouts/variables.css b/client/src/components/layouts/variables.css index 529c6dfe99..4917ab8b0f 100644 --- a/client/src/components/layouts/variables.css +++ b/client/src/components/layouts/variables.css @@ -1,5 +1,6 @@ :root { --theme-color: #0a0a23; + --yellow-gold: #ffbf00; --gray-00: #ffffff; --gray-05: #f5f6f7; --gray-10: #dfdfe2; diff --git a/client/src/components/profile/Profile.js b/client/src/components/profile/Profile.js index 4369b8fc2f..1d8084ac70 100644 --- a/client/src/components/profile/Profile.js +++ b/client/src/components/profile/Profile.js @@ -48,7 +48,8 @@ const propTypes = { twitter: PropTypes.string, username: PropTypes.string, website: PropTypes.string, - yearsTopContributor: PropTypes.array + yearsTopContributor: PropTypes.array, + isDonating: PropTypes.bool }) }; @@ -121,7 +122,8 @@ function renderProfile(user) { picture, portfolio, about, - yearsTopContributor + yearsTopContributor, + isDonating } = user; return ( @@ -129,6 +131,7 @@ function renderProfile(user) { @@ -102,6 +105,11 @@ function Camper({

@{username}

{name &&

{name}

} {location &&

{location}

} + {isDonating && ( +

+ Supporter +

+ )} {about &&

{about}

} {typeof points === 'number' ? (

diff --git a/client/src/components/profile/components/camper.css b/client/src/components/profile/components/camper.css index 74cda3cee4..d572acc855 100644 --- a/client/src/components/profile/components/camper.css +++ b/client/src/components/profile/components/camper.css @@ -13,3 +13,7 @@ .location { overflow-wrap: break-word; } + +.supporter-img { + border: 10px solid var(--yellow-gold); +}