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