v0.5.10 - Added support for menuplan as news creation

This commit is contained in:
frederikpyt
2020-08-07 10:58:50 +02:00
parent c02c1aacd3
commit b0eda7f8e7
4 changed files with 53 additions and 5 deletions
@@ -59,8 +59,8 @@
<main>
@foreach(\App\News::query()->orderBy("created_at", "desc")->get() as $new)
<div style="border: 4px solid rgba(0,0,0, 0.4); padding: 4px; margin-top: 1rem">
<h2 class="sde-blue mt-0 text-center">{{ $new->name }}</h2>
<div style="border: 4px solid rgba(0,0,0, 0.2); border-radius: 4px; padding: 4px; margin-top: 1.5rem">
<h2 class="sde-blue mt-0 mb-0 text-center" style="margin-bottom: 8px; ">{{ $new->name }}</h2>
{!! $new->content !!}
</div>
@endforeach