@if($article->notes->where("pinned", true)->count() > 0)
merge(['class' => 'mb-2 mx-1 p-3 bg-body rounded shadow-sm']) }} >
Pinned notes
@foreach($article->notes->where("pinned", true) as $index => $note) @endforeach
@endif @if($article->notes->where("pinned", false)->count() > 0)
merge(['class' => 'my-0 mx-1 p-3 bg-body rounded shadow-sm']) }}>
Notes
@foreach($article->notes->where("pinned", false) as $index => $note) @endforeach
@endif @push('script-js-footer') @endpush