Skip to content

Commit

Permalink
feature: Add missing branding to sign in page
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPalafox committed Nov 22, 2023
1 parent 6032836 commit a0a1f32
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/app/sign-in/pages/sign-in/sign-in.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
<mat-card-title
role="heading"
aria-level="1"
i18n="@@ngOrcid.signin.title"
*ngIf="!isOauthError"
>
Sign in
<div class="icon">
<img src="assets/vectors/orcid.logo.icon.svg" alt="">
</div>
<ng-container i18n="@@ngOrcid.signin.signInToOrcid">Sign in to ORCID</ng-container>
</mat-card-title>
</mat-card-header>
<mat-card-content>
Expand Down
12 changes: 10 additions & 2 deletions src/app/sign-in/pages/sign-in/sign-in.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
}

.mat-card-title {
margin-top: 32px !important;
text-align: center;
margin-top: 0;
margin-bottom: 40px;
margin-bottom: 8px !important;
}

.mat-subheading-2 {
Expand All @@ -35,3 +35,11 @@
.mat-card .mat-divider-horizontal {
position: relative;
}

.icon {
margin-bottom: 26px;

img {
width: 64px;
}
}
1 change: 1 addition & 0 deletions src/locale/properties/signin/signin.en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ ngOrcid.signin.unclaimedExists2=resend the claim email?
ngOrcid.signin.invalidUserType1=Invalid ORCID iD, please
ngOrcid.signin.invalidUserType2=contact support
ngOrcid.signin.contactSupport=contact support
ngOrcid.signin.signInToOrcid=Sign in to ORCID

0 comments on commit a0a1f32

Please sign in to comment.