Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13825 from mtruj013/footer-refresh
Footer refresh
- Loading branch information
Showing
5 changed files
with
357 additions
and
431 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
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,20 +1,29 @@ | ||
<p class="p-footer--secondary__content"><small>© {{ current_year() }} Canonical Ltd. Ubuntu and Canonical are | ||
registered trademarks of Canonical Ltd.</small></p> | ||
<nav class="p-footer--secondary__nav"> | ||
<ul class="p-inline-list--middot u-no-margin--bottom"> | ||
<li class="p-inline-list__item"> | ||
<a class="p-link--soft" accesskey="8" href="/legal"><small>Legal information</small></a> | ||
</li> | ||
<li class="p-inline-list__item"> | ||
<a class="p-link--soft" accesskey="9" href="/legal/data-privacy"><small>Data privacy</small></a> | ||
</li> | ||
<li class="p-inline-list__item"> | ||
<a href="" class="p-link--soft js-revoke-cookie-manager"><small>Manage your tracker settings</small></a> | ||
</li> | ||
<li class="p-inline-list__item"> | ||
<a class="p-link--soft" href="https://github.com/canonical/ubuntu.com/issues/new" id="report-a-bug"> | ||
<small>Report a bug on this site</small> | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
<div class="row"> | ||
<hr class="p-rule is-muted" /> | ||
<div class="col-3 col-medium-2"> | ||
<p class="p-footer--secondary__content">© {{ current_year() }} Canonical Ltd. </p> | ||
</div> | ||
<div class="col-9 col-medium-4"> | ||
<p>Ubuntu and Canonical are registered trademarks of Canonical Ltd.</p> | ||
<hr class="p-rule is-muted" /> | ||
<nav class="p-footer--secondary__nav"> | ||
<ul class="p-inline-list--inline u-responsive-realign u-no-margin--left u-no-padding--left"> | ||
<li class="p-inline-list__item"> | ||
<a accesskey="8" href="/legal">Legal information</a> | ||
</li> | ||
<li class="p-inline-list__item"> | ||
<a accesskey="9" href="/legal/data-privacy">Data privacy</a> | ||
</li> | ||
<li class="p-inline-list__item"> | ||
<a href="" class="js-revoke-cookie-manager">Manage your tracker settings</a> | ||
</li> | ||
<li class="p-inline-list__item"> | ||
<a href="https://github.com/canonical/ubuntu.com/issues/new" id="report-a-bug"> | ||
Report a bug on this site | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
<li class="p-footer__item"> | ||
<h2 class="p-footer__title"> | ||
<a class="p-link--soft u-hide--small" href="{{ section.path }}">{{ section.title }}</a> | ||
<a class="p-link--soft u-hide--medium u-hide--large js-footer-accordion-cta" href="#" aria-controls="{{ section.path }}-footer-nav">{{ section.title }}</a> | ||
</h2> | ||
|
||
<ul class="second-level-nav" id="{{ section.path }}-footer-nav"> | ||
{% for child in section.children %} | ||
<div class="row"> | ||
<hr class="p-rule is-muted" /> | ||
<div class="col-3 col-medium-2"> | ||
<h2 class="p-heading--5"> | ||
<a class="u-hide--small" href="{{ section.path }}">{{ section.title }}</a> | ||
<a class="u-hide--medium u-hide--large js-footer-accordion-cta" href="#" aria-controls="{{ section.path }}-footer-nav">{{ section.title }}</a> | ||
</h2> | ||
</div> | ||
<div class="col-9 col-medium-4 u-hide--small"> | ||
<ul class="p-inline-list" id="{{ section.path }}-footer-nav"> | ||
{% for child in section.children %} | ||
{% if child.title != 'Overview' %} | ||
{% if not child.hidden %} | ||
<li><a href="{{ child.path }}">{{ child.title }}</a></li> | ||
<li class="p-inline-list__item"><a href="{{ child.path }}">{{ child.title }}</a></li> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</div> |
Oops, something went wrong.