app/template/ss4002/default_frame.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. {#
  3. This file is part of EC-CUBE
  4. Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
  5. http://www.lockon.co.jp/
  6. For the full copyright and license information, please view the LICENSE
  7. file that was distributed with this source code.
  8. #}
  9. <html lang="{{ eccube_config.locale }}">
  10. <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://ogp.me/ns/product#">
  11.     <meta charset="utf-8">
  12.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  13.     <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  14.     <meta name="format-detection" content="telephone=no">
  15.     <!-- Google tag (gtag.js) -->
  16.     <script async src="https://www.googletagmanager.com/gtag/js?id=G-V26DWGSSQS"></script>
  17.     <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-V26DWGSSQS'); </script>
  18.     <title>{{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}{% elseif title is defined and title is not empty %} / {{ title }}{% endif %}</title>
  19.     {% if Page.meta_tags is not empty %}
  20.         {{ include(template_from_string(Page.meta_tags)) }}
  21.         {% if Page.description is not empty %}
  22.             <meta name="description" content="{{ Page.description }}">
  23.         {% endif %}
  24.     {% else %}
  25.         {{ include('meta.twig') }}
  26.     {% endif %}
  27.     {% if Page.author is not empty %}
  28.         <meta name="author" content="{{ Page.author }}">
  29.     {% endif %}
  30.     {% if Page.keyword is not empty %}
  31.         <meta name="keywords" content="{{ Page.keyword }}">
  32.     {% endif %}
  33.     {% if Page.meta_robots is not empty %}
  34.         <meta name="robots" content="{{ Page.meta_robots }}">
  35.     {% endif %}
  36.     {% if Page.meta_tags is not empty %}
  37.         {{ include(template_from_string(Page.meta_tags)) }}
  38.     {% endif %}
  39.     <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('assets/img/favicon_package/apple-touch-icon.png') }}">
  40.     <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('assets/img/favicon_package/favicon-32x32.png') }}">
  41.     <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('assets/img/favicon_package/favicon-16x16.png') }}">
  42.     <link rel="manifest" href="{{ asset('assets/site.webmanifest') }}">
  43.     <link rel="mask-icon" href="{{ asset('assets/img/favicon_package/safari-pinned-tab.svg') }}" color="#224b47">
  44.     <link rel="shortcut icon" href="{{ asset('assets/img/favicon_package/favicon.ico') }}">
  45.     <meta name="msapplication-TileColor" content="#224b47">
  46.     <meta name="msapplication-config" content="{{ asset('assets/browserconfig.xml') }}">
  47.     <meta name="theme-color" content="#ffffff">
  48.     <link rel="preconnect" href="https://fonts.googleapis.com">
  49.     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  50.     <link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600&display=swap" rel="stylesheet">
  51.     <link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  52.     {# コメントアウト インライン記述用
  53.     <link rel="stylesheet" href="{{ asset('assets/css/common_style.min.css') }}">
  54.     <style></style>
  55.      #}
  56.     <link rel="stylesheet" href="{{ asset('assets/css/default_style.css') }}" media="all">
  57.     {% block stylesheet %}{% endblock %}
  58.     <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
  59.     <script src="{{ asset('assets/js/bundle.js') }}" defer></script>
  60.     <script src="{{ asset('assets/js/main.js') }}" defer></script>
  61.     <script>
  62.         $(function() {
  63.             $.ajaxSetup({
  64.                 'headers': {
  65.                     'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  66.                 }
  67.             });
  68.         });
  69.     </script>
  70.     {# Layout: HEAD #}
  71.     {% if Layout.Head %}
  72.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  73.     {% endif %}
  74.     {# プラグイン用styleseetやmetatagなど #}
  75.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  76.     <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  77. </head>
  78. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  79. <div class="c-loading" id="js-loading"></div>
  80. {# Layout: BODY_AFTER #}
  81. {% if Layout.BodyAfter %}
  82.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  83. {% endif %}
  84. {% if isMaintenance is defined %}
  85.     {% if isMaintenance %}
  86.         <div class="c-maintenance">
  87.             <div class="c-maintenance__item">
  88.                 <i class="c-maintenance__icon material-icons">warning</i>
  89.                 <p class="c-maintenance__text">{{ 'front.under_maintenance'|trans }}</p>
  90.             </div>
  91.         </div>
  92.     {% endif %}
  93. {% endif %}
  94. <div class="l-layout">
  95.     {{ include('Block/nav_sp.twig') }}
  96.     <div class="l-layout__body" id="js-layout__body">
  97.         <span class="l-layout__body-bg" id="js-layout__body-bg"></span>
  98.         {# Layout: HEADER #}
  99.         {% if Layout.Header %}
  100.             <header class="l-header">
  101.                 {{ include('block.twig', {'Blocks': Layout.Header}) }}
  102.             </header>
  103.         {% endif %}
  104.         <main class="l-main">
  105.             {# Layout: CONTENTS_TOP #}
  106.             {% if Layout.ContentsTop %}
  107.                 <div class="l-main__top">
  108.                     {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  109.                 </div>
  110.             {% endif %}
  111.             <div class="l-main__middle">
  112.                 {# Layout: SIDE_LEFT #}
  113.                 {% if Layout.SideLeft %}
  114.                     <div class="l-main__middle-sub">
  115.                         {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  116.                     </div>
  117.                 {% endif %}
  118.                 {% set layoutRoleMain = 'l-main__middle-main' %}
  119.                 {% if Layout.ColumnNum == 2 %}
  120.                     {% set layoutRoleMain = 'l-main__middle-main is-2column' %}
  121.                 {% elseif Layout.ColumnNum == 3 %}
  122.                     {% set layoutRoleMain = 'l-main__middle-main is-3column' %}
  123.                 {% endif %}
  124.                 <div class="{{ layoutRoleMain }}">
  125.                     {# Layout: MAIN_TOP #}
  126.                     {% if Layout.MainTop %}
  127.                         <div class="l-main__middle-main-top">
  128.                             {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  129.                         </div>
  130.                     {% endif %}
  131.                     {# MAIN AREA #}
  132.                     {% block main %}{% endblock %}
  133.                     {# Layout: MAIN_Bottom #}
  134.                     {% if Layout.MainBottom %}
  135.                         <div class="l-main__middle-main-bottom">
  136.                             {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  137.                         </div>
  138.                     {% endif %}
  139.                 </div>
  140.                 {# Layout: SIDE_RIGHT #}
  141.                 {% if Layout.SideRight %}
  142.                     <div class="l-main__middle-sub">
  143.                         {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  144.                     </div>
  145.                 {% endif %}
  146.             </div>
  147.             {# Layout: CONTENTS_BOTTOM #}
  148.             {% if Layout.ContentsBottom %}
  149.                 <div class="l-main__bottom">
  150.                     {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  151.                 </div>
  152.             {% endif %}
  153.         </main>
  154.         {# Layout: CONTENTS_FOOTER #}
  155.         {% if Layout.Footer %}
  156.             <footer class="l-footer">
  157.                 {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  158.                 <div class="c-scroll-to-top is-hide" id="js-scroll-to-top">
  159.                     <div class="c-scroll-to-top__contents">
  160.                         <span class="c-scroll-to-top__text">{{'PAGE TOP'|trans}}</span>
  161.                     </div>
  162.                 </div>
  163.             </footer>
  164.         {% endif %}
  165.     </div>
  166. </div>
  167. {% if Layout.Drawer %}
  168.     {# Layout: DRAWER #}
  169.     <div class="l-drawer">
  170.         <div class="l-drawer__overlay" id="js-drawer__overlay"></div>
  171.         <aside class="l-drawer__body" id="js-drawer__body">
  172.             <div class="l-drawer__heading">
  173.                 <div class="l-drawer__button">
  174.                     <div class="l-drawer__button--close" id="js-drawer__button--close"></div>
  175.                 </div>
  176.             </div>
  177.             <div class="l-drawer__contents">
  178.                 <div class="l-drawer__contents-inner">
  179.                     {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  180.                     <dl class="l-drawer__sns">
  181.                         <dt class="l-drawer__sns-label">Follow us</dt>
  182.                         <dd class="l-drawer__sns-detail">
  183.                             <ul class="l-drawer__sns-list">
  184.                                 {# <li class="l-drawer__sns-list-item">
  185.                                     <a class="l-drawer__sns-link is-twitter" href="#" target="_blank" rel="noopener">Twitter</a>
  186.                                 </li> #}
  187.                                 <li class="l-drawer__sns-list-item">
  188.                                     <a class="l-drawer__sns-link is-instagram" href="https://www.instagram.com/the.supermarket.tokyo/" target="_blank" rel="noopener">Instagram</a>
  189.                                 </li>
  190.                                 <li class="l-drawer__sns-list-item">
  191.                                     <a class="l-drawer__sns-link is-facebook" href="https://www.facebook.com/tsmt.tokyo/" target="_blank" rel="noopener">Facebook</a>
  192.                                 </li>
  193.                             </ul>
  194.                         </dd>
  195.                     </dl>
  196.                 </div>
  197.             </div>
  198.         </aside>
  199.     </div>
  200. {% endif %}
  201. {% include('@common/lang.twig') %}
  202. {% block javascript %}{% endblock %}
  203. {# Layout: CLOSE_BODY_BEFORE #}
  204. {% if Layout.CloseBodyBefore %}
  205.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  206. {% endif %}
  207. {# プラグイン用Snippet #}
  208. {% if plugin_snippets is defined %}
  209.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  210. {% endif %}
  211. <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  212. </body>
  213. </html>