Improving pages title

This commit is contained in:
2024-05-17 20:15:32 +07:00
parent 7c24598cb1
commit fe6c3f7870
13 changed files with 28 additions and 28 deletions

View File

@ -61,7 +61,7 @@ func GET(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "/signup", http.StatusSeeOther)
return
}
component := authView.GoogleSetup("Setup page", types.Message{
component := authView.GoogleSetup("Filekeeper - Setup Page", types.Message{
Code: 3,
Message: "",
})
@ -91,7 +91,7 @@ func POST(w http.ResponseWriter, r *http.Request) {
isValid := utils.ValidatePassword(password)
if !isValid {
component := authView.GoogleSetup("Setup page", types.Message{
component := authView.GoogleSetup("Filekeeper - Setup Page", types.Message{
Code: 0,
Message: "Password is invalid",
})
@ -115,7 +115,7 @@ func POST(w http.ResponseWriter, r *http.Request) {
err = db.DB.CreateUser(&newUser)
if err != nil {
component := signupView.Main("Sign up Page", types.Message{
component := signupView.Main("Filekeeper - Sign up Page", types.Message{
Code: 0,
Message: "Email or Username has been registered",
})