notice-list.blade.php 3.3 KB

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