notice-details.blade.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. @extends('views.layouts.master')
  2. <link rel="stylesheet" href="{{ csset('/themes/pro/modunawa/resources/css/blog-standard.css') }}">
  3. @section('content')
  4. @php
  5. $post = $listType1Book['Book'][0]['Page'][0];
  6. $prePost = $listType1Book['Book'][1]['Page'];
  7. $nextPost = $listType1Book['Book'][2]['Page'];
  8. @endphp
  9. <!--=====================================
  10. BANNER PART START
  11. =======================================-->
  12. <section class="inner-section single-banner">
  13. <div class="container">
  14. <h2>공지사항</h2>
  15. <ol class="breadcrumb">
  16. <li class="breadcrumb-item"><a href="/">Home</a></li>
  17. <li class="breadcrumb-item active" aria-current="page">
  18. <a href="{{ route('my-page.notice.list') }}">공지사항</a>
  19. </li>
  20. </ol>
  21. </div>
  22. </section>
  23. <!--=====================================
  24. BANNER PART END
  25. =======================================-->
  26. <!--=====================================
  27. BLOG DETAILS PART START
  28. =======================================-->
  29. <section class="inner-section blog-details-part">
  30. <div class="container">
  31. <div class="row justify-content-center">
  32. <div class="col-lg-12 col-xl-10">
  33. <article class="blog-details">
  34. <div class="blog-details-content">
  35. <div class="blog-details-top">
  36. <div class="d-flex justify-content-between align-items-center">
  37. <div>
  38. <h2 class="blog-details-title">{{ $post['C5'] }}</h2>
  39. <ul class="blog-details-meta">
  40. <li>
  41. <i class="icofont-ui-calendar"></i>
  42. <span>{{ $post['C7'] }}</span>
  43. </li>
  44. <li>
  45. <i class="icofont-user-alt-3"></i>
  46. <span>{{ $post['C11'] }}</span>
  47. </li>
  48. <li>
  49. <i class="icofont-share-boxed"></i>
  50. <span>조회수 0</span>
  51. </li>
  52. </ul>
  53. </div>
  54. <div class="filter-btn mb-0 blog-standard">
  55. <button type="button" class="btn btn_prime" onclick="location.href='{{ route('my-page.notice.list') }}'">공지사항 리스트</button>
  56. </div>
  57. </div>
  58. </div>
  59. <!-- 내용 시작 -->
  60. <div class="blog-details-cont">
  61. {!! $post['C6'] !!}
  62. </div>
  63. <!--// 내용 끝 -->
  64. </div>
  65. </article>
  66. <div class="blog-details-navigate">
  67. <div class="row">
  68. <div class="col-md-6 col-lg-6">
  69. <div class="blog-details-prev">
  70. @if ($prePost)
  71. <h4><a href="{{ route('my-page.notice.show', $prePost[0]['Id']) }}">{{ $prePost[0]['C2'] }}</a></h4>
  72. <a class="nav-arrow" href="{{ route('my-page.notice.show', $prePost[0]['Id']) }}"><i class="icofont-arrow-left"></i>이전</a>
  73. @endif
  74. </div>
  75. </div>
  76. <div class="col-md-6 col-lg-6">
  77. <div class="blog-details-next">
  78. @if ($nextPost)
  79. <h4><a href="{{ route('my-page.notice.show', $nextPost[0]['Id']) }}">{{ $nextPost[0]['C2'] }}</a></h4>
  80. <a class="nav-arrow" href="{{ route('my-page.notice.show', $nextPost[0]['Id']) }}">다음<i class="icofont-arrow-right"></i></a>
  81. @endif
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </section>
  90. <!--=====================================
  91. BLOG DETAILS PART END
  92. =======================================-->
  93. @endsection