Skip to content

Commit 4223d87

Browse files
authored
Merge pull request #325 from NGO-Algorithm-Audit/feature/2025-08-29
Feature/2025 08 29
2 parents f737172 + 260749e commit 4223d87

File tree

11 files changed

+45
-28
lines changed

11 files changed

+45
-28
lines changed

assets/scss/_custom.scss

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,19 @@
152152
border-color:#005aa7;
153153
color:#005aa7;
154154
border-radius: 100px;
155-
width: 30px;
156-
height: 30px;
155+
width: 18px;
156+
height: 18px;
157157
background-color: #fff;
158158
margin-left: 2px;
159+
position: relative;
160+
top: 6px;
161+
b {
162+
position: relative;
163+
top: -7px;
164+
font-size: 14px;
165+
}
166+
}
167+
168+
.tooltip-inner {
169+
max-width: 400px;
159170
}

content/english/about/teams.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ team:
9393
name: Mackenzie Jorgensen PhD
9494
bio: |
9595
Postdoctoral Research Fellow, Northumbria University
96-
accordion_content: ""
9796
linkedIn: "https://www.linkedin.com/in/mackenzie-j-447763142"
97+
accordion_content: ""
9898
- image: /images/people/KProrokovic.jpeg
9999
name: Krsto Proroković
100100
bio: |
@@ -114,7 +114,9 @@ team:
114114
linkedIn: "https://www.linkedin.com/in/joelpersson"
115115
accordion_content: ""
116116
- title: Team software development
117-
content: Part-time team working on software development, among others working on Algorithm Audit's tools and website
117+
content: >-
118+
Part-time team working on software development, among others working on
119+
Algorithm Audit's tools and website
118120
icon: fas fa-code
119121
id: team-SD
120122
team_members:
@@ -174,7 +176,8 @@ team:
174176
Postdoctoral researcher AI, Media and Democracy Lab, University of
175177
Amsterdam
176178
linkedIn: "https://www.linkedin.com/in/laurens-naudts-9a935729"
177-
accordion_content: ""
179+
accordion_content: |
180+
TEST
178181
- title: Executive team
179182
content: Full-time team coordinating the different activities of Algorithm Audit
180183
icon: fas fa-users
@@ -185,14 +188,16 @@ team:
185188
bio: |
186189
Director-board member
187190
linkedIn: "https://www.linkedin.com/in/jfparie/"
191+
accordion_content: ""
188192
- image: /images/people/YRemmits.jpg
189193
name: Ylja Remmits
190194
bio: |
191195
Head of Projects
192196
linkedIn: "https://www.linkedin.com/in/ylja-remmits-21185188"
197+
accordion_content: ""
193198
---
194199

195-
{{< about_AA id="about" >}}
200+
{{< about_AA >}}
196201

197202
{{< team index="5" >}}
198203

content/english/knowledge-platform/policy-observatory.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ subtitle: >
55
and AI. On this page information is collected about these initiatives,
66
including reference material that Algorithm Audit has developed.
77
image: /images/svg-illustrations/knowledge_base.svg
8+
quick_navigation:
9+
custom_page_width: '9'
810
reports_preview:
911
title: White papers
1012
icon: fas fa-file
@@ -93,4 +95,4 @@ Over the years, many Fundamental Rights Impact Assessments (FRIAs) have been dev
9395

9496
{{< tab_content_close >}}
9597

96-
{{< tab_content_close >}}
98+
{{< tab_content_close >}}

layouts/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@
9999
}
100100

101101
@media (max-width: 992px) {
102-
top: 12px;
103-
right: -11px;
102+
top: -18px;
103+
left: 14px;
104104
}
105105
}
106106

@@ -244,14 +244,14 @@ <h2 class="pt-5 color-blue">{{i18n "search" }}</h2>
244244
<a href=${item.url} class="container">
245245
<div class="row search-result-row">
246246
<div class="col-12 col-lg-2">
247-
<div class="position-absolute search-tags-mobile">
248-
${tagToHtml(item.tag)}
249-
</div>
250247
<div class="my-3 text-center image-frame">
251248
<img class="image-fluid search-result-image d-inline p-2" src='${item.image}' alt='${item.title}' />
252249
</div>
253250
</div>
254251
<div class="col-12 col-lg-10">
252+
<div class="position-absolute search-tags-mobile">
253+
${tagToHtml(item.tag)}
254+
</div>
255255
<h3 class="color-blue search-result-title">${item._highlightResult.title.value}</h3>
256256
<p class="color-gray search-result-subtitle">${item._highlightResult.subtitle.value}</p>
257257
<div class="position-absolute search-tags-desktop">

layouts/partials/sublanding-page-header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h3 style="color: {{$color}} !important" class="{font-size-1_3rem">{{.Params.tit
3535
<div class="container pb-5">
3636
{{ range .Params.subpage_links }}
3737
<a href={{.url}} class="row justify-content-center">
38-
<div style="background-color: {{.color}};" class="rounded-lg col color-blue p-0 my-2">
38+
<div style="background-color: {{.color}}};" class="rounded-lg col color-blue p-0 my-2">
3939
<div class="row mx-4 py-3">
4040
<i class="font-size-1_5rem fa {{ .icon }}"></i>
4141
<h3 class="color-blue font-size-1_5rem ml-4">{{.title}}</h3>

layouts/section/sublandingpage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3>{{.Params.quick_navigation.title}}</h3>
2828
</div>
2929
<div class="col-lg-2 col-12"></div>
3030
{{ else }}
31-
<div class="col-12 mx-auto">
31+
<div class="col-12 {{if.Params.quick_navigation.custom_page_width}}col-lg-{{.Params.quick_navigation.custom_page_width}}{{end}} mx-auto">
3232
<div class="content">{{ .Content }}</div>
3333
</div>
3434
{{ end }}

layouts/shortcodes/team.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ <h3 class="pl-3">{{ .title | markdownify }}
1717
</h3>
1818

1919
{{ end }}
20-
20+
{{ $accordion_team_id := .id }}
2121
<!-- team members -->
2222
<div class="container-team mt-4">
2323
<p>{{ .content | markdownify }}</p>
2424
<div class="row">
25-
{{ range .team_members }}
26-
{{ if .accordion_id}}
25+
{{ range $memberIndex, $teamMember := .team_members }}
26+
{{ if .accordion_content }}
2727
<script>
2828
docReady(function () {
29-
new Accordion('#accordion_area_team_{{.accordion_id}}');
29+
new Accordion('#accordion_area_team_{{$accordion_team_id}}_{{$memberIndex}}');
3030
});
3131
</script>
3232
{{ end }}
33-
<div class="col-md-6 col-12 team-member p-3 " id="accordion_area_team_{{.accordion_id}}">
33+
<div class="col-md-6 col-12 team-member p-3 " id="accordion_area_team_{{$accordion_team_id}}_{{$memberIndex}}">
3434
<div class="row {{if .accordion_content}}ac{{end}}" style="border:none;">
3535
<div class="col-3">
3636
<img src="{{ .image | relURL }}" width="100%;" style="border-radius: 20px;">

themes/bigspring-light/layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h3>{{.Params.quick_navigation.title}}</h3>
5959
</div>
6060
<div class="col-lg-2 col-12"></div>
6161
{{ else }}
62-
<div class="col-12 mx-auto">
62+
<div class="col-12 {{if.Params.quick_navigation.custom_page_width}}col-lg-{{.Params.quick_navigation.custom_page_width}}{{end}} mx-auto">
6363
<div class="content">{{ .Content }}</div>
6464
</div>
6565
{{ end }}

tina/collections/shared/page/building_blocks.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -648,13 +648,6 @@ const building_blocks: TinaField[] = [
648648
description:
649649
"If this field is filled, an accordion will be created to show more information",
650650
},
651-
{
652-
type: "string",
653-
name: "accordion_id",
654-
label: "Accordion ID",
655-
description:
656-
"Unique identifier needed to make the accordion work, e.g. use the person's name without spaces and include the team section in it, e.g. coreTeamJohnDoe",
657-
},
658651
],
659652
},
660653
],

tina/collections/shared/page/quick_navigation.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ const quick_navigation: TinaField = {
1717
label: "Title",
1818
required: false,
1919
},
20+
{
21+
type: "string",
22+
name: "custom_page_width",
23+
label: "Custom page width for large screens (1-12)",
24+
required: false,
25+
},
2026
{
2127
type: "object",
2228
name: "links",

0 commit comments

Comments
 (0)