1to1-details.blade.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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 qna qna_view">
  10. <div class="container">
  11. <div class="navi">
  12. <a href="/"><i class="fa-solid fa-house"></i> 홈</a> > 커뮤니티 > Q&A
  13. </div>
  14. <div class="title">
  15. <h2>Q&A</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>1:1 상담</h2>
  25. <ol class="breadcrumb">
  26. <li class="breadcrumb-item"><a href="index.html">Home</a></li>
  27. <li class="breadcrumb-item active" aria-current="page">1:1 상담</li>
  28. </ol>
  29. </div>
  30. </section>
  31. -->
  32. <!--=====================================
  33. BANNER PART END
  34. =======================================-->
  35. <!--=====================================
  36. BLOG DETAILS PART START
  37. =======================================-->
  38. <section class="inner-section blog-details-part qna-details blog-standard-details">
  39. <div class="container">
  40. <div class="row justify-content-center">
  41. <div class="col-lg-12">
  42. <article class="blog-details">
  43. <div class="blog-details-content">
  44. <div class="blog-details-top">
  45. <div class="d-flex justify-content-between align-items-center">
  46. <div>
  47. <h2 class="blog-details-title">{{ $post['C5'] }}</h2>
  48. <ul class="blog-details-meta">
  49. <li>
  50. <i class="fa-regular fa-calendar-days"></i>
  51. <span>{{ $post['C7'] }}</span>
  52. </li>
  53. </ul>
  54. </div>
  55. </div>
  56. </div>
  57. <!-- 내용 시작 -->
  58. <div class="blog-details-cont">
  59. {{ $post['C6'] }}
  60. </div>
  61. <!--// 내용 끝 -->
  62. </div>
  63. </article>
  64. @if($post['C9'] === '1')
  65. <div class="blog-details-comment">
  66. <h3 class="comment-title">답변</h3>
  67. <ul class="comment-list">
  68. <li class="comment-item">
  69. <div class="comment-media">
  70. <h6 class="comment-meta">
  71. <!-- <a href="#">{{ $post['C13'] }}</a> -->
  72. <a href="#">{{ $post['C11'] }}</a>
  73. <span>{{ $post['C12'] }}</span>
  74. </h6>
  75. </div>
  76. <p class="comment-desc">{!! $post['C13'] !!}</p>
  77. </li>
  78. </ul>
  79. </div>
  80. @endif
  81. <div class="blog_bottom">
  82. <div class="blog-details-navigate">
  83. <div class="blog-details-prev">
  84. @if ($prePost)
  85. <!--<h4><a href="{{ route('1to1.show', $prePost[0]['Id']) }}">{{ $prePost[0]['C2'] }}</a></h4>-->
  86. <a class="nav-arrow" href="{{ route('1to1.show', $prePost[0]['Id']) }}"><i class="fa-solid fa-arrow-left"></i> 이전</a>
  87. @endif
  88. </div>
  89. <div class="blog-details-next">
  90. @if ($nextPost)
  91. <!--<h4><a href="{{ route('1to1.show', $nextPost[0]['Id']) }}">{{ $nextPost[0]['C2'] }}</a></h4>-->
  92. <a class="nav-arrow" href="{{ route('1to1.show', $nextPost[0]['Id']) }}">다음 <i class="fa-solid fa-arrow-right"></i></a>
  93. @endif
  94. </div>
  95. </div>
  96. <div class="btn_wrap filter-btn mb-0 blog-standard">
  97. <button type="button" class="btn btn_primary" onclick="location.href='{{ route('1to1.list') }}'">목록</button>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. </section>
  104. <!--=====================================
  105. BLOG DETAILS PART END
  106. =======================================-->
  107. </div>
  108. @endsection