Skip to content

Commit 6555a92

Browse files
authored
Merge pull request #528 from PermanentOrg/PER-10036-swap-out-sign-in-image
Per 10036 swap out sign in image
2 parents efd4f2a + 19aa0da commit 6555a92

File tree

4 files changed

+102
-7
lines changed

4 files changed

+102
-7
lines changed

src/app/auth/components/auth/auth.component.html

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<pr-announcement></pr-announcement>
2-
<div class="auth-root">
2+
<div class="auth-root legacy-lab">
33
<div class="auth-container">
4-
<div
5-
class="image"
6-
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.'
7-
>
8-
<div class="testimony">
4+
<div class="image legacy-lab">
5+
<div
6+
class="legacy-lab-center-slice"
7+
aria-label="The Legacy Lab by Permanent"
8+
></div>
9+
<!-- <div class="testimony">
910
<p class="text">
1011
At Permanent, we celebrate our members’ hard work through our Public
1112
Gallery and archive spotlights. Explore our gallery and, when you’re
@@ -18,6 +19,25 @@
1819
<p class="text archive-data">
1920
Haadsma Dairy Truck | The Haadsma Dairy Archive
2021
</p>
22+
</div> -->
23+
<div class="legacy-lab-container">
24+
<div class="legacy-lab-text">
25+
<h1 class="header">Legacy Lab</h1>
26+
<h2 class="start-date">Begins March 3rd</h2>
27+
<p>
28+
At Permanent, we believe in the power of preserving your story. Join
29+
Legacy Lab, a free four-week course where you'll create a lasting
30+
archive and learn through:
31+
</p>
32+
<ul>
33+
<li>Daily Tasks</li>
34+
<li>Video Tutorials</li>
35+
<li>Peer Support</li>
36+
</ul>
37+
<a href="https://permanent.org/legacy-lab/"
38+
>Sign Up for Legacy Lab Today!</a
39+
>
40+
</div>
2141
</div>
2242
</div>
2343
<div class="auth">

src/app/auth/components/auth/auth.component.scss

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
flex-shrink: 1;
1818

1919
@media screen {
20-
padding: 20px 0px;
20+
&:not(.legacy-lab) {
21+
padding: 20px 0px;
22+
}
2123
}
2224
}
2325

@@ -56,6 +58,26 @@
5658
}
5759

5860
.image {
61+
&.legacy-lab {
62+
background: url('../../../../assets/img/legacy_lab_sign_in_stripe.png');
63+
background-size: contain;
64+
background-position: center right 1.5rem;
65+
background-repeat: repeat-y;
66+
}
67+
68+
.legacy-lab-center-slice {
69+
z-index: 0;
70+
position: absolute;
71+
left: 0;
72+
top: 0;
73+
width: 100%;
74+
height: 100%;
75+
background: url('../../../../assets/img/legacy_lab_sign_in_image.png');
76+
background-size: contain;
77+
background-position: center right 1.5rem;
78+
background-repeat: no-repeat;
79+
}
80+
5981
position: relative;
6082
height: 100%;
6183
background: url('../../../../assets/img/sign_in_image.png');
@@ -136,3 +158,56 @@
136158
margin: 0;
137159
}
138160
}
161+
162+
.legacy-lab-text {
163+
color: white;
164+
165+
.start-date,
166+
a {
167+
color: #ff9933;
168+
}
169+
170+
.header {
171+
font-size: 2.5rem;
172+
font-weight: bold;
173+
font-family: 'UsualBold', sans-serif;
174+
}
175+
176+
.start-date {
177+
font-weight: bold;
178+
margin-bottom: 2rem;
179+
font-size: 1.5rem;
180+
font-family: 'UsualBold', sans-serif;
181+
}
182+
183+
p {
184+
font-size: 1rem;
185+
width: 50%;
186+
font-family: 'UsualRegular', sans-serif;
187+
}
188+
189+
a {
190+
font-size: 1rem;
191+
font-style: italic;
192+
font-weight: bold;
193+
font-family: 'UsualBold', sans-serif;
194+
}
195+
196+
ul {
197+
margin-bottom: 2rem;
198+
199+
& > li {
200+
font-family: 'UsualRegular', sans-serif;
201+
position: relative;
202+
}
203+
}
204+
}
205+
206+
.legacy-lab-container {
207+
margin-left: 50px;
208+
margin-top: 20px;
209+
display: flex;
210+
flex-direction: column;
211+
height: 80%;
212+
justify-content: center;
213+
}
383 KB
Loading
4.4 KB
Loading

0 commit comments

Comments
 (0)