From b701bc96f98dd15fdca3f97047a183332b205ea0 Mon Sep 17 00:00:00 2001 From: Yangshun Date: Wed, 2 Feb 2022 14:04:16 +0800 Subject: [PATCH] website: change top navbar --- contents/algorithms/introduction.md | 1 + website/docusaurus.config.js | 16 ++++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/contents/algorithms/introduction.md b/contents/algorithms/introduction.md index c1b9d377..90454adc 100644 --- a/contents/algorithms/introduction.md +++ b/contents/algorithms/introduction.md @@ -1,6 +1,7 @@ --- id: algorithms-introduction title: Introduction to algorithms +sidebar_label: Introduction slug: introduction --- diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 8ae0a750..58bae005 100755 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -23,16 +23,20 @@ module.exports = { src: 'img/logo.svg', }, items: [ - {href: '/introduction', label: 'Getting started', position: 'left'}, { + label: 'Start reading', + href: '/introduction', + position: 'left', + }, + { + label: 'Coding interview guide', href: '/coding-interview', - label: 'Coding', }, { - href: '/system-design', - label: 'System design', + label: 'Algorithms 101', + href: '/algorithms/introduction', }, - {to: 'blog', label: 'Blog', position: 'left'}, + {label: 'Blog', to: 'blog', position: 'left'}, { href: 'https://github.com/yangshun/tech-interview-handbook', position: 'right', @@ -61,7 +65,7 @@ module.exports = { title: 'General', items: [ { - label: 'Get started', + label: 'Start reading', href: '/introduction', }, {