diff --git a/app/Containers/Article/Tasks/GetPostsTask.php b/app/Containers/Article/Tasks/GetPostsTask.php index bd6ceaf..4b0f6ed 100644 --- a/app/Containers/Article/Tasks/GetPostsTask.php +++ b/app/Containers/Article/Tasks/GetPostsTask.php @@ -51,7 +51,7 @@ class GetPostsTask }); $sort = $filters['sort'] ?? 'desc'; - return $query->orderBy('publish_at', $sort)->paginate(9)->withQueryString(); + return $query->orderBy('publish_at', $sort)->paginate(10)->withQueryString(); }); } } \ No newline at end of file diff --git a/resources/js/Pages/Client/Posts/Index.vue b/resources/js/Pages/Client/Posts/Index.vue index 10a246c..3db1468 100644 --- a/resources/js/Pages/Client/Posts/Index.vue +++ b/resources/js/Pages/Client/Posts/Index.vue @@ -129,7 +129,7 @@ export default {
-
+
diff --git a/resources/js/componentss/features/posts/components/PostListItem.vue b/resources/js/componentss/features/posts/components/PostListItem.vue index d1495e4..ff6a3d0 100644 --- a/resources/js/componentss/features/posts/components/PostListItem.vue +++ b/resources/js/componentss/features/posts/components/PostListItem.vue @@ -58,20 +58,18 @@

-
- -
- - {{ textLimit(post.authors[0], 20) }} - -
+
+ + + {{ textLimit(post.authors[0], 40) }} - - {{ post.created_post }} + + + + + {{ post.created_post }} + +