новости + переработка текстов

This commit is contained in:
2026-07-26 21:09:32 +04:00
parent 5495e40539
commit cb234b17ac
41 changed files with 809 additions and 1939 deletions
+3 -2
View File
@@ -20,11 +20,12 @@ class NewsService
/**
* @return \Illuminate\Support\Collection<int, \App\Models\News>
*/
public function listForLanding(int $limit = 6): Collection
public function listForLanding(int $limit = 3): Collection
{
return News::query()
->published()
->ordered()
->latest('created_at')
->latest('id')
->limit($limit)
->get();
}