policy-or-privacy.blade.php 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. @extends('views.layouts.master')
  2. <link rel="stylesheet" href="{{ csset('/themes/pro/nawame/resources/css/privacy.css') }}">
  3. @section('content')
  4. <!--=====================================
  5. BANNER PART START
  6. =======================================-->
  7. <section class="inner-section single-banner" style="background: url(images/single-banner.jpg) no-repeat center;" id="item-1">
  8. <div class="container">
  9. <h2>사이트 {{ $title }}</h2>
  10. <ol class="breadcrumb">
  11. <li class="breadcrumb-item"><a href="/">Home</a></li>
  12. <li class="breadcrumb-item active" aria-current="page">사이트 {{ $title }}</li>
  13. </ol>
  14. </div>
  15. </section>
  16. <!--=====================================
  17. BANNER PART END
  18. =======================================-->
  19. <!--=====================================
  20. PRIVACY PART START
  21. =======================================-->
  22. <section class="inner-section privacy-part">
  23. <div class="container">
  24. <div class="row">
  25. <div class="col-lg-3">
  26. <nav class="nav nav-pills flex-column" id="scrollspy">
  27. <a class="nav-link-a {{ request()->routeIs('policy.show') ? 'active' : ''}}" href="{{ route('policy.index') }}">약관</a>
  28. <a class="nav-link-a {{ request()->routeIs('privacy.show') ? 'active' : ''}}" href="{{ route('privacy.index') }}">개인정보 보호정책</a>
  29. <a class="nav-link-a {{ request()->routeIs('e-finance.show') ? 'active' : ''}}" href="{{ route('e-finance.index') }}">전자금융 이용약관</a>
  30. <a class="nav-link-a {{ request()->routeIs('refund.show') ? 'active' : ''}}" href="{{ route('refund.index') }}">교환환불 정책</a>
  31. </nav>
  32. </div>
  33. <div class="col-lg-9">
  34. <div data-bs-spy="scroll" data-bs-target="#scrollspy" data-bs-offset="0" tabindex="0">
  35. <div class="scrollspy-content">
  36. <div class="d-flex align-items-center justify-content-between mb-4">
  37. <h3 class="mb-0">{{ $post['PostTitle'] }}</h3>
  38. <span class="text-muted tw-text-xl collapsed">{{ DateTime::createFromFormat("Ymd" , $post['OfficialDate'])->format('Y-m-d') }} {{ $post['OfficialTime'] }}</span>
  39. </div>
  40. <p>{!! $post['PostContents'] !!}</p>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. {{-- @php--}}
  46. {{-- switch ($post['PostTypeId'] ) {--}}
  47. {{-- case 11:--}}
  48. {{-- $routeName = 'policy.show';--}}
  49. {{-- break;--}}
  50. {{-- case 12:--}}
  51. {{-- $routeName = 'privacy.show';--}}
  52. {{-- break;--}}
  53. {{-- case 14:--}}
  54. {{-- $routeName = 'e-finance.show';--}}
  55. {{-- break;--}}
  56. {{-- case 15:--}}
  57. {{-- $routeName = 'refund.show';--}}
  58. {{-- break;--}}
  59. {{-- }--}}
  60. {{-- @endphp--}}
  61. {{-- @if (count($policyPage['Page']) - 1 > $currKey)--}}
  62. {{-- @php $beforePolicy = $policyPage['Page'][$currKey + 1]; @endphp--}}
  63. {{-- <div class="d-flex justify-content-end mt-1">--}}
  64. {{-- <a href="{{ route($routeName, $beforePolicy['PostSlug'] ?: $beforePolicy['Id']) }}" class="btn btn-outline-secondary before-police-btn">--}}
  65. {{-- {{ DateTime::createFromFormat("Ymd" , $beforePolicy['OfficialDate'])->format(__('Y년 m월 d일')) }} {{ $title }} @lang('보기')--}}
  66. {{-- </a>--}}
  67. {{-- </div>--}}
  68. {{-- @elseif (count($policyPage['Page']) > 1)--}}
  69. {{-- @php $beforePolicy = $policyPage['Page'][0]; @endphp--}}
  70. {{-- <div class="d-flex justify-content-end mt-1">--}}
  71. {{-- <a href="{{ route($routeName, $beforePolicy['PostSlug'] ?: $beforePolicy['Id']) }}" class="btn btn-outline-secondary before-police-btn">--}}
  72. {{-- {{ DateTime::createFromFormat("Ymd" , $beforePolicy['OfficialDate'])->format(__('Y년 m월 d일')) }} {{ $title }} @lang('보기')--}}
  73. {{-- </a>--}}
  74. {{-- </div>--}}
  75. {{-- @endif--}}
  76. </div>
  77. </section>
  78. <!--=====================================
  79. PRIVACY PART END
  80. =======================================-->
  81. <!--=====================================
  82. JS LINK PART START
  83. =======================================-->
  84. <!-- VENDOR -->
  85. {{--<script src="vendor/bootstrap/jquery-1.12.4.min.js"></script>--}}
  86. {{--<script src="vendor/bootstrap/popper.min.js"></script>--}}
  87. {{--<script src="vendor/bootstrap/bootstrap.min.js"></script>--}}
  88. {{--<script src="vendor/countdown/countdown.min.js"></script>--}}
  89. {{--<script src="vendor/niceselect/nice-select.min.js"></script>--}}
  90. {{--<script src="vendor/slickslider/slick.min.js"></script>--}}
  91. {{--<script src="vendor/venobox/venobox.min.js"></script>--}}
  92. {{--<!-- CUSTOM -->--}}
  93. {{--<script src="js/nice-select.js"></script>--}}
  94. {{--<script src="js/countdown.js"></script>--}}
  95. {{--<script src="js/accordion.js"></script>--}}
  96. {{--<script src="js/venobox.js"></script>--}}
  97. {{--<script src="js/slick.js"></script>--}}
  98. {{--<script src="js/main.js"></script>--}}
  99. <!--=====================================
  100. JS LINK PART END
  101. =======================================-->
  102. @endsection