Skip to content

Commit b4b5126

Browse files
author
Cristina Aurrecoechea
committed
adding Learn submenu as in genomic sites per slack request after webinar
(cherry picked from commit 5c7c9ef)
1 parent f9b55f2 commit b4b5126

File tree

1 file changed

+50
-9
lines changed
  • packages/sites/ortho-site/webapp/wdkCustomization/js/client/components/layout

1 file changed

+50
-9
lines changed

packages/sites/ortho-site/webapp/wdkCustomization/js/client/components/layout/OrthoMCLPage.tsx

Lines changed: 50 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -579,23 +579,63 @@ function useHeaderMenuItems() {
579579
},
580580
],
581581
},
582+
582583
{
583584
key: 'help',
584585
display: 'Help',
585586
type: 'subMenu',
586587
items: [
587588
{
588-
key: 'faq',
589-
display: 'FAQ',
590-
type: 'reactRoute',
591-
url: makeStaticPageRoute('/OrthoMCL/faq.html'),
592-
},
593-
{
594-
key: 'landing',
589+
key: 'learning',
595590
display: 'Learn how to use VEuPathDB',
596-
type: 'reactRoute',
597-
url: makeStaticPageRoute('/landing.html'),
591+
type: 'subMenu',
592+
openByDefault: true,
593+
items: [
594+
{
595+
key: 'faqs',
596+
display: 'FAQs',
597+
type: 'reactRoute',
598+
url: makeStaticPageRoute(`/faq.html`),
599+
},
600+
{
601+
key: 'webinars',
602+
display: 'Webinars',
603+
type: 'reactRoute',
604+
url: makeStaticPageRoute(`/webinars.html`),
605+
},
606+
{
607+
key: 'workshops',
608+
display: 'Workshops',
609+
type: 'reactRoute',
610+
url: makeStaticPageRoute(`/workshops.html`),
611+
},
612+
{
613+
key: 'tutorials',
614+
display: 'Tutorials',
615+
type: 'reactRoute',
616+
url: makeStaticPageRoute(`/tutorials.html`),
617+
},
618+
{
619+
key: 'videos',
620+
display: 'Videos',
621+
type: 'externalLink',
622+
url: 'https://www.youtube.com/user/EuPathDB/playlists',
623+
},
624+
{
625+
key: 'methods',
626+
display: 'Analysis methods',
627+
type: 'reactRoute',
628+
url: makeStaticPageRoute(`/methods.html`),
629+
},
630+
{
631+
key: 'landing',
632+
display: 'All learning resources',
633+
type: 'reactRoute',
634+
url: makeStaticPageRoute('/landing.html'),
635+
},
636+
],
598637
},
638+
599639
{
600640
key: 'reset-session',
601641
display: `Reset ${displayName} session`,
@@ -605,6 +645,7 @@ function useHeaderMenuItems() {
605645
},
606646
],
607647
},
648+
608649
{
609650
key: 'contact-us',
610651
display: 'Contact Us',

0 commit comments

Comments
 (0)