mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
33 lines
1.6 KiB
Twig
33 lines
1.6 KiB
Twig
<div class="col-12 navbar-dark py-2 d-md-none profile-nav-toggler">
|
|
<button class="rounded-circle p-2" id="navbarSideButton" type="button">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
</div>
|
|
<div class="col-10 col-sm-6 col-md-3 profile-navigation border rounded navbar-side bg-white" id="navbarSide">
|
|
<a href="{{ url_route('profile::profile') }}" class="px-3 mb-2 link-unstyled">
|
|
<img src="{{ img('visiosoft.module.profile::images/interface.svg').url }}">
|
|
<p>{{ auth_user().name }}</p>
|
|
</a>
|
|
<hr class="mt-2">
|
|
<a href="{{ url_route('profile::profile') }}"
|
|
class="px-3 link-unstyled{{ app.request.pathinfo == '/profile' ? ' active' : '' }}">
|
|
<img src="{{ img('visiosoft.module.profile::images/social-media.svg').url }}">
|
|
<p>{{ trans('visiosoft.module.profile::addon.title') }}</p>
|
|
</a>
|
|
<a href="{{ url_route('profile::ads') }}"
|
|
class="px-3 link-unstyled{{ app.request.pathinfo == '/profile/ads' ? ' active' : '' }}">
|
|
<img src="{{ img('visiosoft.module.profile::images/website.svg').url }}">
|
|
<p>{{ trans('visiosoft.module.advs::addon.title') }}</p>
|
|
</a>
|
|
<a href="{{ url_route('profile::address') }}"
|
|
class="px-3 link-unstyled{{ app.request.pathinfo == '/profile/address' ? ' active' : '' }}">
|
|
<img src="{{ img('visiosoft.module.profile::images/location.svg').url }}">
|
|
<p>{{ trans('visiosoft.module.profile::stream.adress.name') }}</p>
|
|
</a>
|
|
|
|
{{ addBlock('profile/navigation')|raw }}
|
|
</div>
|
|
|
|
<div class="overlay"></div>
|
|
|
|
{{ asset_add("scripts.js", "visiosoft.module.profile::assets/js/profile-nav.js") }} |