master.blade.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <script src="{{ csset('/js/plugins/vue/vue@2.6.11.js') }}"></script>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
  8. <meta name="csrf-token" content="{{ csrf_token() }}">
  9. <meta property="og:image" content="/public/themes/kbgolf/pro/resources/images/og_img.png">
  10. @stack('meta')
  11. @php $seoHtml = App\Helpers\Utils::getSeoHtml(); @endphp
  12. @empty ($seoHtml)
  13. <title>{{ env('APP_NAME') }}</title>
  14. <link rel="icon" href="{{ msset(env('FAVICON_PATH')) }}" type="image/x-icon">
  15. @else
  16. {!! $seoHtml !!}
  17. @endempty
  18. <!-- Google Fonts -->
  19. <link href="https://fonts.googleapis.com/css?family=Ubuntu:300,300i,400,400i,500,500i,700,700i&display=swap" rel="stylesheet">
  20. @php $basePath = '/themes/kbgolf/pro/resources'; @endphp
  21. @include('views.partial.site.meta', [ 'basePath' => $basePath ])
  22. @include('views.partial.site.scripts', [ 'basePath' => $basePath ])
  23. @stack('css')
  24. </head>
  25. <!-- page wrapper -->
  26. <body class="boxed_wrapper">
  27. @inject('callApiService', 'App\Services\CallApiService')
  28. @php
  29. $mainMenuPerm = App\Helpers\Utils::getProMainMenu();
  30. $mainMenuPermPage = collect($mainMenuPerm['Page'])->filter(function ($menu) {
  31. return $menu['Sort'] === 'primary';
  32. })->toArray();
  33. $topMenuPermPage = collect($mainMenuPerm['Page'])->filter(function ($menu) {
  34. return $menu['Sort'] === 'top';
  35. })->toArray();
  36. $mainMenuList = App\Helpers\Utils::formatMenuList($mainMenuPermPage, 'MenuCode');
  37. $topMenuList = App\Helpers\Utils::formatMenuList($topMenuPermPage, 'MenuCode');
  38. @endphp
  39. @include('layouts.js-lang')
  40. @include('vendor.lara-izitoast.toast')
  41. <div id="quick-launcher"></div>
  42. <div id="quick-launcher">
  43. <div class="dabory-quick-B quick-launcher quick_kbgolf">
  44. <ul>
  45. <li>
  46. <button type="button" class="return-to-bottom">
  47. <span class="ico ico-bottom"></span>
  48. </button>
  49. </li>
  50. <li>
  51. <dl class="quick_tel">
  52. <dt> 회원권 문의</dt>
  53. <dd>
  54. 본사
  55. <strong>02-572-1888</strong>
  56. </dd>
  57. <dd>
  58. 충청지사
  59. <strong>044-863-1889</strong>
  60. </dd>
  61. </dl>
  62. </li>
  63. <li>
  64. <button type="button" class="show-widget-btn" data-widget="coupon">
  65. <img src="/themes/kbgolf/pro/resources/images/icn_navertalk.png" alt="네네이버 톡톡">
  66. <p class="txt">네이버 톡톡</p>
  67. </button>
  68. </li>
  69. <li>
  70. <button type="button" class="show-widget-btn" data-widget="contact-us">
  71. <img src="/themes/kbgolf/pro/resources/images/icn_kakaotalk.png" alt="카톡 플러스 친구">
  72. <p class="txt">카톡 플러스 친구</p>
  73. </button>
  74. </li>
  75. <li>
  76. <button type="button" class="return-to-top">
  77. <span class="ico ico-top"></span>
  78. </button>
  79. </li>
  80. </ul>
  81. </div>
  82. </div>
  83. <!-- main header -->
  84. @include('views.layouts.main-header')
  85. <!-- main-header end -->
  86. <!-- Mobile Menu -->
  87. @include('views.layouts.mobile-menu')
  88. <!-- End Mobile Menu -->
  89. <div id="app">
  90. @yield('content')
  91. </div>
  92. <!-- main-footer -->
  93. @include('views.layouts.footer')
  94. <!-- main-footer end -->
  95. <!-- sidebar cart item -->
  96. @include('views.layouts.sidebar')
  97. <!-- END sidebar widget item -->
  98. <!--Scroll to top-->
  99. <button class="scroll-top scroll-to-target" data-target="html">
  100. <span class="fa fa-arrow-up"></span>
  101. </button>
  102. <div id="element_in_which_to_insert">
  103. @yield('modal')
  104. @stack('modal')
  105. </div>
  106. @yield('js')
  107. @stack('js')
  108. <script src="{{ csset($basePath . '/js/script.js') }}"></script>
  109. </body><!-- End of .page_wrapper -->
  110. <script>
  111. window.env = (@json($_ENV));
  112. window.Member = @json(session('member'));
  113. window.CodeTitle = @json($codeTitle ?? '');
  114. </script>
  115. {{--<script src="{{ asset('/dabory/js/widget.js?serverUrl=https://safebanner.daboryhost.com&api23Key=XJAL+1IF4/EgIVcuTvcAOoH9ASKjnQje71boZaGpzwVyVcCoVRsxzyMee5goucaC6cWxzLdEcYfIkfj6bLukvs9+lOeUa3CLqpCbhd7v99Bxm011kxUllDLY8/NrXFVn8aa1e57jygREHo7xF2LWOJ9LHc2idRmQ9rXbI46sgiZBwPmi6E/mACBIjUcKq+uviA==') }}"></script>--}}
  116. <script>
  117. // $(document).ready(function () {
  118. // $.fn.widget.loadModule(function () {
  119. // $('#quick-launcher').quick()
  120. // })
  121. // });
  122. </script>
  123. </html>