<header class="sl-o-brand-header">
<a href="#" class="sl-c-brand sl-o-brand-header__home-link">
<img alt="Raspberry Pi Logo" class="sl-c-brand__logomark" src="../../assets/images/components/slash-learning-components/brand/logomark.svg">
<span class="sl-c-brand__title">Raspberry Pi </span>
<span class="sl-c-brand__appendix">Learning Resources</span>
</a>
<ul class="sl-c-nav-list sl-o-brand-header__nav-list">
<li class="sl-c-nav-list__item"><a href="#" class="sl-c-nav-list__link">Help</a></li>
<li class="sl-c-nav-list__item"><a href="#" class="sl-c-nav-list__link">Teach</a></li>
<li class="sl-c-nav-list__item"><a href="#" class="sl-c-nav-list__link sl-c-nav-list__link--current">Learn</a></li>
<li class="sl-c-nav-list__item"><a href="#" class="sl-c-nav-list__link">Make</a></li>
</ul>
</header>
<header class="sl-o-brand-header">
{{> @sl-c-brand object_modifier='sl-o-brand-header__home-link' }}
{{> @sl-c-nav-list object_modifier='sl-o-brand-header__nav-list' }}
</header>
/* No context defined for this component. */
.sl-o-brand-header {
@include clearfix;
background: $white;
padding: 6px 12px;
@include respond-to('medium') {
padding: 10px 26px 20px;
}
@include respond-to('wide') {
padding: 10px 40px;
}
}
.sl-o-brand-header__home-link {
float: left;
}
.sl-o-brand-header__nav-list {
display: none;
@include respond-to('narrow') {
display: block;
float: right;
}
}
There are no notes for this item.