Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions src/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const Layout = ({
description,
card,
children,
url = 'https://oceanparcels.github.io/virtualship_website/',
url = 'https://oceanparcels.org', // TODO: Update to the new domain
enableBanner = false,
}) => {
// Track page views
Expand All @@ -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' // TODO: Update to the new domain
: 'http://localhost:3000'

// Construct the full card URL
Expand Down