This commit is contained in:
Hubert Van De Walle 2020-08-22 03:10:04 +02:00
parent 97ea331c51
commit 7d833e48e1

View File

@ -9,7 +9,10 @@ import org.intellij.lang.annotations.Language
class BaseView(staticFileResolver: StaticFileResolver) : View(staticFileResolver) {
fun renderHome(jwtPayload: JwtPayload?) = renderPage(title = "Home", jwtPayload = jwtPayload) {
section("text-center my-2 p-2") {
h1("text-5xl") { +"Access your notes anywhere" }
h1("text-5xl") {
span("text-teal-300") { +"Simplenotes " }
+"- access your notes anywhere"
}
}
div("container mx-auto flex flex-wrap justify-center content-center") {
@ -88,7 +91,7 @@ class BaseView(staticFileResolver: StaticFileResolver) : View(staticFileResolver
div("m-4 rounded-lg p-6") {
p("text-teal-400") {
h2("text-3xl text-teal-400 underline") { +"Features:" }
ul("list-disc") {
ul("list-disc text-lg") {
li { +"Markdown support" }
li { +"Full text search" }
li { +"Structured search" }