From 07b619a35b7b661871641b677ed87568bd6018b9 Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Wed, 23 Apr 2025 10:46:43 +0200 Subject: [PATCH 1/3] Revert "Update prod link" This reverts commit ddcf0c99c2209fd7b7fd6cc15d06e28f3946cd2b. --- src/components/layout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/layout.js b/src/components/layout.js index 9c7cc60..b5b8901 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -15,7 +15,7 @@ export const Layout = ({ description, card, children, - url = 'https://oceanparcels.github.io/virtualship_website/', + url = 'https://oceanparcels.org', enableBanner = false, }) => { // Track page views @@ -33,7 +33,7 @@ export const Layout = ({ // Determine the base URL based on the environment const baseUrl = process.env.NODE_ENV === 'production' - ? 'https://oceanparcels.github.io/virtualship_website/' + ? 'https://oceanparcels.org' : 'http://localhost:3000' // Construct the full card URL From 33ef17384833087253bc1fc3695bebf384af8979 Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Wed, 23 Apr 2025 10:46:44 +0200 Subject: [PATCH 2/3] Revert "update basepath" This reverts commit 8828df2c2eba33ca89554cf024960ce281c46faf. --- next.config.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index 1623cb2..4f9d7f2 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -18,8 +18,7 @@ const nextConfig = { images: { domains: ["raw.githubusercontent.com", "numpy.org", "dask.org", "chainer.org"], }, - output: 'export', - basePath: '/virtualship_website' // TODO: Remove once we have a domain + output: 'export' } export default withMDX(nextConfig) From f8a6e96e5cc7c2cb4f5051a0d59a60b5cb983612 Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Wed, 23 Apr 2025 10:53:06 +0200 Subject: [PATCH 3/3] add todo comments --- src/components/layout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/layout.js b/src/components/layout.js index b5b8901..60aaee6 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -15,7 +15,7 @@ export const Layout = ({ description, card, children, - url = 'https://oceanparcels.org', + url = 'https://oceanparcels.org', // TODO: Update to the new domain enableBanner = false, }) => { // Track page views @@ -33,7 +33,7 @@ export const Layout = ({ // Determine the base URL based on the environment const baseUrl = process.env.NODE_ENV === 'production' - ? 'https://oceanparcels.org' + ? 'https://oceanparcels.org' // TODO: Update to the new domain : 'http://localhost:3000' // Construct the full card URL