Initial Commit
The initial public commit of MVGL website code.
This commit is contained in:
commit
b39ecf1638
2043 changed files with 215154 additions and 0 deletions
34
resources/views/pages/platforms/index.blade.php
Normal file
34
resources/views/pages/platforms/index.blade.php
Normal file
|
@ -0,0 +1,34 @@
|
|||
@php
|
||||
use App\Models\Platform;
|
||||
|
||||
$platforms = Platform::all()->sortBy('name');
|
||||
@endphp
|
||||
<x-base-layout>
|
||||
|
||||
<!--begin::Row-->
|
||||
<div class="row gy-5 g-xl-8">
|
||||
<!--begin::Col-->
|
||||
<div class="col-xxl-8">
|
||||
<div class="card shadow-sm mb-2">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Platforms</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<ul>
|
||||
@foreach ($platforms as $platform)
|
||||
|
||||
@php
|
||||
$platformName = str_replace('/', '_', str_replace(' ', '_', $platform->name));
|
||||
@endphp
|
||||
|
||||
<li><a href="{{ route('platform.show', $platformName) }}">{{ $platform->name }}</a></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Col-->
|
||||
</div>
|
||||
<!--end::Row-->
|
||||
|
||||
</x-base-layout>
|
Loading…
Add table
Add a link
Reference in a new issue