add icon to header.

This commit is contained in:
fiatjaf 2023-04-05 16:55:12 -03:00
parent 29a3183d33
commit da696db5eb
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1
2 changed files with 9 additions and 2 deletions

View File

@ -4,4 +4,4 @@ A toolkit for debugging all things Nostr as a webpage.
![](https://user-images.githubusercontent.com/1653275/227681805-0cd20b39-de0d-4fcb-abb4-de3283404e8f.png)
Made with [Scala](https://scala-lang.org/) and [Calico](https://www.armanbilge.com/calico/).
Made with [Scala](https://scala-lang.org/) and [Calico](https://www.armanbilge.com/calico/). Icon by [Smashicons](https://www.flaticon.com/free-icons/switzerland).

View File

@ -21,7 +21,14 @@ object Main extends IOWebApp {
cls := "flex w-full h-full flex-col items-center justify-center",
div(
cls := "w-4/5",
h1(cls := "px-1 py-2 text-center text-xl", "nostr army knife"),
h1(
cls := "px-1 py-2 text-center text-xl",
img(
cls := "inline-block w-8 mr-2",
src := "/favicon.ico"
),
"nostr army knife"
),
div(
cls := "flex my-3",
input(store),