templates/layout/header/_sp-menu.html.twig line 1

Open in your IDE?
  1. {% set sp_nav_items = [
  2.     {
  3.     img: asset('build/images/common/sp_logo01.png'),
  4.     href: path('kaisen_fujimaru_index'),
  5.     img_alt: '海鮮問屋ふじ丸',
  6.     },
  7.     {
  8.     img: asset('build/images/common/sp_logo02.png'),
  9.     href: path('edo_fujimaru_index'),
  10.     img_alt: '江戸前回転寿司ふじ丸',
  11.     },
  12.     {
  13.     img: asset('build/images/common/sp_logo03.png'),
  14.     href: path('yakiniku_kai_index'),
  15.     img_alt: '炭火焼肉 快',
  16.     },
  17.     {
  18.     img: asset('build/images/common/sp_logo04.png'),
  19.     href: path('yakitori_kai_index'),
  20.     img_alt: 'やきとりの快',
  21.     },
  22.     {
  23.     img: asset('build/images/common/sp_logo05.png'),
  24.     href: path('fujikitchen_index'),
  25.     img_alt: 'ふじきっちん',
  26.     },
  27.     {
  28.     img: asset('build/images/common/sp_logo06.png'),
  29.     href: path('farm_index'),
  30.     img_alt: 'ロココファーム',
  31.     },
  32.     {
  33.     img: asset('build/images/common/sp_logo07.png'),
  34.     href: path('curry_index'),
  35.     img_alt: 'ふじきっちんカレー',
  36.     },
  37.     {
  38.     img: asset('build/images/common/sp_logo08.png'),
  39.     href: path('fujimaru_suisan_index'),
  40.     img_alt: 'ふじ丸水産',
  41.     },
  42. ] %}
  43. <a class="l_header_sp-menu" data-type="menu-trigger">
  44.     <div class="l_header_sp-menu__inner">
  45.         <span></span>
  46.         <span></span>
  47.         <span></span>
  48.     </div>
  49. </a>
  50. <div class="l_header_sp-nav">
  51.     <div class="l_header_sp-nav--wrap">
  52.         <div class="l_header_sp-nav__logo">
  53.             <a href="{{ path('top') }}">
  54.                 <img src="{{ asset('build/images/common/logo.png') }}" alt="ふじきっちん">
  55.             </a>
  56.         </div>
  57.         <div class="l_header_sp-nav_button-area">
  58.             {#<div class="l_header_sp-nav_button">
  59.                 {% include "components/common/_button.html.twig" with {
  60.                 text: '予約する',
  61.                 src: 'build/images/common/icon-reserve.svg',
  62.                 href: path('top'),
  63.                 width: '16',
  64.                 height: '18',
  65.                 class: 'c-red-button',
  66.                 }%}
  67.             </div>#}
  68.             <div class="l_header_sp-nav_button">
  69.                 {% include "components/common/_button.html.twig" with {
  70.                 text: 'お問合わせ',
  71.                 src: 'build/images/common/icon-mail.svg',
  72.                 href: path('contact_index'),
  73.                 width: '18',
  74.                 height: '14',
  75.                 class: 'c-sp-red-button',
  76.                 }%}
  77.             </div>
  78.         </div>
  79.     </div>
  80.     <nav class="l_header_sp-nav_menu">
  81.         <ul class="l_header_sp-nav_menu_list">
  82.             <li class="l_header_sp-nav_menu_item">
  83.                 <a class="l_header_sp-nav_menu_item__anchor" href="{{ path('top') }}">TOP</a>
  84.             </li>
  85.             <li class="l_header_sp-nav_menu_item">
  86.                 <a class="l_header_sp-nav_menu_item__anchor" href="{{ path('news_index') }}">お知らせ</a>
  87.             </li>
  88.             <li class="l_header_sp-nav_menu_item">
  89.                 <a class="l_header_sp-nav_menu_item__anchor" href="{{ path('company_index') }}">会社概要</a>
  90.             </li>
  91.             {#<li class="l_header_sp-nav_menu_item">
  92.                 <a class="l_header_sp-nav_menu_item__anchor" href="{{ path('media_index') }}">メディア掲載実績</a>
  93.             </li>#}
  94.         </ul>
  95.     </nav>
  96.     <div class="l_header_sp-nav--wrap">
  97.         <div class="l_header_sp-nav_brand">
  98.             <div class="l_header_sp-nav_brand__title">ブランド一覧</div>
  99.             <ul class="l_header_sp-nav_brand_wrap">
  100.                 {% for item in sp_nav_items %}
  101.                 <li class="l_header_sp-nav_brand_item">
  102.                     <a class="l_header_sp-nav_brand_item__anchor" href="{{ item.href }}">
  103.                         <img src="{{ item.img }}" alt="{{ item.img_alt }}">
  104.                     </a>
  105.                 </li>
  106.                 {% endfor %}
  107.             </ul>
  108.         </div>
  109.         <div class="l_header_sp-nav_recruit-button">
  110.             {% include "components/common/_button.html.twig" with {
  111.             text: '採用サイトへ',
  112.             src: 'build/images/common/icon-link.svg',
  113.             href: ('https://recruit.fujikitchen.com/'),
  114.             width: '16',
  115.             height: '18',
  116.             class: 'c-black-border_white-button',
  117.             }%}
  118.         </div>
  119.     </div>
  120. </div>