-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#438: Creation of Mobile Navigation Menu
- WIP
- Loading branch information
Showing
2 changed files
with
71 additions
and
4 deletions.
There are no files selected for viewing
55 changes: 53 additions & 2 deletions
55
src/app/core/layout/header/mobile-nav/mobile-nav.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,66 @@ | ||
<div class="collapse" id="navbarToggleExternalContent" data-bs-theme="dark"> | ||
<div class="navbarToggle bg-black p-4"> | ||
<li class="nav-link mt-3">item menu</li> | ||
<li class="nav-link">item menu</li> | ||
<li class="nav-link">item menu</li> | ||
<li class="nav-link">item menu</li> | ||
<span class="text-body-secondary">Toggleable via the navbar brand.</span> | ||
</div> | ||
</div> | ||
|
||
|
||
<nav class="navbar navbar-expand-md align-items-center"> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" | ||
|
||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarToggleExternalContent" | ||
aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<!--No desenvolupo perquè a Figma encara no hi ha disseny d'aquesta part--> | ||
<div class="collapse navbar-collapse" id="navbarNavDropdown"> | ||
<!--<div class="collapse navbar-collapse" id="navbarNavDropdown"> | ||
<ul class="navbar-nav"> | ||
<li class="nav-link">item menu</li> | ||
</ul> | ||
</div>--> | ||
|
||
<!--<div class="offcanvas offcanvas-top bg-black" id="collapse" aria-labelledby="offcanvasTopLabel"> | ||
<div class="offcanvas-header"> | ||
<h5 class="offcanvas-title" id="offcanvasTopLabel">Offcanvas top</h5> | ||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Toggle navigation"></button> | ||
</div> | ||
<div class="offcanvas-body"> | ||
<li class="nav-link">item menu</li> | ||
<li class="nav-link">item menu</li> | ||
<li class="nav-link">item menu</li> | ||
<li class="nav-link">item menu</li> | ||
</div> | ||
</div> | ||
<a class="navbar-brand" href="#">Navbar</a> | ||
<div class="collapse navbar-collapse bg-black mx-0" id="navbarToggler"> | ||
<ul class="navbar-nav me-auto mb-2 mb-lg-0"> | ||
<li class="nav-item"> | ||
<a class="nav-link active text-white" aria-current="page" href="#">Home</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link text-white" href="#">Link</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link text-white" aria-disabled="true">Disabled</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link text-white" aria-disabled="true">Disabled</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link text-white" aria-disabled="true">Disabled</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link text-white" aria-disabled="true">Disabled</a> | ||
</li> | ||
</ul> | ||
</div>--> | ||
|
||
|
||
<span class="breadcrumb">{{ "modules.starter.main.section2.title" | translate }}</span> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters