Use btn css class
This commit is contained in:
@@ -11,17 +11,14 @@ fun BODY.navbar(jwtPayload: JwtPayload?) {
|
||||
li("inline text-gray-100 ml-2 text-md font-semibold") {
|
||||
a(href = "/notes") { +"Notes" }
|
||||
}
|
||||
li(
|
||||
"text-gray-800 bg-green-500 hover:bg-green-700" +
|
||||
" inline ml-2 text-md font-semibold rounded px-4 py-2"
|
||||
) {
|
||||
li("inline ml-2") {
|
||||
form(classes = "inline", action = "/logout", method = FormMethod.post) {
|
||||
button(type = ButtonType.submit) { +"Logout" }
|
||||
button(type = ButtonType.submit, classes = "btn btn-green") { +"Logout" }
|
||||
}
|
||||
}
|
||||
} else {
|
||||
li("inline text-gray-100 pl-2 text-md font-semibold") {
|
||||
a(href = "/login") { +"Sign In" }
|
||||
li("inline pl-2") {
|
||||
a(href = "/login", classes = "btn btn-green") { +"Sign In" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user