{#
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.
#}
{% block stylesheet %}
<style>
.ec-categoryNaviRole {
background-color:#abcd03;
max-width: 100%;
}
.ec-itemNav.pc-nav{
height: 47px;
}
.ec-itemNav__nav li a {
background-color:#abcd03;
color: #374700;
height: 47px;
}
li.ec-globalNavi__link a:hover{
background-color:#C1E706;
height: 47px;
}
.hd_dotline{
background-color:#abcd03;
border-top: dashed #fff 2px;
height:7px;
}
</style>
{% endblock %}
{% set Categories = repository('Eccube\\Entity\\Category').getList() %}
{% macro tree(Category) %}
{% from _self import tree %}
<a href="{{ url('product_list') }}?category_id={{ Category.id }}">
{{ Category.name }}
</a>
{% if Category.children|length > 0 %}
<ul>
{% for ChildCategory in Category.children %}
<li>
{{ tree(ChildCategory) }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endmacro %}
{# @see https://github.com/bolt/bolt/pull/2388 #}
{% from _self import tree %}
<div class="ec-categoryNaviRole">
<div class="ec-itemNav pc-nav">
<ul class="ec-itemNav__nav">
<li class="ec-globalNavi__link">
<a href="{{ url('user_data', {'route': 'about_kofun'}) }}">{{ '古墳墓とは'|trans }}</a>
</li>
<li class="ec-globalNavi__link">
<a href="{{ url('product_list') }}?category_id=1">{{ '販売中の古墳'|trans }}</a>
</li>
<li class="ec-globalNavi__link">
<a href="{{ url('user_data', {'route': 'planning'}) }}">{{ '計画中の古墳'|trans }}</a>
</li>
<li class="ec-globalNavi__link">
<a href="{{ url('faq') }}">{{ 'よくある質問'|trans }}</a>
</li>
</ul>
</div>
</div>
<div class="hd_dotline"> </div>