app/template/osechi/default_frame.twig line 215

Open in your IDE?
  1. <!doctype html>
  2. {#
  3. ///////////////////////////////////////////////////////////////////////
  4. This template is part of EC-CUBE Design template.
  5. Copyright(c) JAPAN ELECTRONIC INDUSTRIAL ARTS CO.LTD.
  6. http://www.jeia.co.jp/
  7. For the full copyright and license information, please view the LICENSE
  8. file that was distributed with this source code.
  9. 本テンプレートの著作権は、「株式会社日本電子工藝社」に帰属いたします。
  10. ※本テンプレートを譲渡・再頒布・転用・第三者へ開示することは禁止いたします。
  11. ただし、事業者によるショップ運営者への設置代行を禁止するものではございません。
  12. ※本テンプレートを申請されたご利用サイトへの設置以外の目的で複製することは禁止いたします。
  13. ※本テンプレートデータ内のライセンス条項、および著作権に関する記述を削除することはできません。
  14. ※ご利用サイトを変更することはできません。申請と異なるサイトにてご利用になる場合は、
  15. 別途、ご利用費用をお支払いただく必要がございます。
  16. ※本テンプレートの改変にあたり、一切のサポートはいたしかねます。
  17. ※本テンプレートは、すべての設置環境で動作する事は保証しておりません。
  18. ///////////////////////////////////////////////////////////////////////
  19. #}
  20. <html lang="{{ eccube_config.locale }}">
  21. <head prefix="og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#">
  22.     <meta charset="utf-8">
  23.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  24.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  25.     <link rel="preload" href="{{ asset('assets/css/style.css') }}?{{ env('CSS_PARAM') }}" as="style" onload="this.onload=null;this.rel='stylesheet'"> <noscript><link rel="stylesheet" href="{{ asset('assets/css/style.css') }}?{{ env('CSS_PARAM') }}"></noscript>
  26.     <meta http-equiv='x-dns-prefetch-control' content='on'>
  27.     <link rel="preconnect dns-prefetch" href="https://www.googletagmanager.com">
  28.     <link rel="preconnect dns-prefetch" href="https://www.google-analytics.com">
  29.     <link rel="preconnect dns-prefetch" href="https://code.jquery.com">
  30.     <link rel="preconnect dns-prefetch" href="https://cdn.jsdelivr.net">
  31. {#
  32.     <link rel="preconnect dns-prefetch" href="https://fonts.googleapis.com">
  33.     <link rel="preconnect dns-prefetch" href="https://use.fontawesome.com">
  34.     <link rel="preconnect dns-prefetch" href="https://unpkg.com">
  35.     <link rel="preconnect dns-prefetch" href="https://cdnjs.cloudflare.com">
  36. #}
  37.     {% set meta_og_title =  '' %}
  38.     {% if subtitle is defined and subtitle is not empty %}
  39.         {% set meta_og_title =  subtitle %}
  40.         {% if Product.search_word %}
  41.             {% set subtitle =  subtitle~' / '~Product.search_word %}
  42.         {% endif %}
  43.         {% if app.request.get('_route') == 'rental_detail' %}
  44.             {% set meta_og_title =  subtitle~' | Car Rental'  %}
  45.         {% elseif app.request.get('_route') == 'drive_detail' %}
  46.             {% set meta_og_title =  subtitle~' | Car Experience'  %}
  47.         {% elseif app.request.get('_route') == 'product_detail' %}
  48.             {% set meta_og_title =  subtitle~' | Lineup'  %}
  49.         {% endif %}
  50.     {% elseif title is defined and title is not empty %}
  51.         {% set meta_og_title =  Page.name  %}
  52.     {% endif %}
  53.     {% set meta_og_title = meta_og_title~' | '~BaseInfo.shop_name %}
  54.     {% if app.request.get('_route') == 'plan_detail' %}
  55.         {% set meta_og_title = WpPosts.title~' | '~meta_og_title %}
  56.     {% endif %}
  57.     <title>{{meta_og_title}}</title>
  58.     {% if Page.meta_tags is not empty %}
  59.         {{ include(template_from_string(Page.meta_tags)) }}
  60.         {% if Page.description is not empty %}
  61.             <meta name="description" content="{{ Page.description }}">
  62.         {% endif %}
  63.     {% else %}
  64.         {{ include('meta.twig') }}
  65.     {% endif %}
  66.     {% if Page.author is not empty %}
  67.         <meta name="author" content="{{ Page.author }}">
  68.     {% endif %}
  69. {#
  70.     {% if Page.keyword is not empty %}
  71.         <meta name="keywords" content="{{ Page.keyword }}">
  72.     {% endif %}
  73. #}
  74.     {% if Page.meta_robots is not empty %}
  75.         <meta name="robots" content="{{ Page.meta_robots }}">
  76.     {% endif %}
  77.     <link rel="preconnect" href="https://cdn.jsdelivr.net" />
  78.     <link rel="dns-prefetch" href="https://cdn.jsdelivr.net" />
  79.     <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  80.     <link href="https://use.fontawesome.com/releases/v6.2.0/css/all.css" crossorigin="anonymous" rel="preload" as="style" />
  81.     <link rel="preload" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css" as="style" onload="this.onload=null;this.rel='stylesheet'"> <noscript><link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css"></noscript>
  82. {#
  83.     <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
  84.     <link href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css" crossorigin="anonymous" rel="preload" as="style" />
  85. #}
  86. {#
  87.     <link href="{{ asset('assets/css/style.css') }}?{{ env('CSS_PARAM') }}" crossorigin="anonymous" rel="preload" as="style" />
  88.     <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}?{{ env('CSS_PARAM') }}">
  89. #}
  90.     {# 当テンプレートでは「/html/bundle/front.bundle.js」は使いません。jQuery,slickの読み込みは旧来方式で読み込みます。
  91.     <script src="{{ asset('front.bundle.js', 'bundle') }}"></script>
  92.     #}
  93.     {# jeiafont WEBフォントの読み込み #}
  94.     <style>
  95.         @font-face {
  96.             font-family: 'jeiafont';
  97.             src:
  98.                 url( "{{ asset('assets/icon/jeiafont/fonts/jeiafont.ttf') }}" ) format('truetype'),
  99.                 url( "{{ asset('assets/icon/jeiafont/fonts/jeiafont.woff') }}" ) format('woff'),
  100.                 url( "{{ asset('assets/icon/jeiafont/fonts/jeiafont.svg#jeiafont') }}" ) format('svg');
  101.             font-weight: normal;
  102.             font-style: normal;
  103.             font-display: swap;
  104.         }
  105.     </style>
  106.     {# splitting CSSの読み込み #}
  107.     <link href="https://unpkg.com/splitting/dist/splitting.css" crossorigin="anonymous" rel="preload" as="style" />
  108.     <link href="https://unpkg.com/splitting/dist/splitting-cells.css" crossorigin="anonymous" rel="preload" as="style" />
  109. {#
  110.     <link rel="stylesheet" href="https://unpkg.com/splitting/dist/splitting.css">
  111.     <link rel="stylesheet" href="https://unpkg.com/splitting/dist/splitting-cells.css">
  112. #}
  113.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}?{{ env('CSS_PARAM') }}">
  114.     <link rel="stylesheet" href="{{ asset('assets/css/common.css') }}?{{ env('CSS_PARAM') }}">
  115.     {% block stylesheet %}{% endblock %}
  116.     <script rel="preload" src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
  117.     <script>
  118.         $(function() {
  119.             $.ajaxSetup({
  120.                 'headers': {
  121.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  122.                 }
  123.             });
  124.         });
  125.     </script>
  126.     {# Layout: HEAD #}
  127.     {% if Layout.Head %}
  128.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  129.     {% endif %}
  130.     {# プラグイン用styleseetやmetatagなど #}
  131.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  132. </head>
  133. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  134. {# Layout: BODY_AFTER #}
  135. {% if Layout.BodyAfter %}
  136.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  137. {% endif %}
  138. {% if isMaintenance %}
  139.     <div class="ec-maintenanceAlert">
  140.         <div>
  141.             <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  142.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  143.         </div>
  144.     </div>
  145. {% endif %}
  146. <div class="ec-layoutRole">
  147.     {# Layout: HEADER #}
  148.     {% if Layout.Header %}
  149.         <header class="ec-layoutRole__header">
  150.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  151.         </header>
  152.     {% endif %}
  153.     {# Layout: CONTENTS_TOP #}
  154.     {% if Layout.ContentsTop %}
  155.         <div class="ec-layoutRole__contentTop">
  156.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  157.         </div>
  158.     {% endif %}
  159.     <div class="ec-layoutRole__contents">
  160.         {# Layout: SIDE_LEFT #}
  161.         {% if Layout.SideLeft %}
  162.             <aside class="ec-layoutRole__left">
  163.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  164.             </aside>
  165.         {% endif %}
  166.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  167.         {% if Layout.ColumnNum == 2 %}
  168.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  169.         {% elseif Layout.ColumnNum == 3 %}
  170.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  171.         {% endif %}
  172.         <main class="{{ layoutRoleMain }}">
  173.             {# Layout: MAIN_TOP #}
  174.             {% if Layout.MainTop %}
  175.                 <div class="ec-layoutRole__mainTop">
  176.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  177.                 </div>
  178.             {% endif %}
  179.             {# MAIN AREA #}
  180.             {% block main %}{% endblock %}
  181.             {# Layout: MAIN_Bottom #}
  182.             {% if Layout.MainBottom %}
  183.                 <div class="ec-layoutRole__mainBottom">
  184.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  185.                 </div>
  186.             {% endif %}
  187.         </main>
  188.         {# Layout: SIDE_RIGHT #}
  189.         {% if Layout.SideRight %}
  190.             <aside class="ec-layoutRole__right">
  191.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  192.             </aside>
  193.         {% endif %}
  194.     </div>
  195.     {# Layout: CONTENTS_BOTTOM #}
  196.     {% if Layout.ContentsBottom %}
  197.         <div class="ec-layoutRole__contentBottom">
  198.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  199.         </div>
  200.     {% endif %}
  201.     {# Layout: CONTENTS_FOOTER #}
  202.     {% if Layout.Footer %}
  203.         <footer class="ec-layoutRole__footer">
  204.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  205.         </footer>
  206.     {% endif %}
  207. </div><!-- ec-layoutRole -->
  208. <div class="ec-overlayRole"></div>
  209. <div class="ec-drawerRole">
  210.     {# Layout: DRAWER #}
  211.     {% if Layout.Drawer %}
  212.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  213.     {% endif %}
  214. </div>
  215. {# ページトップボタン #}
  216. <div class="ec-blockTopBtn pagetop"><i class="jeiafont jeia-angleup"></i></div>
  217. <!-- WhatsAppアイコン -->
  218. <a href="https://lin.ee/ZeI0vP1" target="_blank" id="line-icon">
  219. <img class="_afvz" alt="LINE" src="{{ asset( 'assets/img/line.png' ) }}" width="60" height="60">
  220. </a>
  221. <a href="{{ env('WHATSAPP_MSG') }}" target="_blank" id="whatsapp-icon">
  222. <img class="_afvz" alt="WhatsApp" src="{{ asset( 'assets/img/whatsapp.png' ) }}" width="86" height="20">
  223. </a>
  224.                 
  225. <script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
  226. {% include('@common/lang.twig') %}
  227. <script src="{{ asset('assets/js/function.js') }}?{{ env('JS_PARAM') }}"></script>
  228. <script src="{{ asset('assets/js/eccube.js') }}?{{ env('JS_PARAM') }}"></script>
  229. {% block javascript %}{% endblock %}
  230. {#
  231. simplePARALLAX.js
  232. パララックス動作に「simplePARALLAX.js」を使用しています。
  233. https://simpleparallax.com/
  234. MIT License
  235. Copyright (c) 2017 geosenna
  236. Permission is hereby granted, free of charge, to any person obtaining a copy
  237. of this software and associated documentation files (the "Software"), to deal
  238. in the Software without restriction, including without limitation the rights
  239. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  240. copies of the Software, and to permit persons to whom the Software is
  241. furnished to do so, subject to the following conditions:
  242. The above copyright notice and this permission notice shall be included in all
  243. copies or substantial portions of the Software.
  244. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  245. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  246. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  247. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  248. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  249. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  250. SOFTWARE.
  251. #}
  252. <script src="https://cdn.jsdelivr.net/npm/simple-parallax-js@5.5.1/dist/simpleParallax.min.js"></script>
  253. <script>
  254.     var parallax = document.getElementsByClassName( 'js-parallax' );
  255.     // たまに動作しない事があるようなのでパララックス開始をタイマーで少しずらしておきます
  256.     setTimeout(function(){
  257.         new simpleParallax(parallax, {
  258.             scale: 1.5,
  259.             delay: 1,
  260.         });
  261.     }, 1000);
  262. </script>
  263. {#
  264. splitting.js
  265. タイトルの演出効果用に文字単位でspan化させる「splitting.js」を使用しています。
  266. https://splitting.js.org/
  267. MIT Licensed
  268. Copyright © 2018-present Stephen Shaw 
  269. #}
  270. <script src="https://unpkg.com/splitting/dist/splitting.min.js"></script>
  271. <script> Splitting(); </script>
  272. {# jeia_function.js #}
  273. <script src="{{ asset('assets/js/jeia_function.js') }}"></script>
  274. {# Layout: CLOSE_BODY_BEFORE #}
  275. {% if Layout.CloseBodyBefore %}
  276.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  277. {% endif %}
  278. {# プラグイン用Snippet #}
  279. {% if plugin_snippets is defined %}
  280.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  281. {% endif %}
  282.     <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  283. </body>
  284. </html>