comments-box.blade.php 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <div>
  2. <form action="{{route("ideas.comments.store", $idea->id)}}" method="post">
  3. @csrf
  4. <div class="mb-3">
  5. <textarea id="comment-content" name="content" class="fs-6 form-control" rows="1"></textarea>
  6. </div>
  7. <div>
  8. <button type="submit" class="btn btn-primary btn-sm"> Post Comment </button>
  9. </div>
  10. </form>
  11. <hr>
  12. <div class="d-flex align-items-start">
  13. <img style="width:35px" class="me-2 avatar-sm rounded-circle"
  14. src="https://api.dicebear.com/6.x/fun-emoji/svg?seed=Luigi"
  15. alt="Luigi Avatar">
  16. <div class="w-100">
  17. <div class="d-flex justify-content-between">
  18. <h6 class="">Luigi
  19. </h6>
  20. <small class="fs-6 fw-light text-muted"> 3 hour
  21. ago</small>
  22. </div>
  23. <p class="fs-6 mt-3 fw-light">
  24. and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and
  25. Evil)
  26. by
  27. Cicero, written in 45 BC. This book is a treatise on the theory of ethics,
  28. very
  29. popular during the Renaissan
  30. </p>
  31. </div>
  32. </div>
  33. </div>