-
-
Notifications
You must be signed in to change notification settings - Fork 788
/
Copy pathprogram-areas.html
95 lines (90 loc) · 3.76 KB
/
program-areas.html
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
---
layout: default
title: Program Areas
permalink: /program-areas
---
<!-- Header banner -->
<div class="header-container flex-container">
<div class="header-text">
<h1 class="title1">Program Areas</h1>
<p>
Hack for LA’s nonprofit civic tech projects support a wide variety of important social causes,
from environmental justice to voter representation, in Los Angeles and far beyond.
</p>
</div>
<img class="header-hero-image" src="/assets/images/toolkit/toolkit-hero.svg" alt="" />
</div>
<section class="content-section content--program-areas">
{% assign sorted_program_areas = site.data.internal.program-areas | sort %}
{% for program_areas in sorted_program_areas %}
{% if program_areas[1].size > 0 %}
<div class="page-card card-primary page-card-lg page-card-container">
<div class="page-card-image-container">
<img class="page-card-image" src="{{ program_areas[1].image }}" alt="{{ program_areas[1].image_alt }}" />
</div>
<div class="page-card-content">
<h2 class="title4">{{program_areas[1].name}}</h2>
<p>{{program_areas[1].description}}</p>
<p>
<strong>SDGs: </strong>
{% if program_areas[1].SDG %}
{% for sdg in program_areas[1].SDG %}
{% if forloop.last == true %}
and {{sdg}}
{% else %}
{{sdg}},
{% endif %}
{% endfor %}
{% endif %}<br>
</p>
<ul class="project-card-mini-list-alignment">
{% for project in site.projects %}
{% for project_program in project.program-area %}
{% if program_areas[1].program-area == project_program %}
{% assign project_relative_path = project.slug | prepend: "../projects/" %}
<li class="project-card-mini inline-list" id="{{project.identification}}">
<img class="project-card-mini-image" src="{{project.image}}" alt="{{project.image_alt}}" />
<a class="project-card-mini-title" href="{{ project_relative_path }}">{{project.title}}</a>
</li>
{% endif %}
{% endfor %}
{% endfor %}
<!--Spacer li are used to center the project card mini on mobile-->
<li class="project-card-mini-spacer"></li>
<li class="project-card-mini-spacer"></li>
<li class="project-card-mini-spacer"></li>
</ul>
</div>
</div>
{% endif %}
{% endfor %}
</section>
<section class="join-us-footer">
<div class="join-us-footer-body">
<img
class="join-us-footer-img desktop-img"
src="/assets/images/join-us/volunteer-with-us-icon.svg"
alt="join us card image"
/>
<div class="join-us-footer-description">
<h3>Join a Project</h3>
<img
class="join-us-footer-img mobile-img"
src="/assets/images/join-us/volunteer-with-us-icon.svg"
alt="join us card image"
/>
<div class="join-us-footer-paragraphs">
<p class="first-paragraph">
To join any of the projects click through their project pages for
details on getting started.
</p>
<p class="second-paragraph">
The projects that are in formation are not yet on our website. To
connect with the current project team <a href="https://hackforla-slack.herokuapp.com/"> join our slack</a> and browse for their
channel name.
</p>
</div>
<a href="/join" class="btn btn-primary btn-md btn--default">Join Us</a>
</div>
</div>
</section>