Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 26 additions & 6 deletions src/app/auth/components/auth/auth.component.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<pr-announcement></pr-announcement>
<div class="auth-root">
<div class="auth-root legacy-lab">
<div class="auth-container">
<div
class="image"
aria-description='Black and white photo of a child with a bicycle stopped in front of a black milk truck with a man standing by the door. The milk truck reads "Haadsma&#39;s Dairy." The photo appears to be from the 1950s.'
>
<div class="testimony">
<div class="image legacy-lab">
<div
class="legacy-lab-center-slice"
aria-label="The Legacy Lab by Permanent"
></div>
<!-- <div class="testimony">
<p class="text">
At Permanent, we celebrate our members’ hard work through our Public
Gallery and archive spotlights. Explore our gallery and, when you’re
Expand All @@ -18,6 +19,25 @@
<p class="text archive-data">
Haadsma Dairy Truck | The Haadsma Dairy Archive
</p>
</div> -->
<div class="legacy-lab-container">
<div class="legacy-lab-text">
<h1 class="header">Legacy Lab</h1>
<h2 class="start-date">Begins March 3rd</h2>
<p>
At Permanent, we believe in the power of preserving your story. Join
Legacy Lab, a free four-week course where you'll create a lasting
archive and learn through:
</p>
<ul>
<li>Daily Tasks</li>
<li>Video Tutorials</li>
<li>Peer Support</li>
</ul>
<a href="https://permanent.org/legacy-lab/"
>Sign Up for Legacy Lab Today!</a
>
</div>
</div>
</div>
<div class="auth">
Expand Down
77 changes: 76 additions & 1 deletion src/app/auth/components/auth/auth.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
flex-shrink: 1;

@media screen {
padding: 20px 0px;
&:not(.legacy-lab) {
padding: 20px 0px;
}
}
}

Expand Down Expand Up @@ -56,6 +58,26 @@
}

.image {
&.legacy-lab {
background: url('../../../../assets/img/legacy_lab_sign_in_stripe.png');
background-size: contain;
background-position: center right 1.5rem;
background-repeat: repeat-y;
}

.legacy-lab-center-slice {
z-index: 0;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: url('../../../../assets/img/legacy_lab_sign_in_image.png');
background-size: contain;
background-position: center right 1.5rem;
background-repeat: no-repeat;
}

position: relative;
height: 100%;
background: url('../../../../assets/img/sign_in_image.png');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you give this a bit of a clearer name like legacy_lab_sign_in_image.png? Just so it's easier to track and understand its purpose without opening the file.

Expand Down Expand Up @@ -136,3 +158,56 @@
margin: 0;
}
}

.legacy-lab-text {
color: white;

.start-date,
a {
color: #ff9933;
}

.header {
font-size: 2.5rem;
font-weight: bold;
font-family: 'UsualBold', sans-serif;
}

.start-date {
font-weight: bold;
margin-bottom: 2rem;
font-size: 1.5rem;
font-family: 'UsualBold', sans-serif;
}

p {
font-size: 1rem;
width: 50%;
font-family: 'UsualRegular', sans-serif;
}

a {
font-size: 1rem;
font-style: italic;
font-weight: bold;
font-family: 'UsualBold', sans-serif;
}

ul {
margin-bottom: 2rem;

& > li {
font-family: 'UsualRegular', sans-serif;
position: relative;
}
}
}

.legacy-lab-container {
margin-left: 50px;
margin-top: 20px;
display: flex;
flex-direction: column;
height: 80%;
justify-content: center;
}
Binary file added src/assets/img/legacy_lab_sign_in_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/legacy_lab_sign_in_stripe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.