From 19456eadd8815e806f97ca747a13a316448fd8dd Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Wed, 3 Apr 2024 15:34:00 +0200 Subject: [PATCH] Move user info --- components/user.templ | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/components/user.templ b/components/user.templ index 2a270e8..b9f8377 100644 --- a/components/user.templ +++ b/components/user.templ @@ -23,15 +23,15 @@ templ User(authCtx *openid.UserInfoContext[*oidc.IDTokenClaims, *oidc.UserInfo]) class="relative" >
+
{ string(unicode.ToUpper(rune(authCtx.UserInfo.Name[0]))) }
-
-
{ authCtx.UserInfo.Name }
-
{ authCtx.UserInfo.Email }
-