{#
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.
#}
{% set categories = [
{
'name':'CONCEPT',
'href':'/help/about',
},
{
'name':'LINE UP',
'href':'/products/list',
},
{
'name':'海洋散骨',
'href':'/sea_burial',
},
{
'name':'SPECIAL',
'href':'/special',
},
{
'name':'ニュース',
'href':'/news',
},
{
'name':'ご利用ガイド',
'href':'/guide',
},
{
'name':'お問い合わせ',
'href':'/contact/other',
}
] %}
{% set guides = [
{
'name':'よくあるご質問',
'href':'/qa'
},
{
'name':'プライバシーポリシー',
'href':'/help/privacy'
},
{
'name':'会員規約',
'href':'/help/agreement'
},
{
'name':'特定商取引法に基づく表記',
'href':'/help/tradelaw'
},
{
'name':'サイトマップ',
'href':'/help/sitemap'
},
] %}
{% block main %}
<div class="flex">
<div class="bg-black w-[21.8vw]"></div>
<div
class="bg-white w-full pb-[136px]">
{# 閉じる #}
<div class="h-16 items-center justify-end flex border-b border-sub-gray">
<button class="relative js-hamburger-menu hover">
<img src="{{asset('assets/icon/close.svg')}}" alt="閉じる" class="w-8 h-8 mr-6">
</button>
</div>
{# ログインとカート #}
<div class="flex border-b border-sub-gray">
<div class="w-1/2 border-r border-sub-gray py-9 items-center justify-center">
<a href="{% if is_granted('ROLE_USER') %} /mypage {% else %} /mypage/login {% endif %}" class="flex flex-col justify-center items-center gap-2 hover">
<img src="{{asset('assets/icon/person.svg')}}" alt="ログインのアイコン" class="w-8 h-8">
{% if is_granted('ROLE_USER') %}
<p class="whitespace-nowrap text-xs leading-[18px]">マイページ</p>
{% else %}
<p class="whitespace-nowrap text-xs leading-[18px]">ログイン</p>
{% endif %}
</a>
</div>
<div class="w-1/2 border-r border-sub-gray py-9 items-center justify-center">
<a href="/cart" class="flex flex-col justify-center items-center gap-2 hover">
<img src="{{asset('assets/icon/shopping_cart.svg')}}" alt="カートのアイコン" class="w-8 h-8">
<p class="whitespace-nowrap text-xs leading-[18px]">カート</p>
</a>
</div>
</div>
{# カテゴリー #}
<ul class="leading-7 text-sm">
{% for category in categories %}
{# TODO:実装後リンク確認 #}
<li class="py-5 px-8 border-b border-sub-gray">
<a href={{category.href}} class="hover">{{category.name}}</a>
</li>
{% endfor %}
<li class=" {% if is_granted('ROLE_USER') %} block py-5 px-8 border-b border-sub-gray {% else %} hidden {% endif %}">
<a href="/logout" class="hover flex gap-1 items-center"><img src="{{asset('assets/icon/logout_icon.svg')}}" alt="ログアウトアイコン" class="w-[14px] h-[14px]"><p>ログアウト</p>
</a>
</li>
</ul>
<div class="pl-8 pr-6 pt-11 text-xs whitespace-nowrap">
<ul class="w-full flex flex-wrap gap-x-6 gap-y-4 pb-5">
{% for guide in guides %}
<li>
<a href={{guide.href}} class="hover">{{guide.name}}</a>
</li>
{% endfor %}
<div class="pb-10 flex gap-2 items-center">
<a href="http://manaka-ltd.jp/profile/" class="flex gap-1 items-center hover">
<p>会社概要</p>
<img src="{{asset('assets/icon/link.svg')}}" alt="会社概要">
</a>
</div>
</ul>
<p class="text-[8px] font-notoserif">© Itsukushi. by 株式会社まなか All Rights Reserved.</p>
</div>
</div>
</div>
{% endblock %}