notice-details.blade.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. @extends('views.layouts.master')
  2. <link rel="stylesheet" href="{{ csset('/themes/point2u/pro/resources/css/blog-standard.css') }}">
  3. @section('content')
  4. @php
  5. //$post = $listType1Book['Book'][0]['Page'][0];
  6. $prePost = $listType1Book['Book'][0]['Page'];
  7. $nextPost = $listType1Book['Book'][1]['Page'];
  8. $postDetails = $postDetailsBook['PostDetailsPage'][0];
  9. @endphp
  10. <div class="sub notice">
  11. <div class="container">
  12. <div class="navi">
  13. <a href="/"><i class="fa-solid fa-house"></i> 홈</a> > 커뮤니티 > 공지사항
  14. </div>
  15. <div class="title">
  16. <h2>공지사항</h2>
  17. </div>
  18. </div>
  19. <!--=====================================
  20. BANNER PART START
  21. =======================================-->
  22. <!-- 필요없음 지움
  23. <section class="inner-section single-banner">
  24. <div class="container">
  25. <h2>공지사항</h2>
  26. <ol class="breadcrumb">
  27. <li class="breadcrumb-item"><a href="/">Home</a></li>
  28. <li class="breadcrumb-item active" aria-current="page">
  29. <a href="{{ route('notice.list') }}">공지사항</a>
  30. </li>
  31. </ol>
  32. </div>
  33. </section>
  34. -->
  35. <!--=====================================
  36. BANNER PART END
  37. =======================================-->
  38. <!--=====================================
  39. BLOG DETAILS PART START
  40. =======================================-->
  41. <section class="inner-section blog-details-part blog-standard-details">
  42. <div class="container">
  43. <div class="row justify-content-center">
  44. <div class="col-lg-12">
  45. <article class="blog-details">
  46. <div class="blog-details-content">
  47. <div class="blog-details-top">
  48. <div class="d-flex justify-content-between align-items-center">
  49. <div>
  50. <h2 class="blog-details-title">{{ $postDetails['PostTitle'] }}</h2>
  51. <ul class="blog-details-meta">
  52. <li>
  53. <i class="fa-regular fa-calendar-days"></i>
  54. <span>{{ $postDetails['OfficialDate'] }}</span>
  55. </li>
  56. <li>
  57. <i class="fa-solid fa-user"></i>
  58. <span>{{ $postDetails['NickName'] }}</span>
  59. </li>
  60. <li>
  61. <i class="fa-solid fa-share-nodes"></i>
  62. <span>조회수 {{ $postDetails['ViewCnt'] }}</span>
  63. </li>
  64. </ul>
  65. </div>
  66. </div>
  67. </div>
  68. <!-- 내용 시작 -->
  69. <div class="blog-details-cont">
  70. {!! $postDetails['PostContents'] !!}
  71. </div>
  72. <!--// 내용 끝 -->
  73. </div>
  74. </article>
  75. <div class="blog_bottom">
  76. <div class="blog-details-navigate">
  77. <div class="blog-details-prev">
  78. @if ($prePost)
  79. <!--<h4><a href="{{ route('notice.show', $prePost[0]['Id']) }}">{{ $prePost[0]['C2'] }}</a></h4>-->
  80. <a class="nav-arrow" href="{{ route('notice.show', $prePost[0]['C3']) }}"><i class="fa-solid fa-arrow-left"></i> 이전</a>
  81. @endif
  82. </div>
  83. <div class="blog-details-next">
  84. @if ($nextPost)
  85. <!--<h4><a href="{{ route('notice.show', $nextPost[0]['Id']) }}">{{ $nextPost[0]['C2'] }}</a></h4>-->
  86. <a class="nav-arrow" href="{{ route('notice.show', $nextPost[0]['C3']) }}">다음 <i class="fa-solid fa-arrow-right"></i></a>
  87. @endif
  88. </div>
  89. </div>
  90. <div class="btn_wrap">
  91. <button type="button" class="btn btn_basic" onclick="location.href='{{ route('notice.list') }}'">목록</button>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. </section>
  98. <!--=====================================
  99. BLOG DETAILS PART END
  100. =======================================-->
  101. </div>
  102. @endsection