Besseres CSS; News

This commit is contained in:
2026-03-25 00:02:08 +01:00
parent ae9592902c
commit 7bf444123d
17 changed files with 310 additions and 107 deletions

View File

@@ -0,0 +1,15 @@
<?php
namespace App\Http\Controllers;
use App\Models\Blog;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\App;
class BlogController extends Controller
{
public static function blogPaginated(){
return Blog::where('language', App::getLocale())->where('published', 1)->orderBy('id', 'desc')->paginate(5);
}
}