1to1-details.blade.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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>1:1 상담</h2>
  15. <ol class="breadcrumb">
  16. <li class="breadcrumb-item"><a href="index.html">Home</a></li>
  17. <li class="breadcrumb-item active" aria-current="page">1:1 상담</li>
  18. </ol>
  19. </div>
  20. </section>
  21. <!--=====================================
  22. BANNER PART END
  23. =======================================-->
  24. <!--=====================================
  25. BLOG DETAILS PART START
  26. =======================================-->
  27. <section class="inner-section blog-details-part qna-details">
  28. <div class="container">
  29. <div class="row justify-content-center">
  30. <div class="col-lg-12 col-xl-10">
  31. <article class="blog-details">
  32. <div class="blog-details-content">
  33. <div class="blog-details-top">
  34. <div class="d-flex justify-content-between align-items-center">
  35. <div>
  36. <h2 class="blog-details-title">{{ $post['C5'] }}</h2>
  37. <ul class="blog-details-meta">
  38. <li>
  39. <i class="icofont-ui-calendar"></i>
  40. <span>{{ $post['C7'] }}</span>
  41. </li>
  42. </ul>
  43. </div>
  44. <div class="filter-btn mb-0 blog-standard">
  45. <button type="button" class="btn btn_prime" onclick="location.href='{{ route('1to1.list') }}'">1:1 상담 리스트</button>
  46. </div>
  47. </div>
  48. </div>
  49. <!-- 내용 시작 -->
  50. <div class="blog-details-cont">
  51. {{ $post['C6'] }}
  52. </div>
  53. <!--// 내용 끝 -->
  54. </div>
  55. </article>
  56. <div class="blog-details-comment">
  57. <h3 class="comment-title">답변</h3>
  58. <ul class="comment-list">
  59. <li class="comment-item">
  60. <div class="comment-media">
  61. <h6 class="comment-meta">
  62. <a href="#">{{ $post['C13'] }}</a>
  63. <span>{{ $post['C11'] }}</span>
  64. </h6>
  65. </div>
  66. <p class="comment-desc">{!! $post['C12'] !!}</p>
  67. </li>
  68. </ul>
  69. </div>
  70. <div class="blog-details-navigate">
  71. <div class="row">
  72. <div class="col-md-6 col-lg-6">
  73. <div class="blog-details-prev">
  74. @if ($prePost)
  75. <h4><a href="{{ route('1to1.show', $prePost[0]['Id']) }}">{{ $prePost[0]['C2'] }}</a></h4>
  76. <a class="nav-arrow" href="{{ route('1to1.show', $prePost[0]['Id']) }}"><i class="icofont-arrow-left"></i>이전</a>
  77. @endif
  78. </div>
  79. </div>
  80. <div class="col-md-6 col-lg-6">
  81. <div class="blog-details-next">
  82. @if ($nextPost)
  83. <h4><a href="{{ route('1to1.show', $nextPost[0]['Id']) }}">{{ $nextPost[0]['C2'] }}</a></h4>
  84. <a class="nav-arrow" href="{{ route('1to1.show', $nextPost[0]['Id']) }}">다음<i class="icofont-arrow-right"></i></a>
  85. @endif
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. </section>
  94. <!--=====================================
  95. BLOG DETAILS PART END
  96. =======================================-->
  97. @endsection