{#
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="ec-headerLinkArea">
    <ul id="sp_menu" class="">
        <li><a class="" href="{{ url('homepage') }}">HOME</a></li>
        <li><a class="" href="{{ url('product_list') }}">商品一覧</a></li>
        <li><a class="" href="{{ url(eccube_config.eccube_user_data_route, {'route': 'about_chonaisaikin'}) }}">腸内細菌について</a></li>
        <li><a class="" href="{{ url(eccube_config.eccube_user_data_route, {'route': 'about_mamebio'}) }}">マメビオとは</a></li>
        <li><a class="" href="{{ url(eccube_config.eccube_user_data_route, {'route': 'media'}) }}">メディア掲載</a></li>
        <li><a class="" href="{{ url(eccube_config.eccube_user_data_route, {'route': 'shopping_guide'}) }}">お買い物ガイド</a></li>
        <li><a class="" href="{{ url(eccube_config.eccube_user_data_route, {'route': 'comment'}) }}">ご愛用者の声</a></li>
        <li><a class="" href="{{ url(eccube_config.eccube_user_data_route, {'route': 'faq'}) }}">よくある質問</a></li>
    </ul>
    <div class="ec-headerLink__list">
        <a class="ec-headerLink__item" href="{{ url('cart') }}">
            <div class="ec-headerLink__icon">
                <i class="fas fa-shopping-cart fa-fw"></i>
            </div>
            <span>{{ 'カートを見る'|trans }}</span>
        </a>
        {% if is_granted('ROLE_USER') %}
            <a class="ec-headerLink__item" href="{{ url('mypage') }}">
                <div class="ec-headerLink__icon">
                    <i class="fas fa-user fa-fw"></i>
                </div>
                <span>{{ 'マイページ'|trans }}</span>
            </a>
            {% if BaseInfo.option_favorite_product %}
                <a class="ec-headerLink__item" href="{{ url('mypage_favorite') }}">
                    <div class="ec-headerLink__icon">
                        <i class="fas fa-heart fa-fw"></i>
                    </div>
                    <span>{{ 'お気に入り'|trans }}</span>
                </a>
            {% endif %}
            <a class="ec-headerLink__item" href="{{ url('logout') }}">
                <div class="ec-headerLink__icon">
                    <i class="fas fa-lock fa-fw"></i>
                </div>
                <span>{{ 'ログアウト'|trans }}</span>
            </a>
        {% else %}
            <a class="ec-headerLink__item" href="{{ url('entry') }}">
                <div class="ec-headerLink__icon">
                    <i class="fas fa-user fa-fw"></i>
                </div>
                <span>{{ '新規会員登録'|trans }}</span>
            </a>
            {% if BaseInfo.option_favorite_product %}
                <a class="ec-headerLink__item" href="{{ url('mypage_favorite') }}">
                    <div class="ec-headerLink__icon">
                        <i class="fas fa-heart fa-fw"></i>
                    </div>
                    <span>{{ 'お気に入り'|trans }}</span>
                </a>
            {% endif %}
            <a class="ec-headerLink__item" href="{{ url('mypage_login') }}">
                <div class="ec-headerLink__icon">
                    <i class="fas fa-lock fa-fw"></i>
                </div>
                <span>{{ 'ログイン'|trans }}</span>
            </a>
        {% endif %}
        <!--<a class="ec-headerLink__item" href="{{ url('homepage') }}">
            <div class="ec-headerLink__icon">
                <i class="fas fa-home fa-fw"></i>
            </div>
            <span>{{ 'ホームに戻る'|trans }}</span>
        </a>-->
    </div>
</div>