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:
@@ -30,6 +30,55 @@ func renderHome(body: String) -> Node {
|
||||
div(class: "my-24 font-avenir leading-[1.25] font-thin text-center [&>h1>strong]:font-bold") {
|
||||
Node.raw(body)
|
||||
}
|
||||
div(class: "grid lg:grid-cols-2 gap-6") {
|
||||
HomeLink.internal(
|
||||
"Articles",
|
||||
icon: "newspaper",
|
||||
href: "/articles/",
|
||||
description: "Click here to view articles."
|
||||
)
|
||||
|
||||
HomeLink.external(
|
||||
"Service Monitor",
|
||||
icon: "heart-pulse",
|
||||
href: "https://uptime.housh.dev/status/housh-dev",
|
||||
description: "Click here to view the service status."
|
||||
)
|
||||
|
||||
HomeLink.external(
|
||||
"Purchase Orders",
|
||||
icon: "calculator",
|
||||
href: "https://po.housh.dev",
|
||||
description: "Purchase orders application."
|
||||
)
|
||||
|
||||
HomeLink.external(
|
||||
"Excalidraw",
|
||||
icon: "pen-tool",
|
||||
href: "https://draw.housh.dev",
|
||||
description: "A drawing utility."
|
||||
)
|
||||
|
||||
HomeLink.external(
|
||||
"Gitea",
|
||||
icon: "git-branch",
|
||||
href: "https://git.housh.dev/explore/repos",
|
||||
description: "Source code."
|
||||
)
|
||||
|
||||
HomeLink.external(
|
||||
"Unifi Console",
|
||||
icon: "earth",
|
||||
href: "https://unifi.ui.com",
|
||||
description: "Network management."
|
||||
)
|
||||
}
|
||||
script(src: "https://unpkg.com/lucide@latest")
|
||||
Node.raw("""
|
||||
<script>
|
||||
lucide.createIcons();
|
||||
</script>
|
||||
""")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user