hypothetical/resources/views/dashboard/pages/credits.blade.php

30 lines
896 B
PHP
Raw Normal View History

@extends('dashboard.core', [
'heading' => 'Credits'
])
@section('dashboard-body')
<div class="dashboard-credits">
<h2>Authors</h2>
<ul>
@foreach(App\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\Dashboard::$library_credits as $credit)
<li>
<a href="{{ $credit['url'] }}" target="_blank" rel="noreferrer">{{ $credit['name'] }}</a>
@if(array_key_exists('license', $credit))
(<a href="{{ $credit['license'] }}" target="_blank" rel="noreferrer">License</a>)
@endif
</li>
@endforeach
</ul>
</div>
@endsection