Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Update links to new course
Browse files Browse the repository at this point in the history
  • Loading branch information
frankharkins committed Jul 18, 2023
1 parent c480321 commit fe995fe
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions frontend/vue/components/constants/megaMenuLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { NavLink } from './../../../constants/menuLinks'

const wholeSection = 'whole-section'
const sectionBasicsCourse = 'basics-course'
const sectionAlgorithmFundamentals = 'algorithm-fundamentals'
const sectionAlgorithmDesign = 'algorithm-design'
const sectionIntroductionCourse = 'introduction-course'
const sectionQMLCourse = 'quantum-machine-learning'
Expand All @@ -19,6 +20,7 @@ const sectionSummerSchool = 'summer-schools'
const sectionProblemSets = 'problem-sets'

const pathBasicsCourse = '/course/basics'
const pathAlgorithmFundamentals = '/course/algorithms'
const pathAlgorithmDesign = '/course/algorithm-design'
const pathIntroductionCourse = '/course/introduction'
const pathQuantumMachineLearning = '/course/machine-learning'
Expand Down Expand Up @@ -81,6 +83,39 @@ const BASICS_COURSE: MegaDropdownMenuGroup = {
]
}

const ALGORITHM_FUNDAMENTALS: MegaDropdownMenuGroup = {
title: {
label: 'Fundamentals of quantum algorithms',
url: `${pathAlgorithmFundamentals}`,
segment: {
cta: wholeSection, location: sectionAlgorithmFundamentals
}
},
content: [
{
label: 'Quantum query algorithms',
url: `${pathAlgorithmFundamentals}/query-algorithms`,
segment: {
cta: 'query_algorithms', location: sectionAlgorithmFundamentals
}
},
{
label: 'Algorithmic foundations',
url: `${pathAlgorithmFundamentals}/algorithmic-foundations`,
segment: {
cta: 'algorithmic_foundations', location: sectionAlgorithmFundamentals
}
},
{
label: 'Phase estimation and factoring',
url: `${pathAlgorithmFundamentals}/phase-estimation`,
segment: {
cta: 'phase_estimation', location: sectionAlgorithmFundamentals
}
}
]
}

const ALGORITHM_DESIGN: MegaDropdownMenuGroup = {
title: {
label: 'Variational algorithm design',
Expand Down Expand Up @@ -1553,6 +1588,7 @@ const COURSES_SECTION: MegaDropdownMenuSection = {
title: 'Courses',
content: [
BASICS_COURSE,
ALGORITHM_FUNDAMENTALS,
ALGORITHM_DESIGN,
INTRODUCTION_COURSE,
QML_COURSE
Expand Down

0 comments on commit fe995fe

Please sign in to comment.