Use the dashboard core blade to render the credits page

This commit is contained in:
Kevin MacMartin 2018-04-23 23:12:17 -04:00
parent 298df303b2
commit d0c85bd453

View file

@ -1,35 +1,23 @@
@extends('templates.dashboard') @extends('dashboard.core', [
'heading' => 'Credits'
])
@section('page-content') @section('dashboard-body')
<div class="container spark-screen"> <div class="dashboard-credits">
<div class="row"> <h2>Authors</h2>
<div class="col-12">
<div class="card">
<div class="card-header">
Credits
</div>
<div class="card-body dashboard"> <ul>
<div class="dashboard-credits"> @foreach(App\Models\Dashboard::$author_credits as $credit)
<h2>Authors</h2> <li><a href="{{ $credit['url'] }}" target="_blank" rel="noreferrer">{{ $credit['name'] }}</a></li>
@endforeach
</ul>
<ul> <h2>Libraries</h2>
@foreach(App\Models\Dashboard::$author_credits as $credit)
<li><a href="{{ $credit['url'] }}" target="_blank" rel="noreferrer">{{ $credit['name'] }}</a></li>
@endforeach
</ul>
<h2>Libraries</h2> <ul>
@foreach(App\Models\Dashboard::$library_credits as $credit)
<ul> <li><a href="{{ $credit['url'] }}" target="_blank" rel="noreferrer">{{ $credit['name'] }}</a></li>
@foreach(App\Models\Dashboard::$library_credits as $credit) @endforeach
<li><a href="{{ $credit['url'] }}" target="_blank" rel="noreferrer">{{ $credit['name'] }}</a></li> </ul>
@endforeach
</ul>
</div>
</div>
</div>
</div>
</div>
</div> </div>
@endsection @endsection