Skip to content

Commit

Permalink
fim
Browse files Browse the repository at this point in the history
  • Loading branch information
EtoDoze committed Feb 16, 2025
1 parent 12f27e9 commit 47b1c7f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2 id="title" >iMenu</h2>
<div class="perfil_content">
<a href="#" class="logo-content flex">
<img id="perfil" src="images/perfil.png">
<p id="username">Nenhum</p>
<p id="username"></p>
</a>
<a href="cadastro.html"><button id="button-acount">Cadastrar</button></a>
<a href="login.html"> <button id="button-enter">Entrar</button> </a>
Expand Down
2 changes: 1 addition & 1 deletion js/server_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async function criaruser() {

if (response.ok) {
alert("Usuário criado com sucesso!");
window.location.href = "../index.html"
window.location.href = "../login.html"
} else {
alert("Erro ao criar usuário: " + data.message);
}
Expand Down
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
font-family: "Open Sans", sans-serif;
}

#username{
color: #000;
font-weight: bold;
}
.buttons_normais{
border-radius: 5px;
cursor: pointer;
Expand Down

0 comments on commit 47b1c7f

Please sign in to comment.