-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added role default layout to match guide. Added roles sidebar to role…
… pages. Updated designer page to use new layout and redirect the old page. Updated roles landing page.
- Loading branch information
Showing
4 changed files
with
50 additions
and
21 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
layout: default | ||
main: | ||
class: | ||
--- | ||
{% include breadcrumbs.html %} | ||
</div> | ||
<div class="guide-main"> | ||
<div class=""> | ||
<div class="grid-container"> | ||
<div class="grid-row grid-gap"> | ||
{% assign sidenav = site.data.navigation[page.sidenav] | default: page.sidenav %} | ||
{% if sidenav %} | ||
<div class="usa-layout-docs__sidenav desktop:grid-col-3{% if page.sticky_sidenav %} usa-sticky-sidenav{% endif %}"> | ||
{% include sidenav-roles.html links=sidenav %} | ||
</div> | ||
{% endif %} | ||
<div class="usa-layout-docs anchor-links usa-layout-docs__main usa-prose{% if sidenav %} desktop:grid-col-9{% endif %}"> | ||
{% if page.title %} | ||
<h1>{{ page.title }}</h1> | ||
{% endif %} | ||
<!-- content --> | ||
{% include anchor_headings.html html=content anchorBody="<span aria-hidden='true'> | ||
<svg class='usa-icon' aria-hidden='true' focusable='false' role='img'><use xlink:href='/assets/uswds-icons/sprite.svg#link'></use></svg> | ||
</span><span class='sr-only'>Anchor link</span>" anchorClass="anchor-link" anchorAttrs="aria-labelledby=%html_id%" h_max=3 %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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
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