Skip to content

Commit 5e12d67

Browse files
committed
seperate featured and non featured items on the homepage
1 parent cdce13b commit 5e12d67

File tree

4 files changed

+80
-52
lines changed

4 files changed

+80
-52
lines changed

content/english/_index.md

Lines changed: 38 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,37 +26,48 @@ overview_block:
2626
subtitle: Statistical and legal expertise
2727
url: /knowledge-platform/
2828
icon: fa-light fa-layer-group
29-
color: "#E3F0FE"
29+
color: '#E3F0FE'
3030
- title: Algoprudence
3131
subtitle: Case-based normative advice
3232
url: /algoprudence/
3333
icon: fa-light fa-scale-balanced
34-
color: "#F7CDBF"
34+
color: '#F7CDBF'
3535
- title: Technical tools
3636
subtitle: Open source AI auditing tools
3737
url: /technical-tools/
3838
icon: fa-light fa-toolbox
39-
color: "#FFFDE4"
39+
color: '#FFFDE4'
4040
- title: Project work
41-
subtitle: Validation, AI Act etc.
41+
subtitle: 'Validation, AI Act etc.'
4242
url: /knowledge-platform/project-work/
4343
icon: fa-light fa-magnifying-glass-plus
44-
color: "#E3F0FE"
44+
color: '#E3F0FE'
4545
About:
4646
content: >
47-
Who decides on the algorithms that shape our daily lives? We believe this belongs to all of us. Our team of data scientists, lawyers, and ethicists tackles value-based questions at the heart of AI. As a knowledge platform, we bridge the gap between policy initiatives, academic insights and case-based experience. Through open-source tools, independent validation and advice, we translate knowledge into action. Connect with us to make responsible AI a shared effort.
47+
Who decides on the algorithms that shape our daily lives? We believe this
48+
belongs to all of us. Our team of data scientists, lawyers, and ethicists
49+
tackles value-based questions at the heart of AI. As a knowledge platform,
50+
we bridge the gap between policy initiatives, academic insights and
51+
case-based experience. Through open-source tools, independent validation and
52+
advice, we translate knowledge into action. Connect with us to make
53+
responsible AI a shared effort.
4854
Activity_Feed:
49-
enable: true
50-
button_text: View more...
51-
button_link: /events/activities/#events
5255
featured_activities:
53-
- title: Public standard 'Meaningful human intervention for risk profiling algorithms'
56+
- title: >-
57+
Public standard 'Meaningful human intervention for risk profiling
58+
algorithms'
5459
intro: >
55-
Step-by-step guide to prevent prohibited automated decision-making solely based on profilings, as stated in Article 22 GDPR. Based on case-based experiences with risk profiling algorithms and aligned with recent literature.
56-
link: /knowledge-platform/knowledge-base/public_standard_meaningful_human_intervention/
60+
Step-by-step guide to prevent prohibited automated decision-making
61+
solely based on profilings, as stated in Article 22 GDPR. Based on
62+
case-based experiences with risk profiling algorithms and aligned with
63+
recent literature.
64+
link: >-
65+
/knowledge-platform/knowledge-base/public_standard_meaningful_human_intervention/
5766
image: /images/knowledge_base/Public_standard_meaningful_human_intervention.png
5867
date: 15-05-2025
5968
type: public standard
69+
featured_button_text: More items
70+
featured_button_link: /knowledge-platform/knowledge-base/
6071
activities:
6172
- title: Guest lecture 'Fairness and Algorithms' ETH Zürich
6273
link: /events/activities/#events
@@ -69,41 +80,44 @@ Activity_Feed:
6980
date: 21-05-2025
7081
type: panel discussion
7182
- title: >-
72-
Masterclass 'From data to decision', Jantina Tammes School of Digital Society, Technology and AI University of Groningen
83+
Masterclass 'From data to decision', Jantina Tammes School of Digital
84+
Society, Technology and AI University of Groningen
7385
link: /events/activities/#events
7486
image: /images/events/RUG.png
7587
date: 06-05-2025
7688
type: event
89+
items_button_text: More events
90+
items_button_link: /events/activities/
7791
Supported_by:
7892
title: Collaborating with
7993
funders:
8094
- image: /images/supported_by/sidn.png
81-
link: "https://www.sidnfonds.nl/projecten/open-source-ai-auditing"
95+
link: 'https://www.sidnfonds.nl/projecten/open-source-ai-auditing'
8296
alt_text: Foundation for Internet and Democracy Netherlands
8397
- image: /images/supported_by/EUAISFund.png
84-
link: "https://europeanaifund.org/announcing-our-2022-open-call-grantees/"
98+
link: 'https://europeanaifund.org/announcing-our-2022-open-call-grantees/'
8599
alt_text: European AI & Society Fund
86100
- image: /images/supported_by/BZK.jpg
87101
link: >-
88102
https://www.rijksoverheid.nl/ministeries/ministerie-van-binnenlandse-zaken-en-koninkrijksrelaties
89103
alt_text: Dutch Ministry of the Interior
90104
- image: /images/supported_by/HAI.png
91-
link: "https://hai.stanford.edu/ai-audit-challenge-2023-finalists"
105+
link: 'https://hai.stanford.edu/ai-audit-challenge-2023-finalists'
92106
alt_text: Stanford University Human-Centered Artificial Intelligence Lab
93107
- image: /images/supported_by/DUO.png
94-
link: "https://duo.nl"
108+
link: 'https://duo.nl'
95109
alt_text: Dutch Executive Agency for Education
96110
- image: /images/partners/NEN.svg
97-
link: "https://www.nen.nl"
111+
link: 'https://www.nen.nl'
98112
alt_text: Dutch standardisation institute
99113
- image: /images/partners/CEN.jpg
100-
link: "https://www.cencenelec.eu"
101-
alt_text: "Europees standardisation committee "
114+
link: 'https://www.cencenelec.eu'
115+
alt_text: 'Europees standardisation committee '
102116
- image: /images/events/Amsterdam.png
103-
link: "https://www.amsterdam.nl"
117+
link: 'https://www.amsterdam.nl'
104118
alt_text: Municipality of Amsterdam
105119
- image: /images/supported_by/CoE.png
106-
link: "https://www.coe.int/en/web/portal/home"
120+
link: 'https://www.coe.int/en/web/portal/home'
107121
alt_text: Council of Europe
108122
Building_ai_audit_capacity:
109123
lines:
@@ -186,7 +200,7 @@ Areas_of_AI_expertise:
186200
Recent_audits:
187201
title: Recent audits
188202
feature_item:
189-
- name: "Risk Profiling Social Welfare Re-examination "
203+
- name: 'Risk Profiling Social Welfare Re-examination '
190204
image: /images/reports/front_AA202302A.png
191205
link: >-
192206
/algoprudence/cases/aa202302_risk-profiling-for-social-welfare-reexamination/
@@ -264,3 +278,4 @@ Title_video:
264278
title: The Movie
265279
video_mp4: /videos/AA_video_(1080p).mp4
266280
---
281+

layouts/partials/landingpage/activityfeed.html

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
<!-- Activity Feed -->
22
{{ with .Params.Activity_Feed}}
3-
{{ if .enable }}
4-
<section class="activitifeed-section mt-5" id="featured">
3+
<!-- Featured activities -->
4+
<section class="activitifeed-section pb-5 mt-5" id="featured">
55
<div class="container" style="background-color:#deecf7;">
66
<div class="row align-items-center">
7-
87
<div class="mx-4 col order-1">
9-
10-
<!-- Featured activities -->
118
{{ if .featured_activities }}
129
<div class="row mt-5">
1310
<!-- title featured section -->
@@ -59,9 +56,22 @@ <h3 class="mb-2" style="color: #005aa7;">{{.title}}</h3>
5956
</div>
6057
</a>
6158
{{end}}
62-
{{end}}
63-
<!-- /Featured Activities -->
6459

60+
<!-- More -->
61+
<div class="row mt-4 pb-3 justify-content-center d-flex">
62+
<a href="{{.featured_button_link}}"><label class="btn">{{.featured_button_text}}</label></a>
63+
</div>
64+
<!-- /More -->
65+
{{end}}
66+
</div>
67+
</div>
68+
</div>
69+
</section>
70+
<!-- /Featured Activities -->
71+
<section class="activitifeed-section pt-5 mt-5" id="events">
72+
<div class="container" style="background-color:#deecf7;">
73+
<div class="row align-items-center">
74+
<div class="mx-4 col order-1">
6575
<!-- Activities -->
6676
{{ if .activities }}
6777
<div class="row mt-5">
@@ -112,7 +122,7 @@ <h4 class="my-4 ml-3 mr-5" style="color: #005aa7;">
112122

113123
<!-- More -->
114124
<div class="row mt-4 pb-3 justify-content-center d-flex">
115-
<a href="{{.button_link}}"><label class="btn">{{.button_text}}</label></a>
125+
<a href="{{.items_button_link}}"><label class="btn">{{.items_button_text}}</label></a>
116126
</div>
117127
<!-- /More -->
118128

@@ -123,5 +133,4 @@ <h4 class="my-4 ml-3 mr-5" style="color: #005aa7;">
123133
</div>
124134
</section>
125135
{{ end }}
126-
{{ end }}
127136
<!-- /Activity Feed -->

tina/collections/pages/home.ts

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -156,26 +156,10 @@ export default {
156156
{
157157
type: "object",
158158
name: "Activity_Feed",
159-
label: "Activity Feed",
159+
label: "Featured and recent items",
160160
fields: [
161161
{
162-
type: "boolean",
163-
name: "enable",
164-
label: "Enable",
165-
required: true,
166-
},
167-
{
168-
label: "Button text",
169-
type: "string",
170-
name: "button_text",
171-
},
172-
{
173-
label: "View all link",
174-
type: "string",
175-
name: "button_link",
176-
},
177-
{
178-
label: "Featured Activities",
162+
label: "Featured Items",
179163
type: "object",
180164
name: "featured_activities",
181165
list: true,
@@ -218,7 +202,17 @@ export default {
218202
],
219203
},
220204
{
221-
label: "Activities",
205+
label: "View more featured button text",
206+
type: "string",
207+
name: "featured_button_text",
208+
},
209+
{
210+
label: "View more featured link",
211+
type: "string",
212+
name: "featured_button_link",
213+
},
214+
{
215+
label: "Items",
222216
type: "object",
223217
name: "activities",
224218
list: true,
@@ -254,6 +248,16 @@ export default {
254248
},
255249
],
256250
},
251+
{
252+
label: "View more items button text",
253+
type: "string",
254+
name: "items_button_text",
255+
},
256+
{
257+
label: "View more items link",
258+
type: "string",
259+
name: "items_button_link",
260+
},
257261
],
258262
},
259263
// Supported by

tina/tina-lock.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)