Skip to content

Commit 0c19fac

Browse files
authored
Feat: "What We Do" section (#217)
2 parents 3b0d288 + 030e9e2 commit 0c19fac

File tree

4 files changed

+92
-1
lines changed

4 files changed

+92
-1
lines changed

src/_data/services.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
- name: Software development
2+
id: software-development
3+
description: Agile web application development and support with data publishing needs and tools for data analysts.
4+
5+
- name: Human-centered design
6+
id: human-centered-design
7+
description: User-centered design that incorporates accessibility requirements and multiple language support.
8+
9+
- name: Data Standards development
10+
id: data-standards-development
11+
description: Collaborate with agencies and stakeholders to create equity and transparency through developing standards.
12+
13+
- name: Project management
14+
id: project-management
15+
description: Ensure timely and efficient delivery of project goals and objectives.
16+
17+
- name: Program development
18+
id: program-development
19+
description: Build teams and services from the ground up within the government.

src/assets/illustrations/sign.svg

+3
Loading

src/our-work.html

+41-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,47 @@
1616
<hr class="border border-100 border-dark border-half opacity-100 mb-1" />
1717
<hr class="border border-100 border-dark border-half opacity-100 mb-1" />
1818

19-
<!-- What We Do -->
19+
<div class="container my-5 py-md-5 py-4">
20+
<div class="offset-lg-1 col-lg-10 mb-md-4">
21+
<span class="text-dark pill border-0 ps-0 pb-md-5 mb-md-3 pb-4 mb-3 d-inline-block">What we do</span>
22+
<h2 class="text-dark mb-4">Our services</h2>
23+
24+
<div class="row pb-5 mb-5">
25+
<div class="accordion" id="our-services-accordion">
26+
{% for service in site.data.services %}
27+
<div class="accordion-item">
28+
<h2 class="accordion-header" id="our-services-{{ service.id }}">
29+
<button
30+
class="accordion-button fw-boldest collapsed"
31+
type="button"
32+
data-bs-toggle="collapse"
33+
data-bs-target="#collapse-{{ service.id }}"
34+
aria-expanded="false"
35+
aria-controls="collapse-{{ service.id }}"
36+
>
37+
{{ service.name }}
38+
</button>
39+
</h2>
40+
<div
41+
id="collapse-{{ service.id }}"
42+
class="accordion-collapse collapse"
43+
aria-labelledby="our-services-{{ service.id }}"
44+
data-bs-parent="#our-services-accordion"
45+
>
46+
<div class="accordion-body">{{ service.description }}</div>
47+
</div>
48+
</div>
49+
{% endfor %}
50+
</div>
51+
</div>
52+
</div>
53+
</div>
54+
55+
<div class="position-relative">
56+
<span class="sign">
57+
<img alt="" src="/assets/illustrations/sign.svg" />
58+
</span>
59+
</div>
2060

2161
<hr class="border border-100 border-black border-half opacity-100 mb-1" />
2262
<hr class="border border-100 border-black border-half opacity-100 mb-1" />

src/styles/base.css

+29
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
--brand-primary-green: #88B440;
88
--brand-primary-black: #1C1C1C;
99
--brand-primary-cyan: #51B1C7;
10+
--brand-scale-gray-2: #BBBBBB;
1011
--brand-scale-gray-3: #878787;
1112
--brand-scale-gray-4: #545454;
1213
--brand-scale-green-1: #E7F0D9;
@@ -219,6 +220,26 @@ blockquote p {
219220

220221
/*#endregion */
221222

223+
/* Accordions */
224+
225+
.accordion {
226+
--bs-accordion-active-bg: var(--brand-scale-green-1);
227+
--bs-accordion-border-color: var(--brand-scale-gray-2);
228+
--bs-accordion-active-color: var(--text-black);
229+
230+
/* override the fill color */
231+
--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231c1c1c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")
232+
}
233+
234+
.accordion-button {
235+
--bs-accordion-btn-focus-border-color: var(--brand-primary-green);
236+
--bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(136, 180, 64, 1);
237+
}
238+
239+
.accordion-item, .accordion-button {
240+
border-radius: 0 !important;
241+
}
242+
222243
/* Buttons */
223244

224245
:root {
@@ -666,3 +687,11 @@ header {
666687
padding: 0.75rem;
667688
display: table-cell;
668689
}
690+
691+
/* Our Work */
692+
693+
.sign {
694+
position: absolute;
695+
right: 0;
696+
bottom: 0;
697+
}

0 commit comments

Comments
 (0)