feat: Updates styles for sidebar and articles list view.
Some checks failed
CI / release (push) Failing after 2m31s
Some checks failed
CI / release (push) Failing after 2m31s
This commit is contained in:
@@ -34,7 +34,7 @@ func renderTag<T>(context: PartitionedRenderingContext<T, ArticleMetadata>) -> N
|
||||
rssLink: "tag/\(context.key.slugified)/",
|
||||
extraHeader: extraHeader
|
||||
) { tag in
|
||||
div(class: "border-b border-light mb-12 px-6 pt-6") {
|
||||
div(class: "mb-12 px-6 pt-6") {
|
||||
a(href: "/articles") {
|
||||
div(class: "flex flex-row gap-4") {
|
||||
img(src: "/static/img/tag.svg", width: "40")
|
||||
@@ -52,7 +52,7 @@ func renderYear<T>(context: PartitionedRenderingContext<T, ArticleMetadata>) ->
|
||||
canocicalURL: "/articles/\(context.key)/",
|
||||
title: "Articles in \(context.key)",
|
||||
label: { year in
|
||||
div(class: "border-b border-light pt-6 w-full") {
|
||||
div(class: "pt-6 w-full") {
|
||||
a(href: "/articles/") {
|
||||
div(class: "px-6 flex flex-row gap-4 ") {
|
||||
img(src: "/static/img/calendar.svg", width: "40")
|
||||
@@ -66,7 +66,7 @@ func renderYear<T>(context: PartitionedRenderingContext<T, ArticleMetadata>) ->
|
||||
}
|
||||
|
||||
private func yearHeader(_ year: String) -> Node {
|
||||
div(class: "border-b border-light pt-6 w-full") {
|
||||
div(class: "pt-6 w-full") {
|
||||
div(class: "px-6 flex flex-row gap-4 ") {
|
||||
img(src: "/static/img/calendar.svg", width: "40")
|
||||
h1(class: "text-4xl font-extrabold pt-3") { year }
|
||||
|
||||
Reference in New Issue
Block a user