app/template/raspia/Block/logo.twig line 1

Open in your IDE?
  1. {% set ItemCategories = [7,14,113,115,137] %}
  2. {% set ListCategories = repository('Eccube\\Entity\\Category').getList() %}
  3. <div class="logo">
  4.     <a href="/">
  5.         <img src="/html/template/raspia/img/common/logo_header_02.webp" alt="RASPIA Jewelry" width="270">
  6.     </a>
  7. </div>
  8. <p id="btn_menu"><a class="nav-trigger nav-trigger01" data-cateId="mainMenu">Menu<span></span></a></p>
  9. <div class="nav-bg sp"></div>
  10. <!-- ↓↓メインメニュー↓↓ -->
  11. <div id="mainMenu" class="menuBox">
  12.     <div class="spNavOption sp">
  13.         <p id="btn_menu"><a class="nav-trigger nav-trigger02 active">Menu<span></span></a></p>
  14.     </div>
  15.     {% if is_granted('ROLE_USER') %}
  16.     <div class="menuBlock" id="member">
  17.         <ul>
  18.             <li class="blockTtl">
  19.                 <span class="member">
  20.                     {{ '%last_name% %first_name% 様'|trans({ '%last_name%': app.user.name01, '%first_name%': app.user.name02 }) }}
  21.                     <span class="point">(保有ポイント <span class="red">{{ app.user.point }} </span>)</span>
  22.                 </span>
  23.                 </li>
  24.             <li><a href="/mypage/">マイページ</a></li>
  25.             <li><a href="/mypage/favorite">お気に入り</a></li>
  26.             <li><a href="/logout">ログアウト</a></li>
  27.         </ul>
  28.     </div>
  29.     {% else %}
  30.     <div class="menuBlock">
  31.         <ul>
  32.             <li><a href="/">トップページ</a></li>
  33.         </ul>
  34.     </div>
  35.     <div class="menuBlock" id="guest">
  36.         <ul>
  37.             <li class="blockTtl"><span class="guest">ゲスト</span></li>
  38.             <li><a href="/entry">新規会員登録</a></li>
  39.             <li><a href="/mypage/login">ログイン</a></li>
  40.         </ul>
  41.     </div>
  42.     {% endif %}
  43.     <div class="menuBlock">
  44.         <ul>
  45.             <li class="blockTtl"><span class="search">アイテムから探す</span></li>
  46.             <li><a href="/products/list">商品一覧</a></li>
  47.             {% for Category in ListCategories %}
  48.                 {% if Category.id in ItemCategories %}
  49.                     <li><a class="menuTrigger01" data-cateId="menu_{{ Category.id }}">{{ Category.name }}から探す</a></li>
  50.                 {% endif %}
  51.             {% endfor %}
  52.         </ul>
  53.     </div>
  54.     <div class="menuBlock">
  55.         <ul>
  56.             <li class="blockTtl"><span class="search">カテゴリから探す</span></li>
  57.             {% for Category in ListCategories %}
  58.                 {% if Category.id in ItemCategories %}
  59.                 {% else %}
  60.                     <li><a class="menuTrigger01" data-cateId="menu_{{ Category.id }}">{{ Category.name }}から探す</a></li>
  61.                 {% endif %}
  62.             {% endfor %}
  63.         </ul>
  64.     </div>
  65.     <div class="menuBlock" id="member">
  66.         <ul>
  67.             <li class="blockTtl"><span class="guide">ガイド</span></li>
  68.             <li><a href="/guide">はじめてご利用の方へ</a></li>
  69.             <li><a href="/user_data/shop">大阪・南堀江 店舗のご案内</a></li>
  70.             <li><a href="/user_data/event">期間限定ショップ情報</a></li>
  71.             <li><a href="/user_data/help_order">ご注文について</a></li>
  72.             <li><a href="/user_data/help_send">配送・送料について</a></li>
  73.             <li><a href="/user_data/help_gift">梱包・ギフトについて</a></li>
  74.             <li><a href="/user_data/help_product">商品について</a></li>
  75.             <li><a href="/user_data/help_care">お手入れ方法について</a></li>
  76.             <li><a href="/user_data/help_returns">返品・交換・修理</a></li>
  77.             <li><a href="/user_data/help_member">会員登録について</a></li>
  78.         </ul>
  79.     </div>
  80.     <div class="menuBlock" id="aboutraspia">
  81.         <ul>
  82.             <li class="blockTtl"><span class="guide">ラスピアについて</span></li>
  83.             <li><a href="{{ url('help_about') }}">運営会社</a></li>
  84.             <li><a href="/magazine" target="_blank">ラスピアマガジン</a></li>
  85.             <li><a href="{{ url('help_tradelaw') }}">特定商取引法に基づく表記</a></li>
  86.             <li><a href="{{ url('help_privacy') }}">プライバシーポリシー</a></li>
  87.             <li><a href="{{ url('help_agreement') }}">会員様利用規約</a></li>
  88.             <li><a href="/user_data/recruit">ジュエリーデザイナー求人募集</a></li>
  89.             <li><a href="/user_data/rental">ジュエリーの衣装協力・貸し出し</a></li>
  90.         </ul>
  91.     </div>
  92.     <div class="menuBlock" id="contact">
  93.         <ul>
  94.             <li class="blockTtl"><span class="guide">お問い合わせ</span></li>
  95.             <li><a href="https://lin.ee/qJTCKzZ" onclick="gtag('event', 'tap', {'event_category': 'entry','event_label': 'line'});">LINEで問い合わせ</a></li>
  96.             <li><a href="/contact">メールフォームで問い合わせ</a></li>
  97.         </ul>
  98.     </div>
  99.     {{ include('Block/menu_sns.twig') }}
  100. </div>
  101. <!-- ↓↓カテゴリーから探す↓↓ -->
  102. <div id="menu_all" class="menuBox">
  103.     <div class="spNavOption">
  104.         <a class="prevTrigger"><img src="/html/template/raspia/img/common/ico_l_gray.webp" alt=""></a>
  105.         <p id="btn_menu"><a class="nav-trigger nav-trigger02 active">Menu<span></span></a></p>
  106.     </div>
  107.     {% for Category in ListCategories %}
  108.         {% if Category.id in ItemCategories %}
  109.         <div class="menuBlock" id="pierce">
  110.             <ul>
  111.                 <li class="blockTtl"><span class="brand">{{ Category.name }}</span></li>
  112.                 <li><a href="/products/list?category_id={{ Category.id }}">{{ Category.name }}</a></li>
  113.                 {% for Child in Category.Children %}
  114.                 <li><a href="/products/list?category_id={{ Child.id }}">{{ Child.name }}</a></li>
  115.                 {% endfor %}
  116.             </ul>
  117.         </div>
  118.         {% endif %}
  119.     {% endfor %}
  120.     {{ include('Block/menu_sns.twig') }}
  121. </div>
  122. <!-- ↓↓シリーズから探す↓↓ -->
  123. <div id="menu_6" class="menuBox">
  124.     <div class="spNavOption">
  125.         <a class="prevTrigger"><img src="/html/template/raspia/img/common/ico_l_gray.webp" alt=""></a>
  126.         <p id="btn_menu"><a class="nav-trigger nav-trigger02 active">Menu<span></span></a></p>
  127.     </div>
  128.     <div class="menuBlock" id="pierce">
  129.         <ul>
  130.             <li class="blockTtl"><span class="brand">シリーズから探す</span></li>
  131.         </ul>
  132.         <div class="imgTxtList01">
  133.             <a href="/series/valoa">
  134.                 <img src="/html/template/raspia/img/menu/img_series_valoa.webp?2022" alt="VALOA">
  135.                 <span class="txt05">VALOA</span>
  136.             </a>
  137.             <a href="/products/list?category_id=147">
  138.                 <img src="/html/template/raspia/img/menu/img_series11.webp" alt="MUOT">
  139.                 <span class="txt05">MUOT</span>
  140.             </a>
  141.             <a href="/products/list?category_id=151">
  142.                 <img src="/html/template/raspia/img/menu/img_series_petela.webp" alt="Petela">
  143.                 <span class="txt05">Petela</span>
  144.             </a>
  145.             <a href="/products/list?category_id=141">
  146.                 <img src="/html/template/raspia/img/menu/img_series_ello_may.webp?202204" alt="Ello May">
  147.                 <span class="txt05">Ello May</span>
  148.             </a>
  149.             <a href="/products/list?category_id=144">
  150.                 <img src="/html/template/raspia/img/menu/img_series06.webp" alt="">
  151.                 <span class="txt05">Ello  Ulmia</span>
  152.             </a>
  153.             <a href="/products/list?category_id=143">
  154.                 <img src="/html/template/raspia/img/menu/img_series07.webp" alt="">
  155.                 <span class="txt05">Ello Lily</span>
  156.             </a>
  157.             <a href="/products/list?category_id=140">
  158.                 <img src="/html/template/raspia/img/menu/img_series09.webp" alt="">
  159.                 <span class="txt05">Ello Luculia</span>
  160.             </a>
  161.             <a href="/products/list?category_id=142">
  162.                 <img src="/html/template/raspia/img/menu/img_series08.webp" alt="">
  163.                 <span class="txt05">Ello lilas</span>
  164.             </a>
  165.             <a href="/products/list?category_id=139">
  166.                 <img src="/html/template/raspia/img/menu/img_series10.webp" alt="">
  167.                 <span class="txt05">Ello Fiol</span>
  168.             </a>
  169.             <a href="/products/list?category_id=82">
  170.                 <img src="/html/template/raspia/img/menu/img_series05.webp" alt="">
  171.                 <span class="txt05">BOURGEON</span>
  172.             </a>
  173.             <a href="/products/list?category_id=81">
  174.                 <img src="/html/template/raspia/img/menu/img_series04.webp" alt="">
  175.                 <span class="txt05">ESPOIR</span>
  176.             </a>
  177.             <a href="/products/list?category_id=80">
  178.                 <img src="/html/template/raspia/img/menu/img_series03.webp" alt="">
  179.                 <span class="txt05">MONTBRETIA</span>
  180.             </a>
  181.             <a href="/products/list?category_id=69">
  182.                 <img src="/html/template/raspia/img/menu/img_series01.webp" alt="">
  183.                 <span class="txt05">RADIANT<br>MOMENTS</span>
  184.             </a>
  185.             <a href="/products/list?category_id=68">
  186.                 <img src="/html/template/raspia/img/menu/img_series02.webp" alt="">
  187.                 <span class="txt05">CRASPEDIA<br>GLOBOSA</span>
  188.             </a>
  189.             <a href="/products/list?category_id=146">
  190.                 <img src="/html/template/raspia/img/menu/img_series_diamond.webp" alt="">
  191.                 <span class="txt05">Diamond<br>collection</span>
  192.             </a>
  193.         </div>
  194.     </div>
  195.     {{ include('Block/menu_sns.twig') }}
  196. </div>
  197. {% for Category in ListCategories  %}
  198. {% if Category.id == 6 %}
  199. {% else %}
  200. <div id="menu_{{ Category.id }}" class="menuBox">
  201.     <div class="spNavOption">
  202.         <a class="prevTrigger"><img src="/html/template/raspia/img/common/ico_l_gray.webp" alt=""></a>
  203.         <p id="btn_menu"><a class="nav-trigger nav-trigger02 active">Menu<span></span></a></p>
  204.     </div>
  205.     <div class="menuBlock" id="pierce">
  206.         <div class="menuBlock" id="pierce">
  207.             <ul>
  208.                 <li class="blockTtl"><span class="brand">{{ Category.name }}</span></li>
  209.                 <li><a href="/products/list?category_id={{ Category.id }}">全ての{{ Category.name }}</a></li>
  210.                 {% for Child in Category.Children %}
  211.                 <li><a href="/products/list?category_id={{ Child.id }}">{{ Child.name }}</a></li>
  212.                 {% endfor %}
  213.             </ul>
  214.         </div>
  215.     </div>
  216.     {{ include('Block/menu_sns.twig') }}
  217. </div>
  218. {% endif %}
  219. {% endfor %}