Skip to content

Commit

Permalink
adding romania in the contry list to activate contributor account (#1055
Browse files Browse the repository at this point in the history
)
  • Loading branch information
alexanmtz authored Feb 6, 2024
1 parent 883d7a8 commit 5bbae72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/src/components/profile/country-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const countryCodes = [
{ country: 'Netherlands', code: 'NL', image: 'netherlands' },
{ country: 'New Zealand', code: 'NZ', image: 'new-zealand' },
{ country: 'Norway', code: 'NO', image: 'norway' },
{ country: 'Romania', code: 'RO', image: 'romania' },
{ country: 'Singapore', code: 'SG', image: 'singapore' },
{ country: 'Spain', code: 'ES', image: 'spain' },
{ country: 'Sweden', code: 'SE', image: 'sweden' },
Expand Down Expand Up @@ -114,9 +115,9 @@ class CountryPicker extends Component {
<div className={ classes.countryContainer }>
{ countryCodes.map((item) => {
return (
<Button variant={ this.state.currentCountryCode === item.code ? 'outlined' : '' } onClick={ (e) => this.handleCountry(e, item) } className={ classes.countryItem }>
<img width='48' src={ require(`../../images/countries/${item.image}.png`).default } />
<Typography component='span'>
<Button style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center' }} variant={ this.state.currentCountryCode === item.code ? 'outlined' : '' } onClick={ (e) => this.handleCountry(e, item) } className={ classes.countryItem }>
<img width='48' style={{marginRight: 10}} src={ require(`../../images/countries/${item.image}.png`).default } />
<Typography component='span' gutterBottom>
{ item.country }
</Typography>
</Button>
Expand Down
Binary file added frontend/src/images/countries/romania.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5bbae72

Please sign in to comment.