From 2b9c45d854bd9c60f3054aaa57c9cd9b2b2aa5ce Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Tue, 24 Oct 2023 20:06:24 -0300 Subject: [PATCH] tailwind .label --- static/styles.scss | 6 ------ templates/details.html | 6 +++--- templates/note.html | 4 ++-- templates/other.html | 2 +- templates/profile.html | 8 ++++---- templates/relay.html | 8 ++++---- 6 files changed, 14 insertions(+), 20 deletions(-) diff --git a/static/styles.scss b/static/styles.scss index 5f43cd4..612a32d 100644 --- a/static/styles.scss +++ b/static/styles.scss @@ -245,12 +245,6 @@ body { border: 1px solid $color-accent1; } } - .label { - font-size: 0.8rem; - @include themed() { - color: t($accent1); - } - } blockquote { @include themed() { border-left: 0.5rem solid t($over-bg); diff --git a/templates/details.html b/templates/details.html index c44d9d8..49888ca 100644 --- a/templates/details.html +++ b/templates/details.html @@ -35,12 +35,12 @@
-
Published at
+
Published at
{{.CreatedAt}}
-
Kind type
+
Kind type
{{.Kind}} {{ if not (eq .KindNIP "")}} - {{.KindDescription}} -
Address Code
+
Address Code
{{.Nevent}}
{{ end }} diff --git a/templates/note.html b/templates/note.html index 287dd65..1673654 100644 --- a/templates/note.html +++ b/templates/note.html @@ -116,13 +116,13 @@ >
-
Author Public key
+
Author Public key
{{.Npub}}
{{ if not (eq 0 (len .SeenOn)) }}
-
Seen on
+
Seen on
{{ range .SeenOn }}{{.}} {{ end }}
diff --git a/templates/other.html b/templates/other.html index 4433585..c33fe9e 100644 --- a/templates/other.html +++ b/templates/other.html @@ -31,7 +31,7 @@ >
-
Author Public key
+
Author Public key
{{.Npub}}
diff --git a/templates/profile.html b/templates/profile.html index 08dd85a..61bfdab 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -86,21 +86,21 @@ class="h-1.5 mb-6 -ml-4 sm:-ml-2.5 bg-zinc-100 dark:bg-stone-800 w-1/3" >
-
Public key
+
Public key
{{.Npub}}
-
NIP-05
+
NIP-05
{{.Metadata.NIP05}}
-
LN Address
+
LN Address
{{.Metadata.LUD16}}
{{ if not (eq 0 (len .AuthorRelays)) }}
-
Posting on these relays
+
Posting on these relays
{{range $index, $element := .AuthorRelays}} {{$element}} {{end}} diff --git a/templates/relay.html b/templates/relay.html index c46e108..01a8cac 100644 --- a/templates/relay.html +++ b/templates/relay.html @@ -77,14 +77,14 @@ {{ if not (eq "" .Info.PubKey) }}
-
Public Key
+
Public Key
{{.Info.PubKey}}
{{ end }} {{ if not (eq "" .Info.Contact) }}
-
Contact
+
Contact
{{.Info.Contact}}
{{ end }} @@ -101,7 +101,7 @@ href="/{{$ee.Nevent}}" >
{{$ee.CreatedAtStr}}

@@ -113,7 +113,7 @@
by {{$ee.NpubShort}}