Skip to content

Commit

Permalink
Revert "Updated navbar."
Browse files Browse the repository at this point in the history
This reverts commit bfa52c1.
  • Loading branch information
miguelcanosantana committed Nov 25, 2023
1 parent bfa52c1 commit 961c3cf
Show file tree
Hide file tree
Showing 2,058 changed files with 1 addition and 11,319 deletions.
53 changes: 1 addition & 52 deletions Layout/NavBar.razor
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<link rel="stylesheet" href="~/css/bootstrap/bootstrap.min.css" />
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet" />


<style>
Expand Down Expand Up @@ -34,57 +32,8 @@
</div>
</nav>

<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<div class="container-fluid">

<a href="#"><img src="/Images/CirsaLogo.svg" alt="Bootstrap" width="160" height="50"></a>

<button class="navbar-toggler @NavButtonCssClass" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse"
aria-controls="navbarCollapse" aria-label="Toggle navigation" @onclick="ToggleNavMenu">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse @NavBarCssClass" id="navbarCollapse" @onclick="ToggleNavMenu">
<ul class="navbar-nav me-auto mb-2 mb-md-0">

<li class="nav-item">
<NavLink class="nav-link" href="" Match="NavLinkMatch.All">
Inicio
</NavLink>
</li>

<li class="nav-item">
<NavLink class="nav-link" href="counter">
Crear Cuenta de Afiliado
</NavLink>
</li>

<li class="nav-item">
<NavLink class="nav-link" href="fetchdata">
Iniciar Sesión
</NavLink>
</li>

<li class="nav-item">
<NavLink class="nav-link" href="fetchdata">
Panel Administrativo
</NavLink>
</li>

</ul>
</div>
</div>
</nav>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>

@code {
private bool isCollapsed = true;
private string? NavBarCssClass => isCollapsed ? null : "show";
private string? NavButtonCssClass => isCollapsed ? "collapsed" : null;

private void ToggleNavMenu()
{
isCollapsed = !isCollapsed;
}
}
}
4 changes: 0 additions & 4 deletions libman.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@
"js/bootstrap.min.js",
"js/bootstrap.min.js.map"
]
},
{
"library": "[email protected]",
"destination": "wwwroot/bootstrap-icons/"
}
]
}
1 change: 0 additions & 1 deletion wwwroot/bootstrap-icons/bootstrap-icons.svg

This file was deleted.

Loading

0 comments on commit 961c3cf

Please sign in to comment.