2023-08-29 14:31:46 +00:00
|
|
|
@extends('layouts.base')
|
|
|
|
@section('body')
|
|
|
|
@parent
|
2024-03-21 13:30:35 +00:00
|
|
|
@if (isSubscribed())
|
|
|
|
<livewire:layout-popups />
|
|
|
|
@endif
|
2023-12-11 11:03:32 +00:00
|
|
|
@auth
|
|
|
|
<livewire:realtime-connection />
|
|
|
|
@endauth
|
2024-03-20 11:54:06 +00:00
|
|
|
@auth
|
2024-03-22 10:34:15 +00:00
|
|
|
<div x-data="{ open: false }" x-cloak class="mx-auto max-w-7xl">
|
2024-03-20 11:54:06 +00:00
|
|
|
<div class="relative z-50 lg:hidden" :class="open ? 'block' : 'hidden'" role="dialog" aria-modal="true">
|
|
|
|
<div class="fixed inset-0 bg-black/80"></div>
|
|
|
|
<div class="fixed inset-0 flex">
|
2024-03-20 14:46:59 +00:00
|
|
|
<div class="relative flex flex-1 w-full mr-16 max-w-48 ">
|
2024-03-20 11:54:06 +00:00
|
|
|
<div class="absolute top-0 flex justify-center w-16 pt-5 left-full">
|
|
|
|
<button type="button" class="-m-2.5 p-2.5" x-on:click="open = !open">
|
|
|
|
<span class="sr-only">Close sidebar</span>
|
|
|
|
<svg class="w-6 h-6 text-white" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
|
|
|
|
stroke="currentColor" aria-hidden="true">
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
2024-03-20 14:46:59 +00:00
|
|
|
<div class="flex flex-col pb-2 overflow-y-auto min-w-48 dark:bg-coolgray-100 gap-y-5 scrollbar">
|
2024-03-20 11:54:06 +00:00
|
|
|
<x-navbar />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2024-03-20 14:46:59 +00:00
|
|
|
<div class="hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-48 lg:flex-col">
|
|
|
|
<div class="flex flex-col overflow-y-auto grow gap-y-5 scrollbar">
|
2024-03-20 11:54:06 +00:00
|
|
|
<x-navbar />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2024-03-20 14:46:59 +00:00
|
|
|
<div class="sticky top-0 z-40 flex items-center px-4 py-4 gap-x-6 sm:px-6 lg:hidden">
|
2024-03-20 11:54:06 +00:00
|
|
|
<button type="button" class="-m-2.5 p-2.5 dark:text-warning lg:hidden" x-on:click="open = !open">
|
|
|
|
<span class="sr-only">Open sidebar</span>
|
|
|
|
<svg class="w-6 h-6" xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 24 24">
|
|
|
|
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
|
|
stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
<div class="flex-1 text-xl font-bold leading-6 dark:text-white">Dashboard</div>
|
|
|
|
{{-- <a href="#">
|
|
|
|
<span class="sr-only">Your profile</span>
|
|
|
|
<img class="w-8 h-8 rounded-full bg-gray-50"
|
|
|
|
src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"
|
|
|
|
alt="">
|
|
|
|
</a> --}}
|
|
|
|
</div>
|
|
|
|
|
2024-03-20 14:46:59 +00:00
|
|
|
<main class="lg:pl-48">
|
2024-03-20 11:54:06 +00:00
|
|
|
<div>
|
|
|
|
<div class="p-4 sm:px-6 lg:px-8 lg:py-6">
|
|
|
|
{{ $slot }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
2024-03-19 14:37:16 +00:00
|
|
|
</div>
|
2024-03-20 11:54:06 +00:00
|
|
|
@endauth
|
2023-08-29 14:31:46 +00:00
|
|
|
@endsection
|