feat: Change navbar links to open internally

This commit is contained in:
Alireza 2021-06-24 12:40:06 -04:00
parent fc9cb53b2b
commit f0c5755cd0
2 changed files with 16 additions and 10 deletions

View File

@ -264,16 +264,18 @@ const isI18nStaging = process.env.I18N_STAGING === 'true';
srcDark: 'img/ohif-logo.svg',
},
items: [
{ href: 'https://ohif.org/get-started', label: 'Get Started', target: '_self', position: 'left' },
{ href: 'https://ohif.org/examples', label: 'Examples', target: '_self', position: 'left' },
{
position: 'left',
to: '/',
activeBaseRegex: '^(/next/|/)$',
docId: 'Introduction',
label: 'Docs & API',
label: 'Docs',
},
{ to: 'next/userManuals/index', label: 'User Manuals', position: 'left' },
{ href: 'https://ohif.org/community', label: 'Community', target: '_self', position: 'left' },
{ to: 'next/help', activeBaseRegex: '(^/help$)|(/next/help)', label: 'Help', position: 'right' },
{ to: 'https://react.ohif.org/', label: 'UI Component Library', position: 'left' },
// { to: 'https://react.ohif.org/', label: 'UI Component Library', position: 'left' },
// {to: 'showcase', label: 'Showcase', position: 'left'},
// right
{
@ -348,6 +350,10 @@ const isI18nStaging = process.env.I18N_STAGING === 'true';
{
title: 'More',
items: [
{
label: 'Donate',
href: 'https://google.com/',
},
{
label: 'GitHub',
href: 'https://github.com/OHIF/Viewers',
@ -366,11 +372,11 @@ const isI18nStaging = process.env.I18N_STAGING === 'true';
],
},
],
logo: {
alt: 'OHIF ',
src: 'img/ohif-logo.svg',
href: 'https://ohif.org',
},
// logo: {
// alt: 'OHIF ',
// src: 'img/ohif-logo.svg',
// href: 'https://ohif.org',
// },
copyright: `OHIF is open source software released under the MIT license.`,
},
},

View File

@ -422,7 +422,7 @@
dependencies:
"@babel/types" "^7.14.5"
"@babel/helper-validator-identifier@^7.14.5":
"@babel/helper-validator-identifier@^7.12.11", "@babel/helper-validator-identifier@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz#d0f0e277c512e0c938277faa85a3968c9a44c0e8"
integrity sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==
@ -707,7 +707,7 @@
dependencies:
"@babel/helper-plugin-utils" "^7.10.4"
"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3":
"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9"
integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==