2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-07-01 08:42:04 +00:00

fix: links on nav

This commit is contained in:
sammyette 2025-06-12 19:42:12 -04:00
parent 9ab13054f3
commit 51d8e7b42e
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -173,10 +173,18 @@ fn nav() -> element.Element(a) {
html.div(
[attribute.class("flex gap-3 dark:text-pink-300 text-pink-600")],
[
html.a([attribute.href("/")], [element.text("Home")]),
html.a([attribute.href("/install")], [element.text("Install")]),
html.a([attribute.href("/docs")], [element.text("Docs")]),
html.a([attribute.href("/blog")], [element.text("Blog")]),
html.a([attribute.href(conf.base_url_join(""))], [
element.text("Home"),
]),
html.a([attribute.href(conf.base_url_join("/install"))], [
element.text("Install"),
]),
html.a([attribute.href(conf.base_url_join("/docs"))], [
element.text("Docs"),
]),
html.a([attribute.href(conf.base_url_join("/blog"))], [
element.text("Blog"),
]),
],
),
],