Skip to content

Commit ce3ce76

Browse files
committed
add distinctive in to homepage again and fix funded by
1 parent 85613f6 commit ce3ce76

File tree

5 files changed

+216
-17
lines changed

5 files changed

+216
-17
lines changed

content/english/_index.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ Areas_of_AI_expertise:
9191
enable: true
9292
width_m: 4
9393
width_s: 12
94-
button_text: Discuss collaboration
95-
button_link: /knowledge-platform/project-work/
9694
feature_item:
9795
- name: Algorithms for decision support
9896
icon: fas fa-divide
@@ -132,6 +130,34 @@ Areas_of_AI_expertise:
132130
Auditing training process of foundation models, among others selection
133131
of training data, human feedback for reinforcement learning and risk
134132
management, according to AI Act standards
133+
button_text: Discuss collaboration
134+
button_link: /knowledge-platform/project-work/
135+
Distinctive_in:
136+
title: Distinctive in
137+
enable: true
138+
width_m: 4
139+
width_s: 2
140+
feature_item:
141+
- name: Independence
142+
icon: fas fa-star-of-life
143+
content: >
144+
By working nonprofit and under explicit terms and conditions, we ensure
145+
the independence and quality of our audits and normative advice
146+
- name: Normative advice
147+
icon: fas fa-search
148+
content: >
149+
Mindful of societal impact our commissions provide normative advice on
150+
ethical issues that arise in algorithmic use cases
151+
- name: Public knowledge
152+
icon: fab fa-slideshare
153+
content: >
154+
Audits and corresponding advice (*algoprudence*) are made <a
155+
href="https://algorithmaudit.eu/algoprudence/"
156+
style="text-decoration: underline;">publicly available</a>,
157+
increasing collective knowledge how to deploy and use algorithms in an
158+
responsible way
159+
button_text: Project work
160+
button_link: /knowledge-platform/project-work/
135161
Supported_by:
136162
title: Collaborating with
137163
funders:
@@ -163,6 +189,8 @@ Supported_by:
163189
- image: /images/supported_by/CoE.png
164190
link: "https://www.coe.int/en/web/portal/home"
165191
alt_text: Council of Europe
192+
button_text: And more
193+
button_link: /funded-by
166194
Title_video:
167195
title: The Movie
168196
video_mp4: /videos/AA_video_(1080p).mp4

layouts/index.html

Lines changed: 87 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,91 @@
1212

1313
{{ partial "landingpage/activityfeed.html" . }}
1414

15-
<!-- Areas of AI expertise -->
15+
<!-- Areas of expertise -->
1616
{{ with .Params.Areas_of_AI_expertise }}
1717
{{ if .enable }}
18-
<section class="section bg-white">
19-
<div class="container">
18+
<section class="section color-blue">
19+
<div class="container bg-white">
2020

2121
<!-- Title -->
2222
<div class="row">
2323
<div class="col-12">
24-
<h3 class="section-title" style="color: #005aa7;">{{ .title | markdownify }}</h3>
24+
<h3 class="section-title color-blue">{{ .title | markdownify }}</h3>
25+
</div>
26+
</div>
27+
<!-- /Title -->
28+
29+
<!-- areas of AI expertise -->
30+
31+
<!-- desktop version -->
32+
<div class="row justify-content-center desktop">
33+
{{$width_m := 4}}
34+
{{$width_s := 2}}
35+
{{if .width_m}}
36+
{{$width_m = .width_m}}
37+
{{end}}
38+
{{if .width_s}}
39+
{{$width_s = .width_s}}
40+
{{end}}
41+
{{ range .feature_item }}
42+
<div class="col-md-{{$width_m}} col-sm-{{$width_s}} mb-4 border-left-blue">
43+
<div class="feature-card-transparant">
44+
<i class="{{.icon}} mb-3" style="font-size:22px;">
45+
<h4 class="color-blue d-inline-block" style="padding-left:10px; font-weight:100;">
46+
{{ .name | markdownify }}
47+
</h4>
48+
</i>
49+
<p class="color-blue">{{ .content | markdownify }}</p>
50+
</div>
51+
</div>
52+
{{ end }}
53+
</div>
54+
<!-- /desktop version -->
55+
56+
<!-- mobile version -->
57+
<div class="row justify-content-center mobile">
58+
{{ range .feature_item }}
59+
<div class="col-12 m-4 border-top-blue">
60+
<div class="feature-card-transparant">
61+
<i class="{{.icon}} mb-3" style="font-size:22px;">
62+
<h4 class="color-blue d-inline-block" style="padding-left:10px; font-weight:100;">
63+
{{ .name | markdownify }}
64+
</h4>
65+
</i>
66+
<p class="color-blue">{{ .content | markdownify }}</p>
67+
</div>
68+
</div>
69+
{{ end }}
70+
</div>
71+
<!-- /mobile version -->
72+
73+
<!-- /areas of AI expertise -->
74+
75+
<!-- Button -->
76+
<div class="row text-center">
77+
<div class="col-12" style="margin-top:25px;">
78+
<a class="btn-link" href="{{.button_link | relURL}}">
79+
<h3 class="btn color-white">{{.button_text}}</h3>
80+
</a>
81+
</div>
82+
</div>
83+
<!-- /Button -->
84+
</div>
85+
</section>
86+
{{end}}
87+
{{end}}
88+
<!-- /Areas of expertise -->
89+
90+
<!-- Distinctive in -->
91+
{{ with .Params.Distinctive_in }}
92+
{{ if .enable }}
93+
<section class="section color-blue">
94+
<div class="container bg-lightblue py-5">
95+
96+
<!-- Title -->
97+
<div class="row">
98+
<div class="col-12">
99+
<h3 class="section-title color-blue">{{ .title | markdownify }}</h3>
25100
</div>
26101
</div>
27102
<!-- /Title -->
@@ -41,12 +116,12 @@ <h3 class="section-title" style="color: #005aa7;">{{ .title | markdownify }}</h3
41116
{{ range .feature_item }}
42117
<div class="col-md-{{$width_m}} col-sm-{{$width_s}} mb-4 border-left-blue">
43118
<div class="feature-card-transparant">
44-
<i class="{{.icon}} mb-3" style="color: #005aa7; display:inline-block; font-size:22px;">
45-
<h4 class="" style="color:#005aa7; display:inline-block; padding-left:10px; font-weight:100;">
119+
<i class="{{.icon}} mb-3" style="font-size:22px;">
120+
<h4 class="color-blue d-inline-block" style="padding-left:10px; font-weight:100;">
46121
{{ .name | markdownify }}
47122
</h4>
48123
</i>
49-
<p>{{ .content | markdownify }}</p>
124+
<p class="color-blue">{{ .content | markdownify }}</p>
50125
</div>
51126
</div>
52127
{{ end }}
@@ -58,12 +133,12 @@ <h4 class="" style="color:#005aa7; display:inline-block; padding-left:10px; font
58133
{{ range .feature_item }}
59134
<div class="col-12 m-4 border-top-blue">
60135
<div class="feature-card-transparant">
61-
<i class="{{.icon}} mb-3" style="color: #005aa7; display:inline-block; font-size:22px;">
62-
<h4 style="color:#005aa7; display:inline-block; padding-left:10px; font-weight:100;">
136+
<i class="{{.icon}} mb-3" style="font-size:22px;">
137+
<h4 class="color-blue d-inline-block" style="padding-left:10px; font-weight:100;">
63138
{{ .name | markdownify }}
64139
</h4>
65140
</i>
66-
<p>{{ .content | markdownify }}</p>
141+
<p class="color-blue">{{ .content | markdownify }}</p>
67142
</div>
68143
</div>
69144
{{ end }}
@@ -76,7 +151,7 @@ <h4 style="color:#005aa7; display:inline-block; padding-left:10px; font-weight:1
76151
<div class="row text-center">
77152
<div class="col-12" style="margin-top:25px;">
78153
<a class="btn-link" href="{{.button_link | relURL}}">
79-
<h3 class="btn" style="color:#ffffff;">{{.button_text}}</h3>
154+
<h3 class="btn color-white">{{.button_text}}</h3>
80155
</a>
81156
</div>
82157
</div>
@@ -85,7 +160,7 @@ <h3 class="btn" style="color:#ffffff;">{{.button_text}}</h3>
85160
</section>
86161
{{end}}
87162
{{end}}
88-
<!-- /Areas of AI expertise -->
163+
<!-- /Distinctive in -->
89164

90165

91166

layouts/partials/landingpage/supportedby.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,24 @@ <h3 class="section-title" style="color: #005aa7;">{{ .title | markdownify }}</h3
1313
</div>
1414

1515
{{ range .funders }}
16-
<div class="col-lg-2 col-md-6 col-sm-6 col-xs-12 my-5 inner d-flex justify-content-center sponsor">
16+
<div class="col-lg-4 col-md-6 col-sm-6 col-12 my-5 inner d-flex justify-content-center sponsor">
1717
<a href="{{.link}}" target="_blank">
1818
<img src="{{ .image | relURL }}" style="max-height: 100px;" alt="{{.alt_text}}" class="img-fluid">
1919
</a>
2020
</div>
2121
{{ end }}
2222
</div>
2323

24+
25+
<!-- Button -->
26+
<div class="row text-center">
27+
<div class="col-12" style="margin-top:25px;">
28+
<a class="btn-link" href="{{.button_link | relURL}}">
29+
<h3 class="btn" style="color:#ffffff;">{{.button_text}}</h3>
30+
</a>
31+
</div>
32+
</div>
33+
<!-- /Button -->
2434
</div>
2535
</section>
2636
{{ end }}

tina/collections/pages/home.ts

Lines changed: 87 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export default {
253253
{
254254
type: "object",
255255
name: "Areas_of_AI_expertise",
256-
label: "Areas of AI Expertise",
256+
label: "Areas of Expertise",
257257
fields: [
258258
{
259259
type: "string",
@@ -281,6 +281,32 @@ export default {
281281
description: "Divide the number of articles per row by 12",
282282
required: true,
283283
},
284+
{
285+
type: "object",
286+
name: "feature_item",
287+
label: "Featured Items",
288+
list: true,
289+
fields: [
290+
{
291+
type: "string",
292+
name: "name",
293+
label: "Name",
294+
required: true,
295+
},
296+
{
297+
type: "string",
298+
name: "icon",
299+
label: "Icon",
300+
required: true,
301+
},
302+
{
303+
type: "rich-text",
304+
name: "content",
305+
label: "Content",
306+
isBody: true,
307+
},
308+
],
309+
},
284310
{
285311
type: "string",
286312
name: "button_text",
@@ -291,6 +317,46 @@ export default {
291317
type: "string",
292318
name: "button_link",
293319
},
320+
],
321+
defaultItem: () => {
322+
return {
323+
width_m: 4,
324+
width_s: 2,
325+
};
326+
},
327+
},
328+
// Distinctive in
329+
{
330+
type: "object",
331+
name: "Distinctive_in",
332+
label: "Distinctive in",
333+
fields: [
334+
{
335+
type: "string",
336+
name: "title",
337+
label: "Title",
338+
required: true,
339+
},
340+
{
341+
type: "boolean",
342+
name: "enable",
343+
label: "Enable",
344+
required: true,
345+
},
346+
{
347+
type: "number",
348+
name: "width_m",
349+
label: "Width medium screens (12 is the maximum)",
350+
description: "Divide the number of articles per row by 12",
351+
required: true,
352+
},
353+
{
354+
type: "number",
355+
name: "width_s",
356+
label: "Width small screens (12 is the maximum)",
357+
description: "Divide the number of articles per row by 12",
358+
required: true,
359+
},
294360
{
295361
type: "object",
296362
name: "feature_item",
@@ -317,6 +383,16 @@ export default {
317383
},
318384
],
319385
},
386+
{
387+
type: "string",
388+
name: "button_text",
389+
label: "Button text",
390+
},
391+
{
392+
label: "Link",
393+
type: "string",
394+
name: "button_link",
395+
},
320396
],
321397
defaultItem: () => {
322398
return {
@@ -360,6 +436,16 @@ export default {
360436
},
361437
],
362438
},
439+
{
440+
type: "string",
441+
name: "button_text",
442+
label: "Button text",
443+
},
444+
{
445+
label: "Link",
446+
type: "string",
447+
name: "button_link",
448+
},
363449
],
364450
},
365451
// Video

tina/tina-lock.json

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

0 commit comments

Comments
 (0)