v0.10.10b - Added small fixs to pagination

This commit is contained in:
2020-08-19 10:43:59 +02:00
parent 2f003600c5
commit a8fc584304
7 changed files with 19 additions and 3 deletions
@@ -28,7 +28,7 @@
}
</style>
<main style="justify-content: unset;">
@foreach(\App\News::query()->orderBy("created_at", "desc")->get() as $new)
@foreach($news as $new)
<div class="card">
@if($new->resource_id !== null)
<div class="header" style="background-size: cover; background-image: url('{{ asset(\App\Resource::query()->where("id", "=", $new->resource_id)->first()->filename) }}');">