feat: Updates styles for sidebar and articles list view.
Some checks failed
CI / release (push) Failing after 2m31s

This commit is contained in:
2025-04-15 15:00:28 -04:00
parent 500f4746e8
commit ad81392dc7
5 changed files with 12 additions and 10 deletions

View File

@@ -156,7 +156,8 @@ func renderArticle(context: ItemRenderingContext<ArticleMetadata>) -> Node {
}
func renderArticleForGrid(article: Item<ArticleMetadata>, border: Bool = true) -> Node {
div(class: "p-4 bg-slate-800\(border ? " border border-slate-400 rounded-lg" : "")") {
// bg-slate-800
div(class: "p-4\(border ? " border border-slate-400 rounded-lg" : "")") {
section {
h3(class: "text-2xl font-bold") {
a(class: "[&:hover]:border-b border-green-500", href: article.url) { article.title }