feat: Adds dashboard style links to home page.
Some checks failed
CI / release (push) Has been cancelled
Some checks failed
CI / release (push) Has been cancelled
This commit is contained in:
@@ -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") {}
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user