Skip to content

Commit

Permalink
Created Login.
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcanosantana committed Nov 25, 2023
1 parent 7b11be1 commit eaf2978
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Layout/NavBar.razor
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</li>

<li class="nav-item">
<NavLink class="nav-link" href="t4r">
<NavLink class="nav-link" href="login">
Iniciar Sesión
</NavLink>
</li>
Expand Down
19 changes: 19 additions & 0 deletions Pages/Login.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@page "/login"

<PageTitle>Login</PageTitle>

<h1>Login</h1>

<p role="status">Current count: @currentCount</p>

<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>

@code {
private int currentCount = 0;

private void IncrementCount()
{
currentCount++;
}
}

0 comments on commit eaf2978

Please sign in to comment.