This commit is contained in:
@@ -46,12 +46,15 @@ extension HomeLink: NodeConvertible {
|
||||
}
|
||||
|
||||
private func internalLink() -> Node {
|
||||
a(class: "bg-orange-400 border-2 border-green-600 p-4 rounded-lg [&:hover]:bg-orange-500", href: href) {
|
||||
a(
|
||||
class: "bg-orange-400 border-2 border-green-600 p-4 rounded-lg [&:hover]:bg-orange-500",
|
||||
href: href
|
||||
) {
|
||||
div(class: "flex text-3xl") {
|
||||
i(class: "mt-1", customAttributes: ["data-lucide": icon])
|
||||
p(class: "ps-2") { title }
|
||||
span(class: "ps-2") { title }
|
||||
}
|
||||
p(class: "text-sm") { description }
|
||||
span(class: "text-sm") { description }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,9 +67,9 @@ extension HomeLink: NodeConvertible {
|
||||
) {
|
||||
div(class: "flex text-3xl") {
|
||||
i(class: "mt-1", customAttributes: ["data-lucide": icon])
|
||||
p(class: "ps-2") { title }
|
||||
span(class: "ps-2") { title }
|
||||
}
|
||||
p(class: "text-sm") { description }
|
||||
span(class: "text-sm") { description }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user