Container Background

Adds a page container background, like the homepage.
This commit is contained in:
Refringe 2024-08-15 22:52:32 -04:00
parent 7fe1fad01b
commit 6b889d1d01
Signed by: Refringe
SSH Key Fingerprint: SHA256:t865XsQpfTeqPRBMN2G6+N8wlDjkgUCZF3WGW6O9N/k

View File

@ -1,5 +1,5 @@
{{-- TODO: This container should have the darker background, like the homepage. --}} <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="mx-auto max-w-7xl px-6 lg:px-8"> <div class="px-4 py-8 sm:px-6 lg:px-8 bg-white dark:bg-gray-900 overflow-hidden shadow-xl dark:shadow-gray-900 rounded-none sm:rounded-lg">
<h1 class="text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-200">{{ __('Mods') }}</h1> <h1 class="text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-200">{{ __('Mods') }}</h1>
<p class="mt-4 text-base text-slate-500 dark:text-gray-300">{!! __('Explore an enhanced <abbr title="Single Player Tarkov">SPT</abbr> experience with the mods available below. Check out the featured mods for a tailored solo-survival game with maximum immersion.') !!}</p> <p class="mt-4 text-base text-slate-500 dark:text-gray-300">{!! __('Explore an enhanced <abbr title="Single Player Tarkov">SPT</abbr> experience with the mods available below. Check out the featured mods for a tailored solo-survival game with maximum immersion.') !!}</p>
@ -119,7 +119,7 @@
{{-- Mod Listing --}} {{-- Mod Listing --}}
@if ($mods->isNotEmpty()) @if ($mods->isNotEmpty())
<div class="my-8 grid gap-6 grid-cols-2"> <div class="my-8 grid grid-cols-1 gap-6 lg:grid-cols-2">
@foreach ($mods as $mod) @foreach ($mods as $mod)
<x-mod-card :mod="$mod" /> <x-mod-card :mod="$mod" />
@endforeach @endforeach
@ -134,5 +134,5 @@
@endif @endif
{{ $mods->onEachSide(1)->links() }} {{ $mods->onEachSide(1)->links() }}
</div>
</div> </div>