Added email and phone support in navmenu. TODO: language picker
This commit is contained in:
parent
707a0a5ab6
commit
42e82afb0b
@ -457,6 +457,11 @@ input:checked + .slider:before {
|
||||
border-bottom:8px solid #006f18;
|
||||
}
|
||||
|
||||
#nav p { /* For email and phone for example */
|
||||
color:#FFF;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#nav ul { /*lista stílus igazítás*/
|
||||
padding:0;
|
||||
margin:0;
|
||||
|
@ -20,6 +20,9 @@
|
||||
<li><a href="#"><i class="fas fa-envelope-square"></i><Br/>{{ section.contact_text }}</a>
|
||||
<ul>
|
||||
{% if section.facebook %}
|
||||
<li><a href="mailto:{{ section.email }}"><i class="fas fa-envelope-square"></i>Email</a></li>
|
||||
{% endif %}
|
||||
{% if section.facebook %}
|
||||
<li><a href="{{section.facebook}}"><i class="fab fa-facebook"></i>Facebook</a></li>
|
||||
{% endif %}
|
||||
{% if section.linkedin %}
|
||||
@ -33,6 +36,12 @@
|
||||
{% endif %}
|
||||
</ul>
|
||||
</li>
|
||||
{% if section.email or section.phone %}
|
||||
<li>
|
||||
<p>{{ section.email }}</p>
|
||||
<p>{{ section.phone }}</p>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
</section>
|
||||
|
Loading…
x
Reference in New Issue
Block a user