Layout tweaks

This commit is contained in:
Matt Young 2024-07-19 23:08:22 -05:00
parent 0abd4c3507
commit d351bc4eb5
5 changed files with 38 additions and 21 deletions

View File

@ -11,8 +11,8 @@
<body class="h-full"> <body class="h-full">
<div class="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8"> <div class="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8">
<div class="sm:mx-auto sm:w-full sm:max-w-md"> <div class="sm:mx-auto sm:w-full sm:max-w-md">
<img class="mx-auto h-10 w-auto" src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=600" alt="Your Company"> {{-- <img class="mx-auto h-10 w-auto" src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=600" alt="Your Company">--}}
<h2 class="mt-6 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900">{{ $heading }}</h2> <h2 class="mt-6 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900">{{ $heading ?? '' }}</h2>
</div> </div>
{{ $slot }} {{ $slot }}

View File

@ -8,9 +8,9 @@
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8"> <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<div class="flex h-16 items-center justify-between"> <div class="flex h-16 items-center justify-between">
<div class="flex items-center"> <div class="flex items-center">
<div class="flex-shrink-0"> <div class="flex-shrink-0 text-white text-2xl font-semibold tracking-wider border-2 rounded-2xl py-1 px-3">
<img class="h-8 w-8" src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=300" {{-- <img class="h-8 w-8" src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=300" alt="Your Company">--}}
alt="Your Company"> {{ auditionSetting('auditionAbbreviation') }}
</div> </div>
<div class="hidden md:block"> <div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4"> <div class="ml-10 flex items-baseline space-x-4">
@ -38,21 +38,12 @@
</div> </div>
<div class="hidden md:block"> <div class="hidden md:block">
<div class="ml-4 flex items-center md:ml-6"> <div class="ml-4 flex items-center md:ml-6">
<button type="button" {{-- @include('components.layout.navbar.notification-bell')--}}
class="relative rounded-full bg-indigo-600 p-1 text-indigo-200 hover:text-white focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-indigo-600">
<span class="absolute -inset-1.5"></span>
<span class="sr-only">View notifications</span>
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round"
d="M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0"/>
</svg>
</button>
<!-- Profile dropdown --> <!-- Profile dropdown -->
<div> {{-- <div>--}}
<a href="/test">TEST PAGE</a> {{-- <a href="/test">TEST PAGE</a>--}}
</div> {{-- </div>--}}
<div <div
x-data="{ x-data="{
open: false, open: false,
@ -77,8 +68,8 @@
aria-haspopup="true"> aria-haspopup="true">
<span class="absolute -inset-1.5"></span> <span class="absolute -inset-1.5"></span>
<span class="sr-only">Open user menu</span> <span class="sr-only">Open user menu</span>
<img class="h-8 w-8 rounded-full" src="{{ Auth::user()->profile_image_url }}" alt=""> {{-- <img class="h-8 w-8 rounded-full" src="{{ Auth::user()->profile_image_url }}" alt="">--}}
{{-- <p class="text-white">{{ Auth::user()->full_name() }} &nbsp; &#9660;</p>--}} <p class="text-white ml-3">{{ Auth::user()->full_name() }} &nbsp; &#9660;</p>
</button> </button>
</div> </div>

View File

@ -0,0 +1,10 @@
<button type="button"
class="relative rounded-full bg-indigo-600 p-1 text-indigo-200 hover:text-white focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-indigo-600">
<span class="absolute -inset-1.5"></span>
<span class="sr-only">View notifications</span>
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round"
d="M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0"/>
</svg>
</button>

View File

@ -0,0 +1,15 @@
<x-layout.guest heading="">
<div class="bg-white py-24 mt-9 sm:py-32">
<div class="mx-auto max-w-7xl px-6 lg:px-8">
<div class="mx-auto max-w-2xl lg:text-center">
<h2 class="text-base font-semibold leading-7 text-indigo-600">AuditionAdmin</h2>
<p class="mt-2 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">{{ auditionSetting('auditionAbbreviation') }} Auditions</p>
{{-- <p class="mt-6 text-lg leading-8 text-gray-600">Welcome to AuditionAdmin for {{ auditionSetting('auditionName') }}</p>--}}
</div>
<div class="mx-auto mt-16 max-w-md sm:mt-20 lg:mt-12 text-center">
<x-form.button href="{{ route('results') }}">Results</x-form.button>
<x-form.button href="{{ route('home') }}" class="mt-4">Directors</x-form.button>
</div>
</div>
</div>
</x-layout.guest>

View File

@ -11,7 +11,8 @@ require __DIR__.'/user.php';
Route::get('/test', [TestController::class, 'flashTest'])->middleware('auth', 'verified'); Route::get('/test', [TestController::class, 'flashTest'])->middleware('auth', 'verified');
Route::view('/', 'welcome')->middleware('guest')->name('home'); Route::view('/home', 'welcome')->middleware('guest')->name('home');
Route::view('/', 'landing')->name('landing');
Route::get('/results', [App\Http\Controllers\ResultsPage::class, '__invoke'])->name('results'); Route::get('/results', [App\Http\Controllers\ResultsPage::class, '__invoke'])->name('results');
// Filter Related Routes // Filter Related Routes