Skip to content

Commit bcf9050

Browse files
committed
update styling and add missing links
1 parent 410b3e7 commit bcf9050

File tree

3 files changed

+40
-16
lines changed

3 files changed

+40
-16
lines changed

assets/scss/components/_registration_office_hours.scss

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
h1 {
22
text-align: center;
3-
margin-bottom: 1rem;
3+
margin-top: 3rem;
4+
margin-bottom: 2rem;
5+
6+
@media only screen and (max-width: 768px) {
7+
font-size: 1.5rem;
8+
}
49
}
510

611
.resume-reviewers {
@@ -12,13 +17,17 @@ h1 {
1217
gap: 2rem;
1318
max-width: 85rem;
1419
margin: auto;
15-
padding-top: 2rem;
20+
padding-top: 0;
1621
padding-bottom: 8rem;
1722
width: 100%;
1823

1924
.reviewer {
25+
background-color: #fff;
26+
box-shadow: 0 0px 4px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
27+
padding: 32px 16px;
28+
max-width: 300px;
29+
border-radius: 1.5rem;
2030
text-align: center;
21-
max-width: 700px;
2231
flex: 1 1 calc(30% - 1rem);
2332
margin: 1rem;
2433
margin-bottom: 32px;
@@ -30,7 +39,7 @@ h1 {
3039
@media only screen and (max-width: 1280px) {
3140
flex: 1 1 calc(40% - 1rem);
3241
}
33-
@media only screen and (max-width: 600px) {
42+
@media only screen and (max-width: 768px) {
3443
flex: 1 1 calc(50% - 1rem);
3544
}
3645

@@ -45,11 +54,17 @@ h1 {
4554

4655
h2 {
4756
text-align: center;
48-
margin-top: 0.5rem;
57+
margin-top: 1rem;
4958
}
5059

5160
p {
52-
margin: 0.5rem 0;
61+
margin: 0.3rem 0;
62+
}
63+
64+
p.placeholder {
65+
visibility: hidden;
66+
margin: 0.3rem 0;
67+
height: 1.25rem;
5368
}
5469

5570
a {

data/registration_office_hours_volunteers.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
- name: Riley Lutz
22
first_name: Riley
33
year_standing: Fourth
4-
stream: No stream
4+
stream: Game Development stream
55
minors: Minor in Film
6-
additional_info: Previously in the Game Development stream
6+
additional_info:
77
image: images/executives/riley.png
88
link: "https://calendly.com/riley-lutz-ccss/registration-office-hours"
99

@@ -20,10 +20,10 @@
2020
first_name: Landon
2121
year_standing: Third
2222
stream: Cybersecurity stream
23-
minors: ""
23+
minors: No minors
2424
additional_info: TA experience, Took the Z section
2525
image: images/executives/landon.jpg
26-
link:
26+
link: "https://calendly.com/05effects/registration-office-hours"
2727

2828
- name: Ryan Chung
2929
first_name: Ryan
@@ -32,7 +32,7 @@
3232
minors: Minor in Business Entrepreneurship
3333
additional_info: Took the Z section
3434
image: images/executives/ryan_chung2.JPG
35-
link:
35+
link: "https://calendly.com/ryan-chung-ccss/30min"
3636

3737
- name: Nguyen-Hanh Nong
3838
first_name: Nguyen
@@ -47,7 +47,7 @@
4747
first_name: Kimia
4848
year_standing: Second
4949
stream: Cybersecurity stream
50-
minors: ""
50+
minors: No minors
5151
additional_info: ""
5252
image: images/executives/kimia.jpg
5353
link: "https://calendly.com/kimia-khorramroudi-ccss/registration-office-hours"
@@ -66,7 +66,7 @@
6666
year_standing: Third
6767
stream: AI and ML stream
6868
minors: Minor in Economics
69-
additional_info: ""
69+
additional_info:
7070
image: images/executives/eros.png
7171
link: "https://calendly.com/eros-mcguire-ccss/registration-office-hours"
7272

layouts/_default/registration-office-hours.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,25 @@
3636
}
3737
});
3838
</script>
39-
<h1>Meet our Registration Office Hours Volunteers!</h1>
39+
<h1>Meet our Course Registration Office Hours Volunteers!</h1>
4040
<div class="resume-reviewers">
4141
{{ range .Site.Data.registration_office_hours_volunteers }}
4242
<div class="reviewer">
4343
<img src="{{ .image | relURL }}" alt="{{ .name }}" />
4444
<h2>{{ .name }}</h2>
4545
<b><p>{{ .year_standing }} year standing</p></b>
4646
<b><p>{{ .stream }}</p></b>
47-
<p>{{ .minors }}</p>
48-
<p>{{ .additional_info }}</p>
47+
{{ if .minors }}
48+
<p>{{ .minors }}</p>
49+
{{ else }}
50+
<p class="placeholder"></p>
51+
{{ end }}
52+
53+
{{ if .additional_info }}
54+
<p>{{ .additional_info }}</p>
55+
{{ else }}
56+
<p class="placeholder"></p>
57+
{{ end }}
4958
<a
5059
href=""
5160
onclick="Calendly.initPopupWidget({url: '{{ .link }}'});return false;"

0 commit comments

Comments
 (0)