Merge branch 'language-switcher-footer' into 'master'
Language switcher footer See merge request agaric/patternlibrary!10
This commit is contained in:
commit
f3e8858dc5
5 changed files with 12 additions and 12 deletions
|
@ -7640,9 +7640,6 @@ a.navbar-link.is-active {
|
|||
a.navbar-link.is-active:focus::before {
|
||||
display: none; } }
|
||||
|
||||
a.language-link.navbar-item.is-active {
|
||||
display: none; }
|
||||
|
||||
@media screen and (min-width: 769px), print {
|
||||
.navbar-item.has-dropdown:hover .navbar-link,
|
||||
.navbar-item.has-dropdown:focus .navbar-link,
|
||||
|
|
|
@ -234,10 +234,6 @@ a.navbar-link.is-active {
|
|||
}
|
||||
}
|
||||
|
||||
a.language-link.navbar-item.is-active {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.navbar-item.has-dropdown:hover .navbar-link,
|
||||
.navbar-item.has-dropdown:focus .navbar-link,
|
||||
.navbar-item.has-dropdown.is-active .navbar-link {
|
||||
|
|
8
agaric/templates/block/block--languageswitcher.html.twig
Normal file
8
agaric/templates/block/block--languageswitcher.html.twig
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{ title_prefix }}
|
||||
{% if label %}
|
||||
{{ label }}
|
||||
{% endif %}
|
||||
{{ title_suffix }}
|
||||
{% block content %}
|
||||
{{ content }}
|
||||
{% endblock %}
|
|
@ -1,5 +0,0 @@
|
|||
{% if links -%}
|
||||
{%- for item in links -%}
|
||||
{{ item.link }}
|
||||
{%- endfor -%}
|
||||
{%- endif %}
|
|
@ -11,6 +11,10 @@
|
|||
<div class="column footer-logo is-half">
|
||||
<a href="#" title="Back to top" aria-label="Back to top"><span class="icon"><i class="agc agc-logo"></i></span></a>
|
||||
</div>
|
||||
<div class="column">
|
||||
{{ language_switcher_link }}
|
||||
{#{{ language_switcher }}#}
|
||||
</div>
|
||||
<div class="column">
|
||||
Agaric LLC<br>Boston, MA 02134
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue