From 95cc0128422cb1c8d8fbdb586e2a348005dfd443 Mon Sep 17 00:00:00 2001
From: Zbynek Roubalik
Date: Tue, 16 Jul 2024 13:31:57 +0200
Subject: [PATCH] navbar + hero refactor
Signed-off-by: Zbynek Roubalik
---
config.toml | 25 +++++++++++++++++++++----
layouts/partials/navbar.html | 4 ++--
2 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/config.toml b/config.toml
index 4e9a32197..5ddbe7389 100644
--- a/config.toml
+++ b/config.toml
@@ -175,29 +175,41 @@ name = "Architecture"
parent = "docs"
weight = 3
+[[menu.docs]]
+url = "/docs/scalers"
+name = "Scalers"
+parent = "docs"
+weight = 4
+
[[menu.docs]]
url = "/docs/operate/"
name = "Operate"
parent = "docs"
-weight = 4
+weight = 5
+
+[[menu.docs]]
+url = "/docs/authentication-providers"
+name = "Auth providers"
+parent = "docs"
+weight = 6
[[menu.docs]]
url = "/docs/migration/"
name = "Migration Guide"
parent = "docs"
-weight = 5
+weight = 7
[[menu.docs]]
url = "/docs/reference/faq/"
name = "FAQ"
parent = "docs"
-weight = 6
+weight = 8
[[menu.docs]]
url = "/docs/troubleshooting/"
name = "Troubleshooting"
parent = "docs"
-weight = 7
+weight = 9
[[menu.main]]
url = "/blog"
@@ -328,6 +340,11 @@ name = "Merch"
parent = "project"
weight = 12
+[[menu.main]]
+url = "/support/"
+name = "Support"
+weight = 5
+
# "Features" section on the main page
[[params.features]]
title = "Autoscaling Made Simple"
diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html
index 09372c3e2..2d1cc8dbc 100644
--- a/layouts/partials/navbar.html
+++ b/layouts/partials/navbar.html
@@ -33,13 +33,13 @@
-
+
{{ range $docs }}
{{ $isExternal := hasPrefix .URL "http" }}