notice-list.blade.php 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. @extends('views.layouts.master')
  2. <link rel="stylesheet" href="{{ csset('/themes/point2u/pro/resources/css/blog-standard.css') }}">
  3. @section('content')
  4. <div class="sub notice">
  5. <div class="container">
  6. <div class="navi">
  7. <a href="/"><i class="fa-solid fa-house"></i> 홈</a> > 커뮤니티 > 공지사항
  8. </div>
  9. <div class="title">
  10. <h2>공지사항</h2>
  11. </div>
  12. </div>
  13. <!--=====================================
  14. BANNER PART START
  15. =======================================-->
  16. <!-- 필요없음 지움
  17. <section class="inner-section single-banner">
  18. <div class="container">
  19. <h2>공지사항12</h2>
  20. <ol class="breadcrumb">
  21. <li class="breadcrumb-item"><a href="index.html">Home</a></li>
  22. <li class="breadcrumb-item active" aria-current="page">
  23. <a href="{{ route('notice.list') }}">공지사항</a>
  24. </li>
  25. </ol>
  26. </div>
  27. </section>
  28. -->
  29. <!--=====================================
  30. BANNER PART END
  31. =======================================-->
  32. <!--=====================================
  33. BLOG STANDARD PART START
  34. =======================================-->
  35. <section class="inner-section blog-standard">
  36. <div class="container">
  37. <div class="row justify-content-center">
  38. <div class="col-lg-12">
  39. <div class="row">
  40. <div class="col-lg-12">
  41. @component('views.partial.table-options')
  42. @endcomponent
  43. </div>
  44. <div class="col-lg-12 list">
  45. @forelse($noticePage['Page'] ?? [] as $notice)
  46. <div class="blog-card">
  47. <div class="blog-content">
  48. <ul class="blog-meta">
  49. <li>
  50. <i class="fa-regular fa-calendar-days"></i>
  51. <span>{{ $notice['C4'] }}</span>
  52. </li>
  53. <li>
  54. <i class="fa-solid fa-user"></i>
  55. <span>{{ $notice['C9'] }}</span>
  56. </li>
  57. <li>
  58. <i class="fa-solid fa-share-nodes"></i>
  59. <span>조회수 0</span>
  60. </li>
  61. </ul>
  62. <h4 class="blog-title">
  63. <a href="{{ route('notice.show', $notice['Id']) }}">{{ $notice['C6'] }}</a>
  64. </h4>
  65. <p class="blog-desc" style="display: none;">{{ $notice['C7'] }}</p>
  66. <button class="blog-btn mb-2" onclick="$('.blog-desc').toggle()">
  67. <span>자세히보기</span>
  68. <i class="fa-solid fa-arrow-right"></i>
  69. </button>
  70. </div>
  71. </div>
  72. @empty
  73. @endforelse
  74. </div>
  75. <div class="col-lg-12">
  76. <div class="bottom-paginate d-flex">
  77. {{ $noticePage['Page']->appends(['limit' => request('limit'), 'sort' => request('sort')])->links() }}
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. </section>
  85. <!--=====================================
  86. BLOG STANDARD PART END
  87. =======================================-->
  88. </div>
  89. @endsection