Skip to content

Commit f03d19b

Browse files
committed
changed search tags color and added custom search tags
1 parent e918a9c commit f03d19b

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

content/english/events/activities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,6 @@ subtitle: >
925925
our team speak at events. On this page an overview of past event can be found.
926926
image: /images/svg-illustrations/events.svg
927927
search:
928-
searchableText: Utrecht Oxford
928+
searchableText: Utrecht Oxford pakhuis
929929
---
930930

content/english/knowledge-platform/project-work.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ subtitle: >
66
overview of technical audits and normative reviews can be found in our [case
77
repository](/nl/algoprudence/)
88
image: /images/svg-illustrations/knowledge_base.svg
9+
search:
10+
searchableText: Amsterdam
911
form1:
1012
title: Get in touch to explore potential collaboration
1113
content: >-

content/nederlands/knowledge-platform/project-work.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ subtitle: >
66
algoritmes en AI. Een overzicht van onze technisch audits en normatieve reviews kan
77
worden gevonden in onze [case repository](/nl/algoprudence/)
88
image: /images/svg-illustrations/knowledge_base.svg
9+
search:
10+
searchableText: Amsterdam
911
form1:
1012
title: Kom in contact om samenwerking te bespreken
1113
content: >-

layouts/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ <h2 class="pt-5 color-blue">{{i18n "search" }}</h2>
201201
const tagToHighlightClass = (tag) => {
202202
if (tag === "Kennisplatform"
203203
|| tag === "Knowledge platform") {
204-
return `highlight-lightblue-sm`;
204+
return `highlight-red-sm`;
205205
}
206206

207207
if (tag === "Algoprudentie"
@@ -211,12 +211,12 @@ <h2 class="pt-5 color-blue">{{i18n "search" }}</h2>
211211

212212
if (tag === "Technische tools"
213213
|| tag === "Technical tools") {
214-
return `highlight-yellow-sm`;
214+
return `highlight-red-sm`;
215215
}
216216

217217
if (tag === "Events"
218218
|| tag === "Evenementen") {
219-
return `highlight-lightblue-sm`;
219+
return `highlight-red-sm`;
220220
}
221221

222222
if (tag === "About"
@@ -250,7 +250,7 @@ <h2 class="pt-5 color-blue">{{i18n "search" }}</h2>
250250
<div class="col-12 col-lg-10">
251251
<h3 class="color-blue search-result-title">${item._highlightResult.title.value}</h3>
252252
<p class="color-gray search-result-subtitle">${item._highlightResult.subtitle.value}</p>
253-
<div class="position-absolute search-tags-desktop">
253+
<div class="pt-3 search-tags-desktop">
254254
${tagToHtml(item.tag)}
255255
</div>
256256
</div>

tina/tina-lock.json

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

0 commit comments

Comments
 (0)