Skip to content

Commit

Permalink
Merge pull request #499 from GSA-TTS/np/LG-14296/portal-button
Browse files Browse the repository at this point in the history
Adding dashboard button on desktop/mobile
  • Loading branch information
nprimak authored Sep 27, 2024
2 parents 7f9cf63 + ebe1293 commit 44784f2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@
<em class="usa-logo__text">Developers</em>
</a>
</div>
<section class="desktop:display-block mobile:display-none" aria-label="Search component">
{% include search.html id="header-nav" %}
</section>
<button class="usa-menu-btn">Menu</button>
</div>
<nav role="navigation" class="usa-nav border-top-none">
Expand All @@ -112,18 +115,21 @@
<use xlink:href="/assets/img/sprite.svg#close"></use>
</svg>
</button>
<div class="usa-nav__secondary">
<ul class="usa-nav__secondary-links"></ul>
<section aria-label="Search component">
<div class="usa-nav__secondary desktop:padding-right-2">
<section class="mobile:display-block desktop:display-none" aria-hidden="true">
{% include search.html id="header-nav" %}
</section>
</div>
<ul class="usa-nav__primary usa-accordion">
<ul class="usa-nav__primary usa-accordion flex-justify">
<a href="https://dashboard.int.identitysandbox.gov/" class="mobile:display-block desktop:display-none usa-button flex-align-self-center" type="button">Go to Dashboard</a>
{% include nav/list.html
links = site.data.nav.primary
li_class = 'usa-nav__primary-item'
subnav_ul_class = 'desktop:display-none usa-sidenav__sublist'
%}
<div class="desktop:margin-right-neg-2 grid-row flex-fill flex-justify-end">
<a href="https://dashboard.int.identitysandbox.gov/" class="mobile:display-none desktop:display-inline usa-button flex-align-self-center" type="button">Go to Dashboard</a>
</div>
</ul>
</div>
</nav>
Expand Down

0 comments on commit 44784f2

Please sign in to comment.