From 9b2a18bbbfb211d2fcf94d1100e6e107ed7fe412 Mon Sep 17 00:00:00 2001 From: Esperanza Molina <108661074+memolina2323@users.noreply.github.com> Date: Thu, 15 Jun 2023 15:55:11 +0200 Subject: [PATCH] Change order of top nav-bar links (#232) * change order of navbar links * Create update-top-nav-bar-links-order.md * fix indentation --------- Co-authored-by: Yaiza --- .changeset/update-top-nav-bar-links-order.md | 5 +++ components/ui-shell/settings.ts | 42 ++++++++++---------- 2 files changed, 26 insertions(+), 21 deletions(-) create mode 100644 .changeset/update-top-nav-bar-links-order.md diff --git a/.changeset/update-top-nav-bar-links-order.md b/.changeset/update-top-nav-bar-links-order.md new file mode 100644 index 0000000..1c8f2d9 --- /dev/null +++ b/.changeset/update-top-nav-bar-links-order.md @@ -0,0 +1,5 @@ +--- +"@qiskit/web-components": patch +--- + +Change order of top nav-bar links diff --git a/components/ui-shell/settings.ts b/components/ui-shell/settings.ts index 9cc43f4..43d00f4 100644 --- a/components/ui-shell/settings.ts +++ b/components/ui-shell/settings.ts @@ -55,27 +55,6 @@ export const SOCIAL_LINKS: SocialLinks[] = [ ]; export const NAV_ITEMS: TopLevelNavItem[] = [ - { - label: 'Learn', - url: 'https://qiskit.org/learn/', - }, - { - label: 'Community', - children: [ - { - label: 'Events', - url: 'https://qiskit.org/events/', - }, - { - label: 'Advocates', - url: 'https://qiskit.org/advocates/', - }, - { - label: 'Ecosystem', - url: 'https://qiskit.org/ecosystem/', - }, - ], - }, { label: 'Documentation', isMegaMenu: true, @@ -176,6 +155,27 @@ export const NAV_ITEMS: TopLevelNavItem[] = [ label: 'Providers', url: 'https://qiskit.org/providers/', }, + { + label: 'Community', + children: [ + { + label: 'Events', + url: 'https://qiskit.org/events/', + }, + { + label: 'Advocates', + url: 'https://qiskit.org/advocates/', + }, + { + label: 'Ecosystem', + url: 'https://qiskit.org/ecosystem/', + }, + ], + }, + { + label: 'Learn', + url: 'https://qiskit.org/learn/', + }, ]; export type { NavItem, TopLevelNavItem };