{% set aside_items = [
{
key: "{^/company}",
href: path('company_index'),
japanese: '会社概要',
english: 'COMPANY',
},
{
key: "{^/message}",
href: path('message_index'),
japanese: 'メッセージ',
english: 'MESSAGE',
},
{
key: "{^/staff}",
href: path('staff_index'),
japanese: 'スタッフ紹介',
english: 'STAFF',
},
{
key: "{^/news}",
href: path('news_index'),
japanese: 'お知らせ',
english: 'NEWS',
},
]%}
<section class="l-aside">
<div class="l-aside_inner">
<div class="l-aside_logo">
<a class="l-aside_logo__anchor" href="{{ path('top') }}">
<img src="{{ asset('build/images/common/logo.png') }}" alt="ふじきっちん">
<span class="l-aside_logo_text">FUJI KITCHEN</span>
</a>
</div>
<ul class="l-aside_list">
{% for item in aside_items %}
<li class="l-aside_list-item">
<a class="l-aside_list-item_anchor{% if app.request.requestUri matches item.key %} active{% endif %}" href="{{ item.href }}">
<span class="l-aside_list-item_anchor__japanese">{{ item.japanese }}</span>
<span class="l-aside_list-item_anchor__english">{{ item.english }}</span>
</a>
</li>
{% endfor %}
</ul>
<div class="l-aside_button-area">
<div class="l-aside_contact-button">
{% include "components/common/_button.html.twig" with {
text: 'お問い合わせ',
src: 'build/images/common/double_arrow_black.svg',
href: path('contact_index'),
width: '12',
height: '10',
class: 'c-white-border-more_button',
}%}
</div>
<div class="l-aside_contact-recruit">
{% include "components/common/_button.html.twig" with {
text: '求人情報',
src: 'build/images/common/double_arrow_black.svg',
href: path('recruit_index'),
width: '12',
height: '10',
class: 'c-red-more_button',
}%}
</div>
</div>
</div>
</section>