From db9d347789102b87186b7c4f89a0052e002823d2 Mon Sep 17 00:00:00 2001 From: Kristof Vandenbroucke Date: Tue, 28 Nov 2023 19:16:06 +0100 Subject: [PATCH] Used absolute urls to see if they impact the project --- components/c-footer/c-footer.vue | 4 ++-- components/navigation/navigation.vue | 4 ++-- content/geudenstraat/kamer-1/configuration.json | 2 +- content/geudenstraat/kamer-2/configuration.json | 2 +- content/sloefke/kamer-1/configuration.json | 2 +- content/sloefke/kamer-2/configuration.json | 2 +- content/sloefke/kamer-3/configuration.json | 2 +- nuxt.config.ts | 1 - pages/index.vue | 4 ++-- 9 files changed, 11 insertions(+), 12 deletions(-) diff --git a/components/c-footer/c-footer.vue b/components/c-footer/c-footer.vue index 9ae1de4..3153052 100644 --- a/components/c-footer/c-footer.vue +++ b/components/c-footer/c-footer.vue @@ -46,11 +46,11 @@ const data: Footer = { }, links: [ { - href: '/sloefke', + href: 'https://depauwendeschutter.be/sloefke', title: 'Sloefke', }, { - href: '/geudenstraat', + href: 'https://depauwendeschutter.be/geudenstraat', title: 'Geudenstraat', }, ], diff --git a/components/navigation/navigation.vue b/components/navigation/navigation.vue index 0bb95aa..ee3d216 100644 --- a/components/navigation/navigation.vue +++ b/components/navigation/navigation.vue @@ -10,10 +10,10 @@ diff --git a/content/geudenstraat/kamer-1/configuration.json b/content/geudenstraat/kamer-1/configuration.json index b531c19..55c1859 100644 --- a/content/geudenstraat/kamer-1/configuration.json +++ b/content/geudenstraat/kamer-1/configuration.json @@ -5,7 +5,7 @@ "src": "/images/image.jpeg" }, "link": { - "href": "/geudenstraat/kamer-1", + "href": "https://depauwendeschutter.be/geudenstraat/kamer-1", "title": "Bekijk details" }, "paragraphs": [ diff --git a/content/geudenstraat/kamer-2/configuration.json b/content/geudenstraat/kamer-2/configuration.json index 94aa0c2..e66fc4a 100644 --- a/content/geudenstraat/kamer-2/configuration.json +++ b/content/geudenstraat/kamer-2/configuration.json @@ -5,7 +5,7 @@ "src": "/images/image.jpeg" }, "link": { - "href": "/geudenstraat/kamer-2", + "href": "https://depauwendeschutter.be/geudenstraat/kamer-2", "title": "Bekijk details" }, "paragraphs": [ diff --git a/content/sloefke/kamer-1/configuration.json b/content/sloefke/kamer-1/configuration.json index 708c710..8abb504 100644 --- a/content/sloefke/kamer-1/configuration.json +++ b/content/sloefke/kamer-1/configuration.json @@ -5,7 +5,7 @@ "src": "/images/image.jpeg" }, "link": { - "href": "/sloefke/kamer-1", + "href": "/https://depauwendeschutter.be/sloefke/kamer-1", "title": "Bekijk details" }, "paragraphs": [ diff --git a/content/sloefke/kamer-2/configuration.json b/content/sloefke/kamer-2/configuration.json index fdfcaa1..07b4f82 100644 --- a/content/sloefke/kamer-2/configuration.json +++ b/content/sloefke/kamer-2/configuration.json @@ -5,7 +5,7 @@ "src": "/images/image.jpeg" }, "link": { - "href": "/sloefke/kamer-2", + "href": "https://depauwendeschutter.be/sloefke/kamer-2", "title": "Bekijk details" }, "paragraphs": [ diff --git a/content/sloefke/kamer-3/configuration.json b/content/sloefke/kamer-3/configuration.json index 9d353e0..f302924 100644 --- a/content/sloefke/kamer-3/configuration.json +++ b/content/sloefke/kamer-3/configuration.json @@ -5,7 +5,7 @@ "src": "/images/image.jpeg" }, "link": { - "href": "/sloefke/kamer-3", + "href": "https://depauwendeschutter.be/sloefke/kamer-3", "title": "Bekijk details" }, "paragraphs": [ diff --git a/nuxt.config.ts b/nuxt.config.ts index 1d6b0fe..49e77ad 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -40,7 +40,6 @@ export default defineNuxtConfig({ // define preset for nitro and which backend to serve the project preset: "node-server", prerender: { - routes: ['/geudenstraat', '/sloefke'], ignore: ['/api'] } }, diff --git a/pages/index.vue b/pages/index.vue index 569f01c..d23465f 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -41,7 +41,7 @@ const cardItems: Array = [ title: 'Sloefke', description: 'Lorem ipsum', link: { - href: '/sloefke', + href: 'https://depauwendeschutter.be/sloefke', title: 'Lees meer', }, }, @@ -49,7 +49,7 @@ const cardItems: Array = [ title: 'Geudenstraat', description: 'Lorem ipsum', link: { - href: '/geudenstraat', + href: 'https://depauwendeschutter.be/geudenstraat', title: 'Lees meer', }, },