app/template/daido/index.twig line 1

Open in your IDE?
  1. {% extends 'default_frame.twig' %}
  2. {% set totalQuantity = get_carts_total_quantity() %}
  3. {% block main %}
  4.   <section class="scrollify" style="position: relative;">
  5.     <!--div id="print" class="scroll-in box box-01" style="display: block;"-->
  6.     <div id="" class="about" style="overflow: hidden;">
  7.       <div class="about_move about_back">
  8.         <h2><img src="/html/template/daido/assets/img/about_tit.png" alt="about"></h2>
  9.         <div class="about_cont">
  10.           <video playsinline autoplay muted loop width="500" height="auto" src="/html/template/daido/assets/mov/top_movie.mp4"></video>
  11.           <style>
  12.             .about_cont video{
  13.               max-width: 40vw;
  14.               margin-top: 2.125rem;
  15.               width: 45%;
  16.             }
  17.           </style>
  18.           <div class="about_txt_wrap">
  19.             <div class="about_txt">
  20.               <span><img src="/html/template/daido/assets/img/about_txt.svg" alt="コンセプトは「個性」"></span>
  21.             </div>
  22.             <div>
  23.               <p>「もっと暮らしの中に<br>あそびゴコロがあってもいい」<br>そんな想いから生まれた、<br>印刷会社の文具ブランド「DAIDO Stationeries」。<br>印刷とあそびゴコロのあるデザインの魅力を<br>「文具」や「雑貨」というカタチで<br>定期的に発信していきます。</p>
  24.             </div>
  25.           </div>
  26.         </div>
  27.       </div>
  28.     </div>
  29.     <div style="width: 100%; max-width: 1860px;position: relative;margin: 0 auto">
  30.       <img class="about_move_hand" src="/html/template/daido/assets/img/about_hand_l.png" alt="" style="position: absolute;bottom:0;left:6.55%; width: 10vw;max-width: 180px; opacity: 0;overflow: hidden;">
  31.       <img class="about_move_hand" src="/html/template/daido/assets/img/about_hand_r.png" alt="" style="position: absolute;bottom:0;right:6.5%; width: 10vw;max-width: 180px; opacity: 0;">
  32.     </div>
  33.   </section>
  34.   <section id="allitems" class="scrollify allitems">
  35.     <div style="width: 100vw; max-width: 1000px; margin: 0 auto;text-align: center;">
  36.       <h2><img src="/html/template/daido/assets/img/allitems_tit.png" alt="" style="margin-top:8rem; margin-bottom: 4rem;"></h2>
  37.       <div class="allitems_gridcont">
  38. {% set Category = repository("Eccube\\Entity\\Category").find(2) %}
  39. {%
  40. set products = repository("Eccube\\Entity\\Product")
  41. .getQueryBuilderBySearchData({'category_id':Category})
  42. .setMaxResults(30)
  43. .getQuery()
  44. .getResult()
  45. %}
  46. {% if products %}
  47.     {% for p in products %}
  48.         {% if p.id == 10 %}
  49.         <div class="allitems_gridcont_item allitems_new">
  50.         {% else %}
  51.         <div class="allitems_gridcont_item">
  52.         {% endif %}
  53.         {% if p.ProductImage|slice(0,1) %}
  54.             {% for ProductImage in p.ProductImage|slice(1,1) %}
  55.           <img src="{{ asset(ProductImage, 'save_image') }}" loading="lazy" alt="{{ p.name }}">
  56.             {% endfor %}
  57.         {% else %}
  58.           <img src="{{ asset('assets/img/stationariery_logo.png') }}" loading="lazy" alt="{{ p.name }}">
  59.         {% endif %}
  60.           <div class="allitems_itemwrap">
  61.             <p>{{ p.name }}</p>
  62.             <div>¥{{ p.getPrice02IncTaxMin ? p.getPrice02IncTaxMin : 0}}<span>(税込)</span></div>
  63.             <a href="{{ url('product_detail', {'id': p.id}) }}"><div class="allitems_linkbtn">詳細はコチラ</div></a>
  64.           </div>
  65.         </div>
  66.     {% endfor %}
  67. {% endif %}
  68.       </div>
  69.     </div>
  70.   </section>
  71.   <section class="making">
  72.     <div class="dino_cont">
  73.       <img src="/html/template/daido/assets/img/making.png" alt="" style="">
  74.       <div class="move_pute" style="position: absolute; top: -5%;left:40%;">
  75.         <div class="pute" style="padding-top: 1rem;"><img src="/html/template/daido/assets/img/making_pute.png" alt=""></div>
  76.       </div>
  77.       <div class="">
  78.         <div class="move_supi">
  79.           <div class="supi" style="position: absolute;bottom: 40px;left: 18%;"><img src="/html/template/daido/assets/img/making_supi.png" alt=""></div>
  80.         </div>
  81.         <div class="move_dhime">
  82.           <div class="dhime" style="position: absolute;bottom:20%; right: 9%;"><img src="/html/template/daido/assets/img/making_dhime.png" alt=""></div>
  83.         </div>
  84.       </div>
  85.     </div>
  86.     <!--仮配置-->
  87.     <div style="display: flex;padding: 2rem;margin: 2rem auto 3rem;justify-content: center;">
  88.       <input type="checkbox" id="popup_1">
  89.       <div style="text-align: center;">
  90.         <label class="popup-open_1" for="popup_1"  style="font-size: 18px; font-weight: 600;color:#fff; background-color:#9C8A78; padding:1rem 2rem;margin: 2rem;">MAKINGムービー_印刷</label>
  91.       </div>
  92.       <div class="popup-overlay_1">
  93.         <div class="popup-window">
  94.           <!--p class="popup-text">ポップアップの中身のテキスト</p-->
  95.           <video playsinline autoplay muted loop width="500" height="auto" src="/html/template/daido/assets/mov/making_printing.mp4"></video>
  96.           <label class="popup-close" for="popup_1">
  97.             <svg width="18" height="18" xmlns="http://www.w3.org/2000/svg">
  98.               <line x1="0" y1="0" x2="18" y2="18" stroke="white" stroke-width="3"></line>
  99.               <line x1="0" y1="18" x2="18" y2="0" stroke="white" stroke-width="3"></line>
  100.             </svg>
  101.           </label>
  102.         </div>
  103.       </div>
  104.       <input type="checkbox" id="popup_2">
  105.       <div style="text-align: center;">
  106.         <label class="popup-open_2" for="popup_2"  style="font-size: 18px; font-weight: 600;color:#fff; background-color:#9C8A78; padding:1rem 2rem;margin: 2rem;">MAKINGムービー_製本</label>
  107.       </div>
  108.       <div class="popup-overlay_2">
  109.         <div class="popup-window">
  110.           <!--p class="popup-text">ポップアップの中身のテキスト</p-->
  111.           <video playsinline autoplay muted loop width="500" height="auto" src="/html/template/daido/assets/mov/making_binding.mp4"></video>
  112.           <label class="popup-close" for="popup_2">
  113.             <svg width="18" height="18" xmlns="http://www.w3.org/2000/svg">
  114.               <line x1="0" y1="0" x2="18" y2="18" stroke="white" stroke-width="3"></line>
  115.               <line x1="0" y1="18" x2="18" y2="0" stroke="white" stroke-width="3"></line>
  116.             </svg>
  117.           </label>
  118.         </div>
  119.       </div>
  120.     </div>
  121.     <style>
  122.       .popup-window video{width: 100%;}
  123.       #popup_1,#popup_2 {
  124.         display: none; /* label でコントロールするので input は非表示に */
  125.       }
  126.       .popup-open_1,.popup-open_2 {
  127.         cursor: pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
  128.       }
  129.       .popup-overlay_1,.popup-overlay_2 {
  130.         display: none; /* input にチェックが入るまでは非表示に */
  131.       }
  132.       #popup_1:checked ~ .popup-overlay_1 {
  133.         display: block;
  134.         z-index: 99999;
  135.         background-color: #00000070;
  136.         position: fixed;
  137.         width: 100%;
  138.         height: 100vh;
  139.         top: 0;
  140.         left: 0;
  141.       }
  142.       #popup_2:checked ~ .popup-overlay_2 {
  143.         display: block;
  144.         z-index: 99999;
  145.         background-color: #00000070;
  146.         position: fixed;
  147.         width: 100%;
  148.         height: 100vh;
  149.         top: 0;
  150.         left: 0;
  151.       }
  152.       .popup-window {
  153.         width: 90vw;
  154.         max-width: 800px;
  155.         padding: 20px;
  156.         background-color: #ffffff;
  157.         border-radius: 6px;
  158.         position: fixed;
  159.         top: 50%;
  160.         left: 50%;
  161.         transform: translate(-50%, -50%);
  162.       }
  163.       .popup-text {
  164.         margin: 0;
  165.       }
  166.       .popup-text:not(:last-of-type) {
  167.         margin-bottom: 1em
  168.       }
  169.       .popup-close {
  170.         cursor: pointer;
  171.         position: absolute;
  172.         top: -26px;
  173.         right: 0;
  174.       }
  175.     </style>
  176.     <!-------->
  177.   </section>
  178.   <section id="gallaly" class="gallary" style="background-color: #f5f5eb;position: relative;z-index:0; padding: 3.125rem 0 ;">
  179.     <div style="width: 100vw;max-width: 1000px; margin: 0 auto;text-align: center;">
  180.       <h2><img src="/html/template/daido/assets/img/gallary_tit.png" alt=""></h2>
  181.       <div class="gallary_gridcont">
  182.         <div class="gallary_item_1 gallary_gridcont_item" style="padding:20px;text-align: center;">
  183.           <a href="https://www.instagram.com/sapporodaido/" target="_blank" style="z-index: 1">
  184.             <img src="/html/template/daido/assets/img/gallary_photo1.png" alt="" style="width: 100%;">
  185.           </a>
  186.         </div>
  187.         <div class="gallary_item_2 gallary_gridcont_item" style="padding:20px;text-align: center;">
  188.           <a href="https://www.instagram.com/sapporodaido/" target="_blank" style="z-index: 1">
  189.             <img src="/html/template/daido/assets/img/gallary_photo2.png" alt="" style="width: 100%;">
  190.           </a>
  191.         </div>
  192.         <div class="gallary_item_3 gallary_gridcont_item" style="padding:20px;text-align: center;">
  193.           <a href="https://www.instagram.com/sapporodaido/" target="_blank" style="z-index: 1">
  194.             <img src="/html/template/daido/assets/img/gallary_photo3.png" alt="" style="width: 100%;">
  195.           </a>
  196.         </div>
  197.       </div>
  198.       <div style="margin:50px 0;">
  199.         <a href="https://www.instagram.com/sapporodaido/" target="_blank" style="z-index: 1">
  200.           <img src="/html/template/daido/assets/img/gallary_btn.png" alt="大同印刷Instagram">
  201.         </a>
  202.       </div>
  203.     </div>
  204.   </section>
  205.   <section class="re-top_cont">
  206.     <div class="tako"><span></span></div>
  207.     <a class="re-top" href="#top">
  208.       <img style="width: 100px;" src="/html/template/daido/assets/img/return_top.png" alt="トップに戻る">
  209.     </a>
  210.   </section>
  211. {% endblock %}