{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<div class="fixed">
{% if is_granted('ROLE_USER') %}
<a class="fixed__btn _login" href="{{ url('mypage') }}">
<img src="{{ asset('assets/img/icon/ico_man.png','user_data') }}" alt="">
<span>
マイページ
</span>
</a>
<a class="fixed__btn _logout" href="{{ url('logout') }}">
<img src="{{ asset('assets/img/icon/ico_logout.png','user_data') }}" alt="">
<span>
ログアウト
</span>
</a>
<a class="fixed__btn _cart" href="{{ url('cart') }}">
<img src="{{ asset('assets/img/icon/ico_cart.png','user_data') }}" alt="">
<span>
カート
</span>
</a>
{% else %}
<a class="fixed__btn _login" href="{{url( 'mypage_login') }}">
<img src="{{ asset('assets/img/icon/ico_man.png','user_data') }}" alt="">
<span>
ログイン
</span>
</a>
<a class="fixed__btn _cart" href="{{ url('cart') }}">
<img src="{{ asset('assets/img/icon/ico_cart.png','user_data') }}" alt="">
<span>
カート
</span>
</a>
{% endif %}
</div>