diff --git a/resources/views/partials/comment.blade.php b/resources/views/partials/comment.blade.php new file mode 100644 index 0000000..491f0ee --- /dev/null +++ b/resources/views/partials/comment.blade.php @@ -0,0 +1,80 @@ +
{{ $comment->content }}
+ + @auth +{{ $post->content }}
+ @endif + @if($post->url) + {{ $post->url }} + @endif + + @auth + @if($post->user_id === auth()->id()) + + @endif + @endauth +No comments yet. Be the first to comment!
+ @endforelse +