Skip to content

Commit 4dd5c78

Browse files
committed
Add photo grid component for careers page
1 parent 7a25912 commit 4dd5c78

File tree

11 files changed

+43
-4
lines changed

11 files changed

+43
-4
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
////////////////////
2+
// Filmstrip
3+
////////////////////
4+
5+
.photo-grid {
6+
display: grid;
7+
grid-gap: rem-calc(10px);
8+
grid-template-columns: 1fr 1fr;
9+
margin: 0 auto;
10+
max-width: 80vmax;
11+
12+
@media (min-width: 1200px) {
13+
max-width: none;
14+
grid-template-columns: 1fr 1fr 1fr 1fr;
15+
}
16+
}
17+
18+
.photo-grid img {
19+
width: 100%;
20+
}

assets/css/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@
3434
@import "component/media-grid";
3535
@import "component/icon-grid";
3636
@import "component/action-list";
37+
@import "component/photo-grid";
24.5 KB
Loading
64.2 KB
Loading
22.7 KB
Loading
61.3 KB
Loading
24.4 KB
Loading
74.2 KB
Loading
16.5 KB
Loading
42.1 KB
Loading

careers.html

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,33 @@ <h2 class="mt-3">Help us change the way the world reads.</h2>
3131

3232

3333
<section class="bg-slate-100">
34-
<div class="section-container text-center">
34+
<div class="section-container pl-3 pr-3 text-center">
3535
<hgroup class="m-auto text-length-lg">
3636
<h2 id="why-scribd" class="section-heading text-plum">Why Scribd</h2>
37-
<h3 class="h2">We believe that the secret to making the perfect product is making Scribd the perfect place to work.</h3>
37+
<h3 class="h2 mb-3">We believe that the secret to making the perfect product is making Scribd the perfect place to work.</h3>
3838
</hgroup>
39+
40+
<div class="photo-grid">
41+
<img class="rounded"
42+
srcset="{{ '/assets/images/general/team-photo-1.jpg' | relative_url }},
43+
{{ '/assets/images/general/[email protected]' | relative_url }} 2x"
44+
src="{{ '/assets/images/general/team-photo-1.jpg' | relative_url }}" role="presentation" alt="">
45+
<img class="rounded"
46+
srcset="{{ '/assets/images/general/team-photo-2.jpg' | relative_url }},
47+
{{ '/assets/images/general/[email protected]' | relative_url }} 2x"
48+
src="{{ '/assets/images/general/team-photo-2.jpg' | relative_url }}" role="presentation" alt="">
49+
<img class="rounded"
50+
srcset="{{ '/assets/images/general/team-photo-3.jpg' | relative_url }},
51+
{{ '/assets/images/general/[email protected]' | relative_url }} 2x"
52+
src="{{ '/assets/images/general/team-photo-3.jpg' | relative_url }}" role="presentation" alt="">
53+
<img class="rounded"
54+
srcset="{{ '/assets/images/general/team-photo-4.jpg' | relative_url }},
55+
{{ '/assets/images/general/[email protected]' | relative_url }} 2x"
56+
src="{{ '/assets/images/general/team-photo-4.jpg' | relative_url }}" role="presentation" alt="">
57+
</div>
3958
</div>
4059
</section>
4160

42-
4361
<section class="section-container">
4462
<hgroup class="m-auto text-center text-length-lg">
4563
<h2 id="benifits" class="section-heading text-teal">Benifits</h2>
@@ -91,7 +109,7 @@ <h5>Wellness Benefit</h5>
91109
<div class="section-container">
92110
<hgroup class="m-auto text-length-lg text-center">
93111
<h2 id="our-advisors" class="section-heading text-cabernet">Our Advisors</h2>
94-
<h3 class="h2">We believe that the secret to making the perfect product is making Scribd the perfect place to work.</h3>
112+
<h3 class="h2">You’ll have access to the best mentors in the world.</h3>
95113
</hgroup>
96114

97115
<ul class="media-grid media-grid-large mt-5">

0 commit comments

Comments
 (0)