notice-details.blade.php 3.4 KB

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