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
2 changes: 1 addition & 1 deletion src/components/hero-banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const HeroBanner = () => {
as={Link}
variant={'outline'}
colorScheme={'blue'}
href='https://virtualship.oceanparcels.org' // TODO fix link after deployment
href='https://virtualship.readthedocs.io/en/latest/'
>
Get Started
</Button>
Expand Down
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.org', // TODO: Update to the new domain
url = 'https://virtualship.oceanparcels.org',
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.org' // TODO: Update to the new domain
? 'https://virtualship.oceanparcels.org'
: 'http://localhost:3000'

// Construct the full card URL
Expand Down
8 changes: 4 additions & 4 deletions src/data/footer-items.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ export const footerItems = {
resources: [
{
label: 'Documentation',
href: 'https://virtualship.oceanparcels.org/en/latest/', // TODO: update to new domain after deployment
href: 'https://virtualship.readthedocs.io/en/latest/',
},
{
label: 'Installation',
href: 'https://virtualship.oceanparcels.org/en/latest/#installation', // TODO: update to new domain after deployment
href: 'https://virtualship.readthedocs.io/en/latest#installation',
},
{
label: 'User Guide',
href: 'https://virtualship.oceanparcels.org/en/latest/user-guide/index.html', // TODO: update to new domain after deployment
href: 'https://virtualship.readthedocs.io/en/latest/user-guide/index.html',
},
],

community: [
{
label: 'Contribute',
href: 'https://virtualship.oceanparcels.org/en/latest/contributing/index.html', // TODO: update to new domain after deployment
href: 'https://virtualship.readthedocs.io/en/latest/contributing/index.html',
},
{
label: 'GitHub Discussions',
Expand Down
4 changes: 2 additions & 2 deletions src/data/menu-items.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export const menuItems = [
{ label: 'Blog', href: '/blog' },
{
label: 'Documentation',
href: 'https://virtualship.oceanparcels.org/en/latest/',
}, // TODO: update to new domain after deployment
href: 'https://virtualship.readthedocs.io/en/latest/',
},
]
2 changes: 1 addition & 1 deletion src/data/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const Projects = [
description:
'VirtualShipParcels is a command-line simulator to plan and conduct a virtual research expedition.',
repo: 'https://github.com/OceanParcels/virtualship',
homepage: 'https://virtualship.oceanparcels.org/en/latest/',
homepage: 'https://virtualship.oceanparcels.org/',
logo_light: '/projects/virtual_ship_logo.png',
logo_dark: '/projects/virtual_ship_logo_dia.png',
},
Expand Down