<div class="">
<div class="old-browser-notice">
<p>You’re using a pretty old web browser. Some aspects of this site might not look or function quite right. Why not <a href="http://browsehappy.com/">grab the latest version of your favorite web browser here</a>?</p>
</div>
</div>
<header role="banner">
<div class="constrained">
<nav class="nav" role="navigation" aria-label="site">
<button hidden class="nav__menu-button">Menu</button>
<ul class="nav__items">
<li class="nav__item"><a class="nav__link" href="/"><img src="../../images/logo-full.svg" alt="Home"></a></li>
<li class="nav__item selected"><a class="nav__link" href="#">Link 1</a></li>
<li class="nav__item "><a class="nav__link" href="#">Link 2</a></li>
</ul>
</nav>
<script>
(function() {
if (window.matchMedia) {
var button = document.querySelector('[aria-label="site"] button');
var menu = button.nextElementSibling;
var menuItems = menu.querySelectorAll("li");
button.hidden = false;
button.addEventListener('click', function() {
var expanded = this.getAttribute('aria-expanded') === 'true';
expandMenu(!expanded)
});
function expandMenu(expand) {
button.setAttribute('aria-expanded', String(expand));
for (var i = 0; i < menuItems.length; i++) {
if (i != 0) {
menuItems[i].hidden = !expand;
}
}
}
function handleResize() {
expandMenu(!mql.matches);
}
var mql = window.matchMedia("(max-width: 767px)");
mql.addListener(handleResize);
if (mql.matches) {
button.setAttribute('aria-expanded', 'false');
expandMenu(false);
}
}
})();
</script>
</div>
</header>
<main id="main">
<div class="constrained constrained--padded">
<p>This is a sample page template. It includes the header from <code>structures/header</code> and the footer from <code>structures/footer</code></p>
</div>
</main>
<footer role="contentinfo">
<div class="constrained">
<p class="centered fineprint">Springboard footer © this year</p>
</div>
</footer>
{{> @old-browser-notice }}
{{ render '@header' }}
<main id="main">
<div class="constrained constrained--padded">
<p>This is a sample page template. It includes the header from <code>structures/header</code> and the footer from <code>structures/footer</code></p>
</div>
</main>
{{> @footer }}
/* No context defined for this component. */
A sample page template composed of smaller patterns.