Skip to content

Commit

Permalink
navbar + hero refactor (#1428)
Browse files Browse the repository at this point in the history
  • Loading branch information
zroubalik committed Jul 16, 2024
1 parent 9f50dc4 commit 4863c41
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
25 changes: 21 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
</p>
</div>

<div class="navbar-item is-size-5-desktop has-dropdown is-hoverable">
<!-- <div class="navbar-item is-size-5-desktop has-dropdown is-hoverable">
<a class="navbar-link is-arrowless" href="/docs/{{ $latest }}/scalers">Scalers</a>
</div>
<div class="navbar-item is-size-5-desktop has-dropdown is-hoverable">
<a class="navbar-link is-arrowless" href="/docs/{{ $latest }}/authentication-providers">Auth providers</a>
</div>
</div> -->

{{ range $docs }}
{{ $isExternal := hasPrefix .URL "http" }}
Expand Down

0 comments on commit 4863c41

Please sign in to comment.