Commit 1aa4d89b authored by Julien Sailly's avatar Julien Sailly
Browse files

feat: navbar improved

parent dcaae2e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ class DivesList extends Controller
{
    function index(): View
    {
        $dives = DivingSession::select('car_diving_session.DL_ID', 'DS_DATE', 'DL_DEPTH', 'CAR_SCHEDULE', 'DL_NAME')
        $dives = DivingSession::select('DS_CODE', 'car_diving_session.DL_ID', 'DS_DATE', 'DL_DEPTH', 'CAR_SCHEDULE', 'DL_NAME')
            ->join('car_diving_location', 'car_diving_session.DL_ID', '=', 'car_diving_location.DL_ID')
            ->get();
        return view('dives', ['dives' => $dives]);
+7 −7
Original line number Diff line number Diff line
@@ -13,10 +13,10 @@
                <!-- Navigation Links -->
                <div class="hidden space-x-8 sm:-my-px sm:ms-10 sm:flex">
                    <x-nav-link :href="route('homepage')" :active="request()->routeIs('homepage')">
                        {{ __('Homepage') }}
                        {{ __('Page d\'accueil') }}
                    </x-nav-link>
                    <x-nav-link :href="route('dives')" :active="request()->routeIs('chirps.index')">
                        {{ __('Chirps') }}
                    <x-nav-link :href="route('dives')" :active="request()->routeIs('dives')">
                        {{ __('Plongées') }}
                    </x-nav-link>
                </div>
            </div>
@@ -37,10 +37,10 @@
    <div :class="{'block': open, 'hidden': ! open}" class="hidden sm:hidden">
        <div class="pt-2 pb-3 space-y-1">
            <x-responsive-nav-link :href="route('homepage')" :active="request()->routeIs('homepage')">
                {{ __('Homepage') }}
                {{ __('Page d\'accueil') }}
            </x-responsive-nav-link>
            <x-responsive-nav-link :href="route('dives')" :active="request()->routeIs('chirps.index')">
                {{ __('Chirps') }}
            <x-responsive-nav-link :href="route('dives')" :active="request()->routeIs('dives')">
                {{ __('Plongées') }}
            </x-responsive-nav-link>
        </div>

@@ -53,7 +53,7 @@

            <div class="mt-3 space-y-1">
                <x-responsive-nav-link :href="route('dives')">
                    {{ __('Profile') }}
                    {{ __('Profil') }}
                </x-responsive-nav-link>

                <!-- Authentication -->
+1 −1
Original line number Diff line number Diff line
<h1 class="mb-6 font-bold md:text-5xl lg:text-6xl underline underline-offset-8">{{ $slot }}</h1>
<h1 class="mb-12 font-bold md:text-5xl lg:text-6xl underline underline-offset-8">{{ $slot }}</h1>
+2 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
            <tr>
                <th scope="col" class="px-6 py-3">Date</th>
                <th scope="col" class="px-6 py-3">Plage horaire</th>
                <th scope="col" class="px-6 py-3">Niveau requis</th>
                <th scope="col" class="px-6 py-3">Profondeur</th>
                <th scope="col" class="px-6 py-3">Lieu</th>
                <th scope="col" class="px-6 py-3">Actions</th>
            </tr>
@@ -16,7 +16,7 @@
                <tr class="odd:bg-white even:bg-gray-50 border-b">
                    <td class="px-6 py-4">{{ $dive->DS_DATE }}</td>
                    <td class="px-6 py-4">{{ $dive->CAR_SCHEDULE }}</td>
                    <td class="px-6 py-4">{{ $dive->DL_DEPTH }}</td>
                    <td class="px-6 py-4">{{ $dive->DL_DEPTH }}m</td>
                    <td class="px-6 py-4">{{ $dive->DL_NAME }}</td>
                    <td class="px-6 py-4"><x-button>S'inscrire</x-button><x-button>Voir les inscrits</x-button></td>
                </tr>