templates/blocks/nav-mobile.html.twig line 1
{% set mobileNav = [
{
'path': 'app_domain_name',
'icon': 'search',
'title': 'Domain Name'
},
{
'path': 'app_linux',
'icon': 'cloud',
'title': 'Web Hosting'
},
{
'path': 'app_wordpress_hosting',
'icon': 'wordpress',
'title': 'WordPress Hosting'
},
{
'path': 'app_vps_servers',
'icon': 'server',
'title': 'VPS Servers'
},
{
'path': 'app_dedicated_servers',
'icon': 'server',
'title': 'Dedicated Servers'
},
{
'path': 'app_services_seo',
'icon': 'search',
'title': 'SEO'
},
{
'path': 'app_services_smm',
'icon': 'share-alt',
'title': 'Social Media'
},
{
'path': 'app_littlepack',
'icon': 'package',
'title': 'Little Pack'
},
] %}
<div id="navMobile">
<ul>
{% for row in mobileNav %}
<li>
<a href="{{ path(row.path) }}" class="nav-mobile__link">
<div class="nav-mobile__icon">
<box-icon
size="md"
{% if row.icon == 'wordpress' %} type="logo"{% endif %}
{% if row.path == 'app_dedicated_servers' %} type="solid"{% endif %}
name="{{ row.icon }}"
></box-icon>
</div>
<div class="nav-mobile__title">
{{ row.title }}
</div>
</a>
</li>
{% endfor %}
</ul>
<ul class="submenu">
<li>
<a href="{{ path('app_stats') }}" class="submenu__stats">
<box-icon size="md" name="stats"></box-icon>
</a>
</li>
<li>
<a href="{{ path('app_green') }}" class="submenu__leaf">
<box-icon size="md" type="solid" name="leaf"></box-icon>
</a>
</li>
<li>
<a href="{{ path('app_support') }}" class="submenu__support">
<box-icon size="md" name="support"></box-icon>
</a>
</li>
<li>
<a href="" class="submenu__chat">
<box-icon size="md" type="solid" name="conversation"></box-icon>
</a>
</li>
<li>
<a href="{{ path('app_account_login') }}" class="submenu__user">
<box-icon size="md" name="user-circle"></box-icon>
</a>
</li>
</ul>
</div>