nak/src/main/scala/Main.scala

15 lines
357 B
Scala
Raw Normal View History

2023-03-18 20:42:41 -04:00
import cats.effect.*
2023-03-18 19:41:54 -04:00
import calico.*
import calico.html.io.{*, given}
import calico.syntax.*
import fs2.dom.*
2023-03-18 17:07:07 -04:00
2023-03-18 19:41:54 -04:00
object Main extends IOWebApp {
def render: Resource[IO, HtmlDivElement[IO]] = div(
2023-03-18 20:42:41 -04:00
cls := "flex w-full h-full flex-col items-center justify-center",
h1(cls := "px-1 py-2 text-lg", "nostr army knife"),
2023-03-23 07:44:28 -04:00
Input(),
Generator()
2023-03-18 19:41:54 -04:00
)
}