package users import ( "git.jamestombleson.com/jtom38/newsbot-portal/templ-bulma" "git.jamestombleson.com/jtom38/newsbot-portal/internal/models" ) // This is returned after the user logs into the application. // It just returns a partial view because it will overlap with the existing template. templ AfterLogin(vm models.AfterLoginViewModel) { if vm.Success { @bulma.Notification(vm.Message, bulma.ColorSuccess) } else { @bulma.Notification(vm.Message, bulma.ColorError) } }