diff --git a/resources/views/articles/show.blade.php b/resources/views/articles/show.blade.php index 8dcb6142..b6d45894 100644 --- a/resources/views/articles/show.blade.php +++ b/resources/views/articles/show.blade.php @@ -231,13 +231,13 @@ class="inline-flex items-center py-2 px-4 border border-skin-base rounded-md sha @hasanyrole('admin|moderator') @endhasanyrole @endif @@ -337,7 +337,7 @@ class="w-screen max-w-xs"
diff --git a/resources/views/components/articles/card.blade.php b/resources/views/components/articles/card.blade.php index f8b5949c..ea07f90f 100644 --- a/resources/views/components/articles/card.blade.php +++ b/resources/views/components/articles/card.blade.php @@ -1,12 +1,26 @@ -@props(['article']) +@props([ + 'article', + 'isSummary' => false, + 'iconLink' => false, +]) -
+
$isSummary, + ]) +>
{{ $article->title }}
-
+
$isSummary, + ]) + >