Skip to content

Commit

Permalink
updated avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskoenig committed Mar 15, 2022
1 parent 5fa48b8 commit 6d8f9d9
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions frontend/src/components/home/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
<user-avatar username="SaraD-hub"/>
<user-avatar username="balcisue"/>
<user-avatar username="paula-ogata"/>
<user-avatar username="lepujolh"/>
<user-avatar username="stemllb"/>
<user-avatar username="jonaspk98"/>

</p>
<p>If you have questions or feedback please contact
<a href="mailto:[email protected]" title="[email protected]">
Expand Down
12 changes: 12 additions & 0 deletions frontend/src/components/lib/UserAvatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@
image = 'balcisue_128.png';
} else if (this.initials === 'PO'){
image = 'paula_128.png';
} else if (this.initials === 'HL'){
image = 'lepujolh_128.png';
} else if (this.initials === 'BS'){
image = 'stemllb_128.png';
} else if (this.initials === 'JK'){
image = 'jonaspk98_128.png';
}
} else if (this.username) {
image = 'user_128.png';
Expand Down Expand Up @@ -95,6 +101,12 @@
image = 'balcisue_128.png';
} else if (this.username === 'paula-ogata'){
image = 'paula_128.png';
} else if (this.username === 'lepujolh'){
image = 'lepujolh_128.png';
} else if (this.username === 'stemllb'){
image = 'stemllb_128.png';
} else if (this.username === 'jonaspk98'){
image = 'jonaspk98_128.png';
}
}
return img_dir + image
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/components/search/UserSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ export default {
{"username": "SaraD-hub", "first_name": "Sara", "last_name": "De Angelis",},
{"username": "balcisue", "first_name": "Sükrü", "last_name": "Balci",},
{"username": "paula-ogata", "first_name": "Paula", "last_name": "Ogata",},
{"username": "lepujolh", "first_name": "Helen", "last_name": "Leal",},
{"username": "stemllb", "first_name": "Beatrice", "last_name": "Stemmer Mallol",},
{"username": "jonaspk98", "first_name": "Jonas", "last_name": "Küttner",},

],
}
},
Expand Down

0 comments on commit 6d8f9d9

Please sign in to comment.