From a21743a45100df8e3122dacc610652fe8a543653 Mon Sep 17 00:00:00 2001 From: dtonon Date: Mon, 31 Mar 2025 13:21:04 +0200 Subject: [PATCH] Update the base font size for event pages --- embedded_page.templ | 2 +- embedded_profile.templ | 2 +- error.templ | 2 +- event_page.templ | 2 +- other.templ | 2 +- profile.templ | 2 +- relay.templ | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/embedded_page.templ b/embedded_page.templ index e9b45a1..878efcc 100644 --- a/embedded_page.templ +++ b/embedded_page.templ @@ -5,7 +5,7 @@ templ embeddedPageTemplate( NeventNaked string, ) { - + diff --git a/embedded_profile.templ b/embedded_profile.templ index ca529ca..96fe0ec 100644 --- a/embedded_profile.templ +++ b/embedded_profile.templ @@ -2,7 +2,7 @@ package main templ embeddedProfileTemplate(params ProfilePageParams) { - + diff --git a/error.templ b/error.templ index e130ea9..26811cc 100644 --- a/error.templ +++ b/error.templ @@ -37,7 +37,7 @@ func (e *ErrorPageParams) MessageHTML() template.HTML { templ errorTemplate(params ErrorPageParams) { - + Error diff --git a/event_page.templ b/event_page.templ index 519d8a9..d6eaff7 100644 --- a/event_page.templ +++ b/event_page.templ @@ -8,7 +8,7 @@ templ eventPageTemplate( details DetailsParams, event EnhancedEvent, ) { - + { title } diff --git a/other.templ b/other.templ index df0a39e..620f7f8 100644 --- a/other.templ +++ b/other.templ @@ -13,7 +13,7 @@ type OtherPageParams struct { templ otherTemplate(params OtherPageParams) { - + Nostr Event { strconv.Itoa(params.Kind) } - { params.KindDescription } diff --git a/profile.templ b/profile.templ index be470a8..80c0051 100644 --- a/profile.templ +++ b/profile.templ @@ -28,7 +28,7 @@ type ProfilePageParams struct { templ profileTemplate(params ProfilePageParams) { - + if params.Metadata.Name != "" && params.Metadata.DisplayName != "" { diff --git a/relay.templ b/relay.templ index 8b7cf9b..ea62f78 100644 --- a/relay.templ +++ b/relay.templ @@ -15,7 +15,7 @@ type RelayPageParams struct { templ relayTemplate(params RelayPageParams) { - + Nostr Relay { params.Hostname } - { params.Info.Name }