feat: Change navbar links to open internally
This commit is contained in:
parent
fc9cb53b2b
commit
f0c5755cd0
@ -264,16 +264,18 @@ const isI18nStaging = process.env.I18N_STAGING === 'true';
|
|||||||
srcDark: 'img/ohif-logo.svg',
|
srcDark: 'img/ohif-logo.svg',
|
||||||
},
|
},
|
||||||
items: [
|
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',
|
position: 'left',
|
||||||
to: '/',
|
to: '/',
|
||||||
activeBaseRegex: '^(/next/|/)$',
|
activeBaseRegex: '^(/next/|/)$',
|
||||||
docId: 'Introduction',
|
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: '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'},
|
// {to: 'showcase', label: 'Showcase', position: 'left'},
|
||||||
// right
|
// right
|
||||||
{
|
{
|
||||||
@ -348,6 +350,10 @@ const isI18nStaging = process.env.I18N_STAGING === 'true';
|
|||||||
{
|
{
|
||||||
title: 'More',
|
title: 'More',
|
||||||
items: [
|
items: [
|
||||||
|
{
|
||||||
|
label: 'Donate',
|
||||||
|
href: 'https://google.com/',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'GitHub',
|
label: 'GitHub',
|
||||||
href: 'https://github.com/OHIF/Viewers',
|
href: 'https://github.com/OHIF/Viewers',
|
||||||
@ -366,11 +372,11 @@ const isI18nStaging = process.env.I18N_STAGING === 'true';
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
logo: {
|
// logo: {
|
||||||
alt: 'OHIF ',
|
// alt: 'OHIF ',
|
||||||
src: 'img/ohif-logo.svg',
|
// src: 'img/ohif-logo.svg',
|
||||||
href: 'https://ohif.org',
|
// href: 'https://ohif.org',
|
||||||
},
|
// },
|
||||||
copyright: `OHIF is open source software released under the MIT license.`,
|
copyright: `OHIF is open source software released under the MIT license.`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -422,7 +422,7 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@babel/types" "^7.14.5"
|
"@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"
|
version "7.14.5"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz#d0f0e277c512e0c938277faa85a3968c9a44c0e8"
|
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz#d0f0e277c512e0c938277faa85a3968c9a44c0e8"
|
||||||
integrity sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==
|
integrity sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==
|
||||||
@ -707,7 +707,7 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@babel/helper-plugin-utils" "^7.10.4"
|
"@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"
|
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"
|
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==
|
integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user