Core implementation: controllers, views, routes, models, import command

This commit is contained in:
Mark
2026-05-29 09:37:07 +03:00
parent 8e1fe4a2f5
commit 5813bc779a
24 changed files with 1361 additions and 37 deletions
@@ -0,0 +1,23 @@
@extends('layouts.app')
@section('title', 'New Releases — GameLog')
@section('content')
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-10">
<h1 class="text-2xl font-bold text-white mb-2">New Releases</h1>
<p class="text-slate-500 mb-8">The latest games in the GameLog database.</p>
@if($games->isEmpty())
<div class="text-center py-24 text-slate-500">
<p>No new releases found.</p>
</div>
@else
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-4">
@foreach($games as $game)
<x-game-card :game="$game" />
@endforeach
</div>
<div class="mt-8">{{ $games->links() }}</div>
@endif
</div>
@endsection