-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #421 from PermanentOrg/PER-9567-redesign-create-ar…
…chive-only Separate the archive creation Pr
- Loading branch information
Showing
33 changed files
with
1,085 additions
and
154 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
src/app/component-library/components/button/button.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
<!-- @format --> | ||
<button | ||
[attr.type]="attr" | ||
[attr.type]="buttonType" | ||
class="button" | ||
[ngClass]="[ | ||
'button-' + variant, | ||
'button-' + size, | ||
'button-' + mode, | ||
'button-' + height, | ||
size === 'fill' && !icon && !faIcon ? 'button-fill-no-icon' : '', | ||
orientation === 'right' ? 'button-reverse' : '' | ||
]" | ||
[disabled]="disabled" | ||
(click)="onClick($event)" | ||
> | ||
<img *ngIf="icon" class="icon" src="{{ 'assets/svg/' + icon + '.svg' }}" /> | ||
<fa-icon class="icon" *ngIf="faIcon" [icon]="['fas', faIcon]"></fa-icon> | ||
<p class="button-text">{{ text }}</p> | ||
<p class="button-text"><ng-content></ng-content></p> | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...ing/components/archive-creation-start-screen/archive-creation-start-screen.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!-- @format --> | ||
<div class="greetings-container"> | ||
<p> | ||
Hello, <b>{{ name }}.</b> | ||
</p> | ||
<p>Welcome to Permanent!</p> | ||
</div> | ||
<div class="text-buttons-container"> | ||
<div class="text"> | ||
<p>We’re so glad you’re here!</p> | ||
<p> | ||
At Permanent, it is our mission to provide a safe and secure place to | ||
store, preserve, and share the digital legacy of all people, whether | ||
that's for you or for your friends, family, interests or organizations. | ||
</p> | ||
<p> | ||
We know that starting this journey can sometimes be overwhelming, but | ||
don’t worry. We’re here to help you every step of the way. | ||
</p> | ||
</div> | ||
<div class="buttons"> | ||
<pr-button | ||
[icon]="'/onboarding/plus'" | ||
[orientation]="'right'" | ||
(buttonClick)="createArchiveForMe()" | ||
class="create-archive-for-me" | ||
>Create archive for me</pr-button | ||
> | ||
<pr-button | ||
[icon]="'/onboarding/arrow-right'" | ||
[orientation]="'right'" | ||
[variant]="'secondary'" | ||
(buttonClick)="getStarted()" | ||
class="get-started" | ||
>Get started</pr-button | ||
> | ||
</div> | ||
</div> |
60 changes: 60 additions & 0 deletions
60
...ing/components/archive-creation-start-screen/archive-creation-start-screen.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* @format */ | ||
@import 'fonts'; | ||
|
||
:host { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-evenly; | ||
gap: 64px; | ||
margin-top: 64px; | ||
|
||
@media screen and (max-width: 600px) { | ||
flex-direction: column; | ||
} | ||
|
||
@media screen and (min-width: 602px) and (max-width: 900px) { | ||
height: 100vh; | ||
} | ||
|
||
@media screen and (max-width: 364px) { | ||
height: 106vh; | ||
} | ||
} | ||
|
||
p { | ||
color: white; | ||
} | ||
|
||
.greetings-container { | ||
width: 50%; | ||
|
||
@media screen and (max-width: 600px) { | ||
width: 100%; | ||
} | ||
& > p { | ||
font-size: 50px; | ||
font-family: 'UsualRegular', sans-serif; | ||
} | ||
} | ||
|
||
.text-buttons-container { | ||
flex-direction: column; | ||
justify-content: space-between; | ||
width: 50%; | ||
display: flex; | ||
height: 75vh; | ||
|
||
@media screen and (max-width: 600px) { | ||
height: 60vh; | ||
} | ||
|
||
& > .text > p { | ||
font-size: 16px; | ||
font-family: 'UsualLight', sans-serif; | ||
} | ||
|
||
& > .buttons { | ||
display: flex; | ||
gap: 32px; | ||
} | ||
} |
Oops, something went wrong.