From b9d1d1c1e1ca933829cb5cc5f97c5bb53ef57e27 Mon Sep 17 00:00:00 2001 From: Teajey <21069848+Teajey@users.noreply.github.com> Date: Mon, 8 Dec 2025 01:16:38 +0900 Subject: [PATCH] Remove account link from account page --- http/routing/account.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/http/routing/account.go b/http/routing/account.go index a6e163f..fdbb051 100644 --- a/http/routing/account.go +++ b/http/routing/account.go @@ -41,7 +41,10 @@ func (p *AccountProps) Validate() (valid bool) { func NewAccountProps(username string, passwordFromAdmin bool, passwordVal, confirmPassVal string) *AccountProps { return &AccountProps{ - Navbar: templates.UserNavCollapse(username, false), + Navbar: templates.NavCollapse{ + Links: []templates.Link{{Href: "/", Name: "Home"}}, + User: &templates.User{Name: username}, + }, PasswordFromAdmin: passwordFromAdmin, Password: templates.InputProps{ Type: "password",