Adjust some spacing on dashboard home

This commit is contained in:
Alex Thomassen 2023-12-19 20:44:37 +00:00
parent 085f7af8f7
commit a978293c36
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE

View File

@ -5,35 +5,31 @@
</h2> </h2>
</x-slot> </x-slot>
<div class="py-12"> <div class="max-w-full mx-auto sm:px-6 lg:px-8">
<div class="max-w-full mx-auto sm:px-6 lg:px-8"> <div class="max-w-full mx-auto">
<div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg"> <div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg">
<div class="p-6 text-gray-900 dark:text-gray-100"> <div class="p-6 text-gray-900 dark:text-gray-100">
{{ __("You're logged in!") }} {{ __("You're logged in!") }}
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="max-w-full mx-auto sm:px-6 lg:px-8"> <div class="p-6 text-gray-900 dark:text-gray-100">
<div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg"> <h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight mb-2">
<div class="p-6 text-gray-900 dark:text-gray-100"> {{ __('Channels') }}
<h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight mb-2"> </h2>
{{ __('Channels') }}
</h2>
@if ($channels->isEmpty()) @if ($channels->isEmpty())
<p class="text-gray-600 dark:text-gray-400"> <p class="text-gray-600 dark:text-gray-400">
{{ __("You don't have access to any channels yet.") }} {{ __("You don't have access to any channels yet.") }}
</p> </p>
@else @else
<ul> <ul class="list-disc list-inside">
@foreach ($channels as $channel) @foreach ($channels as $channel)
<li><a href="{{ route('dashboard.channel', ['channel' => $channel->username()]) }}" class="text-amber-400">{{ $channel->username() }}</a></li> <li><a href="{{ route('dashboard.channel', ['channel' => $channel->username()]) }}" class="text-amber-400">{{ $channel->username() }}</a></li>
@endforeach @endforeach
</ul> </ul>
@endif @endif
</div>
</div> </div>
</div> </div>
</x-app-layout> </x-app-layout>