Skip to content

Commit

Permalink
Merge branch 'feature/register2' of github-orcid:ORCID/orcid-angular …
Browse files Browse the repository at this point in the history
…into feature/register2
  • Loading branch information
leomendoza123 committed Nov 23, 2023
2 parents ed82054 + beabf1d commit 5a519ab
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 15 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## v2.48.0 - 2023-11-23

[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.47.0...v2.48.0)

### Feature

- Add missing branding to sign in page (#2093)
- Add footer to headless pages (#2092)

## v2.47.0 - 2023-10-31

[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.46.0...v2.47.0)
Expand Down
8 changes: 2 additions & 6 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
<router-outlet name="banner"></router-outlet>
<app-banners *ngIf="!headlessMode"></app-banners>
<app-header *ngIf="!headlessMode" currentRoute=""></app-header>
<div
[ngClass]="{
'router-container': !headlessMode
}"
>
<div class="router-container">
<router-outlet> </router-outlet>
<app-footer *ngIf="!headlessMode"></app-footer>
<app-footer></app-footer>
</div>
</div>
14 changes: 7 additions & 7 deletions src/app/sign-in/pages/sign-in/sign-in.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
mode="indeterminate"
></mat-progress-bar>
<mat-card-header>
<mat-card-title
role="heading"
aria-level="1"
i18n="@@ngOrcid.signin.title"
*ngIf="!isOauthError"
>
Sign in
<mat-card-title role="heading" aria-level="1" *ngIf="!isOauthError">
<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
1 change: 1 addition & 0 deletions src/locale/properties/signin/signin.lr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ ngOrcid.signin.verify.reactivationSent=LR
ngOrcid.signin.passwordTooLong=LR
ngOrcid.signin.needToReset=LR
ngOrcid.signin.toSignIn=LR
ngOrcid.signin.signInToOrcid=LR
1 change: 1 addition & 0 deletions src/locale/properties/signin/signin.rl.properties
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ ngOrcid.signin.verify.reactivationSent=RL
ngOrcid.signin.passwordTooLong=RL
ngOrcid.signin.needToReset=RL
ngOrcid.signin.toSignIn=RL
ngOrcid.signin.signInToOrcid=RL
1 change: 1 addition & 0 deletions src/locale/properties/signin/signin.xx.properties
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ ngOrcid.signin.verify.reactivationSent=X
ngOrcid.signin.passwordTooLong=X
ngOrcid.signin.needToReset=X
ngOrcid.signin.toSignIn=X
ngOrcid.signin.signInToOrcid=X

0 comments on commit 5a519ab

Please sign in to comment.