From 641d201aeea77a7da0eb9e26c13eabdcff95219d Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 11 Sep 2024 18:17:44 +0200 Subject: [PATCH] fix(auth): refactor ui to delete account #164 --- template/auth/user.templ | 26 ++++++++++++++++++++++++-- template/layout.templ | 2 +- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/template/auth/user.templ b/template/auth/user.templ index 4b639be..d9ebccd 100644 --- a/template/auth/user.templ +++ b/template/auth/user.templ @@ -3,8 +3,30 @@ package auth templ UserComp(user string) {
if user != "" { - Sign Out -

{ user }

+
+ + +
} else { Sign Up Sign In diff --git a/template/layout.templ b/template/layout.templ index e5b6d36..f118a81 100644 --- a/template/layout.templ +++ b/template/layout.templ @@ -15,7 +15,7 @@ templ Layout(slot templ.Component, user templ.Component) {