feat: Adds dashboard style links to home page.
Some checks failed
CI / release (push) Has been cancelled

This commit is contained in:
2025-04-08 09:52:54 -04:00
parent 522fac7b01
commit f05b96e0bf
5 changed files with 130 additions and 12 deletions

View File

@@ -48,18 +48,18 @@ private func siteHeader(_ section: Section) -> Node {
}
}
nav(class: "menu flex justify-between") {
div(class: "pt-6") {
ul(class: "flex flex-wrap gap-x-2 lg:gap-x-5") {
li {
a(class: section == .articles ? "active" : "", href: "/articles/") { "Articles" }
}
li {
a(href: "https://uptime.housh.dev/status/housh-dev", rel: "nofollow", target: "_blank") { "Server-Monitor" }
if section != .home {
div(class: "pt-6") {
ul(class: "flex flex-wrap gap-x-2 lg:gap-x-5") {
li {
a(class: section == .articles ? "active" : "", href: "/articles/") { "Articles" }
}
}
}
}
div(class: "font-avenir w-2/3", id: "search") {}
// if section == .home {
div(class: "font-avenir w-full pt-4", id: "search") {}
// }
}
}
}