+
+
+
diff --git a/frontend/components/views/AppHeader.vue b/frontend/components/views/AppHeader.vue
index 170a8b95..fc2b2402 100644
--- a/frontend/components/views/AppHeader.vue
+++ b/frontend/components/views/AppHeader.vue
@@ -61,7 +61,6 @@
\ No newline at end of file
+
diff --git a/frontend/config/config.ts b/frontend/config/config.ts
index 16a61b09..7252664a 100644
--- a/frontend/config/config.ts
+++ b/frontend/config/config.ts
@@ -17,4 +17,39 @@ const keys = {
status: 'status',
}
-export { summaryTiles, keys }
+const navigationItems = [
+ {
+ label: 'navigation.home',
+ routeName: 'index',
+ },
+ {
+ label: 'navigation.algorithmRegister',
+ routeName: 'algoritme',
+ },
+ {
+ label: 'navigation.footer',
+ routeName: 'footer',
+ },
+ {
+ label: 'navigation.over',
+ routeName: 'over',
+ },
+ {
+ label: 'navigation.contact',
+ routeName: 'contact',
+ },
+ {
+ label: 'navigation.vragen',
+ routeName: 'vragen',
+ },
+ {
+ label: 'navigation.privacyverklaring',
+ routeName: 'privacyverklaring',
+ },
+ {
+ label: 'navigation.toegankelijkheid',
+ routeName: 'toegankelijkheid',
+ },
+]
+
+export { summaryTiles, keys, navigationItems }
diff --git a/frontend/locales/en.json b/frontend/locales/en.json
index 63d7989c..83c8a61a 100644
--- a/frontend/locales/en.json
+++ b/frontend/locales/en.json
@@ -1,6 +1,7 @@
{
"english?": "true",
"explanation": "Explanation",
+ "you-are-here": "You are here",
"Ontbreekt": "Missing",
"locale-en": "English",
"locale-nl": "Dutch",
@@ -46,7 +47,13 @@
"hideFilters": "Hide filters",
"navigation": {
"home": "Home",
- "algorithmRegister": "Algorithms"
+ "algorithmRegister": "Algorithms",
+ "footer": "Home",
+ "over": "About",
+ "contact": "Contact",
+ "vragen": "FAQ",
+ "privacyverklaring": "Privacy",
+ "toegankelijkheid": "Accessibility"
},
"pagination": {
"goTo": "Go to page {n}"
@@ -211,4 +218,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/frontend/locales/nl.json b/frontend/locales/nl.json
index 7d21a01e..17c27c13 100644
--- a/frontend/locales/nl.json
+++ b/frontend/locales/nl.json
@@ -1,6 +1,7 @@
{
"english?": "false",
"explanation": "Uitleg",
+ "you-are-here": "U bent hier",
"Ontbreekt": "Ontbreekt",
"locale-en": "Engels",
"locale-nl": "Nederlands",
@@ -46,7 +47,13 @@
"hideFilters": "Verberg filters",
"navigation": {
"home": "Home",
- "algorithmRegister": "Algoritmes"
+ "algorithmRegister": "Algoritmes",
+ "footer": "Home",
+ "over": "Over",
+ "contact": "Contact",
+ "vragen": "Vaak gestelde vragen",
+ "privacyverklaring": "Privacyverklaring",
+ "toegankelijkheid": "Toegankelijkheid"
},
"pagination": {
"goTo": "Ga naar pagina {n}"
@@ -211,4 +218,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/frontend/services/algoritme.ts b/frontend/services/algoritme.ts
index 0ebc3e97..9609e89c 100644
--- a/frontend/services/algoritme.ts
+++ b/frontend/services/algoritme.ts
@@ -1,5 +1,5 @@
// import { apiFetch } from '@/utils/fetchApi'
-import type { Algoritme } from '@/types/algoritme'
+import type { Algoritme, AlgNamesOnly } from '@/types/algoritme'
const getAll = () =>
useFetch
('/algoritme/', {
@@ -11,4 +11,9 @@ const getOne = (id: string) =>
baseURL: useRuntimeConfig().public.apiBaseUrl,
})
-export default { getAll, getOne }
+const getNames = () =>
+ useFetch('/algoritme-simple-list/', {
+ baseURL: useRuntimeConfig().public.apiBaseUrl,
+ })
+
+export default { getAll, getOne, getNames }
diff --git a/frontend/types/algoritme.ts b/frontend/types/algoritme.ts
index a2fc9b82..20759ccd 100644
--- a/frontend/types/algoritme.ts
+++ b/frontend/types/algoritme.ts
@@ -20,3 +20,8 @@ export type AlgoritmeFilter = {
attribute: string
value: string
}
+
+export interface AlgNamesOnly {
+ id: string
+ name: string
+}