-
Notifications
You must be signed in to change notification settings - Fork 3
/
about.liquid
235 lines (210 loc) · 5.22 KB
/
about.liquid
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
---
permalink: /about
layout: index.liquid
data:
route: about
---
<style>
body {
overflow-x: hidden !important;
}
section { padding: 2em;}
#hero {
background-image: url('/img/about_bg.svg');
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-color: var(--clr-lavender-lightest);
}
section > article {
flex-direction: column
}
.timeline-container {
content: '';
background: var(--clr-green-darker);
width: 10px;
left: 10%;
position: relative;
}
.timeline-item {
padding: 3em 1em 0 0;
width: 90vw;
}
.timeline-item h2, .timeline-item h3 {
margin: 28px;
}
.timeline-item h3 {
line-height: 1.6;
}
.timeline-content {
flex-wrap: wrap;
max-width: 900px;
}
#action-plan ul.step-list {
display: flex;
flex-wrap: wrap;
gap: 2em;
justify-content: center;
padding: 0;
}
#action-plan ul.step-list li.step-card {
border-radius: 15px;
padding: 2em;
flex: 1 1 300px;
min-height: 200px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.step-icon {
margin-bottom: 1em;
}
#team {
position: relative;
overflow: hidden;
padding: 0;
margin: 0;
}
#core-team {
display: grid;
grid-template-columns: repeat(3, 1fr);
padding: 1em;
}
#core-team, #team h2, #team h3 {
padding: 0 32px;
}
#core-team span { color: var(--clr-green-darker); }
#core-team li:not(.space) {
padding: 10px;
display: flex;
align-items: center;
}
#core-team div { border-left: 3px solid var(--clr-green-darker); padding-left: 10px; }
#core-team img {
width: 100%;
max-width: 20vw;
height: auto;
aspect-ratio: 1 / 1;
border-radius: 50%;
margin-right: 10px;
background-color: var(--clr-whitest);
}
#team-members {
background-image: url('/img/team_l.svg');
background-position: center center;
background-repeat: no-repeat;
background-size:contain;
height: 700px;
width: 100vw;
position: relative;
bottom: 0;
left: 0;
overflow: hidden;
}
@media (max-width: 1279px) {
#hero {
background-image: url('/img/about_bg_sm.svg');
}
#core-team { display: flex; flex-direction: column; align-items: center;}
#core-team li { margin-top: 10px; }
.space { display: none; }
#team-members {
background-image: url('/img/team_s.svg');
height: 300px;
background-size: cover;
}
}
</style>
<body>
{% if site.data.lang %}
{% assign about = site.data[site.data.lang].about_us %}
{% else %}
{% assign about = site.data.en.about_us %}
{% endif %}
{% if about %}
{% for about in about %}
<section {% if about.id == "hero" %} id="hero" class="left dark-olive-text">
<article class="animated">
<h1 class="maxwidth--text_desktop">{{ about.title }}</h1>
</article>
</section>
{% endif %}
<div {% if about.id == "issue" %} id="issue" class="white-text timeline-container">
<div class="timeline-item">
<div class="timeline-content">
<h2 class="dark-green-text">{{ about.title }}</h2>
<h3 class="animated">{{ about.paragraph_one }}</h3>
<h3 class="animated">{{ about.paragraph_two }}</h3>
</div>
</div>
</div>
{% endif %}
<div {% if about.id == "virto" %} id="virto" class=" white-text timeline-container">
<div class="timeline-item">
<div class="timeline-content">
<h2 class=" dark-green-text">{{ about.title }}</h2>
<h3 class="animated">{{ about.paragraph_one }}</h3>
<h3 class="animated">{{ about.paragraph_two }}</h3>
<h3 class="animated">{{ about.paragraph_three }}</h3>
<h3 class="animated">{{ about.paragraph_four }}</h3>
</div>
</div>
</div>
{% endif %}
<section {% if about.id == "action-plan" %} id="action-plan" class="light-green-bg">
<article class="animated center">
<h2>{{ about.title }}</h2>
<h3>{{ about.subtitle }}</h3>
<ul class="step-list">
{% for step in about.step_list %}
<li class="step-card white-bg">
<div class="step-icon">
{% include step.icon %}
</div>
<h3>{{ step.content }}</h3>
</li>
{% endfor %}
</ul>
</article>
</section>
{% endif %}
<section {% if about.id == "team" %} id="team" class="whitest-bg dark-olive-text">
<article class="animated">
<h2>{{ about.title }}</h2>
<h3>{{ about.subtitle }}</h3>
<ul id="core-team">
{% for core_member in about.core_team %}
<li>
<img src="{{ core_member.avatar }}" alt="{{ core_member.name }}" height="50">
<div>
<a href={{ core_member.link }} class="dark-olive-text">
<h4>{{ core_member.name }}</h4>
<h5 class="thin">{{ core_member.role }}</h5>
</a>
</div>
</li>
<li class="space"></li>
{% endfor %}
</ul>
<div id="team-members"></div>
</article>
</section>
{% endif %}
<section {% if about.id == "cta_about" %} id="cta_about" class="cta dark-green-text">
<article class="animated center">
<h3 class="regular">{{ about.subtitle }}</h3>
<h2>{{ about.title }}</h2>
<h3 class="bold white-text">{{ about.paragraph }}</h3>
<a class="button" href={{ site.data.apply }}>
{{ about.call_to_action }}
</a>
</article>
</section>
{% endif %}
{% endfor %}
{% else %}
<h3>Not found</h3>
{% endif %}
</body>