From 8f2c1a439644671f80987d18441ac4c70a3bc3e1 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Thu, 11 Apr 2024 14:53:52 +0200 Subject: [PATCH] Remove alpine js --- components/user.templ | 34 ++++------------------------------ views/layout/base.layout.templ | 1 - 2 files changed, 4 insertions(+), 31 deletions(-) diff --git a/components/user.templ b/components/user.templ index 3b2c9cb..6e7ae3e 100644 --- a/components/user.templ +++ b/components/user.templ @@ -9,7 +9,7 @@ import ( "github.com/logto-io/go/core" ) -var GravatarTemplate = template.Must(template.New("gravatar").Parse("
")) +var GravatarTemplate = template.Must(template.New("gravatar").Parse("
")) func GetGravatarURL(email string, size uint) string { email = strings.TrimSpace(strings.ToLower(email)) @@ -19,39 +19,13 @@ func GetGravatarURL(email string, size uint) string { } templ User(claims *core.IdTokenClaims) { -
- + } diff --git a/views/layout/base.layout.templ b/views/layout/base.layout.templ index aa85947..ede8969 100644 --- a/views/layout/base.layout.templ +++ b/views/layout/base.layout.templ @@ -18,7 +18,6 @@ templ Base(title, version string) { -