Skip to content

Commit c0235eb

Browse files
committed
fix(profile): added icon for website
1 parent 5ad8c5a commit c0235eb

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/app/features/profile/components/profile-information/profile-information.component.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ <h1>{{ currentUser()?.fullName }}</h1>
2121
</p>
2222
</div>
2323

24-
<div class="flex flex-column gap-4 xl:align-items-end xl:flex-1 min-w-0">
25-
<div class="flex flex-column gap-3 md:flex-row xl:gap-4 w-full">
24+
<div class="flex flex-column gap-4 min-w-0 xl:align-items-end xl:flex-1">
25+
<div class="flex flex-column gap-3 w-full md:flex-row xl:gap-4 xl:justify-content-end">
2626
@if (currentUser()?.social?.orcid) {
2727
<div class="flex flex-row align-items-center gap-2">
2828
<img ngSrc="assets/icons/colored/orcid.svg" width="16" height="16" alt="orcid" />
@@ -39,7 +39,7 @@ <h1>{{ currentUser()?.fullName }}</h1>
3939
</div>
4040

4141
@if (isEmploymentAndEducationVisible()) {
42-
<div class="flex flex-column gap-3 md:flex-row xl:gap-4 w-full">
42+
<div class="flex flex-column gap-3 w-full md:flex-row xl:gap-4 xl:justify-content-end">
4343
@if (currentUser()?.education?.length) {
4444
<div class="flex flex-row align-items-center gap-2 flex-1 min-w-0">
4545
<i class="fas fa-landmark"></i>
@@ -51,7 +51,6 @@ <h3 class="font-bold text-overflow-ellipsis overflow-hidden white-space-nowrap">
5151

5252
@if (currentUser()?.employment?.length) {
5353
<div class="flex flex-row align-items-center gap-2">
54-
<img ngSrc="assets/icons/colored/cos-shield.svg" width="16" height="16" alt="cos-shield" />
5554
<h3 class="font-bold">
5655
{{ currentUser()?.employment?.[0]?.institution }}
5756
</h3>

src/app/features/profile/helpers/user-socials.helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function mapUserSocials(
2626
url = social.address + value;
2727
}
2828

29-
if (url && social.key !== 'profileWebsites') {
29+
if (url) {
3030
acc.push({
3131
url,
3232
icon: `assets/icons/socials/${social.icon}`,

src/app/shared/constants/social-links.const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export const SOCIAL_LINKS: SocialLinksModel[] = [
7979
address: '',
8080
placeholder: 'https://yourwebsite.com',
8181
key: 'profileWebsites',
82-
icon: '',
82+
icon: 'globe.svg',
8383
},
8484
{
8585
id: 11,

src/assets/icons/socials/globe.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)