Initial setup for clients views
This commit is contained in:
parent
c5485a37bb
commit
1f383e69a9
|
|
@ -0,0 +1,3 @@
|
|||
<x-layouts::app :title="__('Clients')">
|
||||
|
||||
</x-layouts::app>
|
||||
|
|
@ -1,15 +1,15 @@
|
|||
@props([
|
||||
'sidebar' => false,
|
||||
])
|
||||
|
||||
{{--TODO: Update Logo--}}
|
||||
@if($sidebar)
|
||||
<flux:sidebar.brand name="Laravel Starter Kit" {{ $attributes }}>
|
||||
<flux:sidebar.brand name="eBandroom Billing" {{ $attributes }}>
|
||||
<x-slot name="logo" class="flex aspect-square size-8 items-center justify-center rounded-md bg-accent-content text-accent-foreground">
|
||||
<x-app-logo-icon class="size-5 fill-current text-white dark:text-black" />
|
||||
</x-slot>
|
||||
</flux:sidebar.brand>
|
||||
@else
|
||||
<flux:brand name="Laravel Starter Kit" {{ $attributes }}>
|
||||
<flux:brand name="eBandroom Billing" {{ $attributes }}>
|
||||
<x-slot name="logo" class="flex aspect-square size-8 items-center justify-center rounded-md bg-accent-content text-accent-foreground">
|
||||
<x-app-logo-icon class="size-5 fill-current text-white dark:text-black" />
|
||||
</x-slot>
|
||||
|
|
|
|||
|
|
@ -15,6 +15,11 @@
|
|||
<flux:sidebar.item icon="home" :href="route('dashboard')" :current="request()->routeIs('dashboard')" wire:navigate>
|
||||
{{ __('Dashboard') }}
|
||||
</flux:sidebar.item>
|
||||
|
||||
<flux:sidebar.item icon="user" :href="route('clients.index')" :current="request()->routeIs('clients.*')" wire:navigate>
|
||||
{{ __('Clients') }}
|
||||
</flux:sidebar.item>
|
||||
|
||||
</flux:sidebar.group>
|
||||
</flux:sidebar.nav>
|
||||
|
||||
|
|
|
|||
|
|
@ -10,4 +10,8 @@ Route::view('dashboard', 'dashboard')
|
|||
->middleware(['auth', 'verified'])
|
||||
->name('dashboard');
|
||||
|
||||
Route::view('clients', 'clients.index')
|
||||
->middleware(['auth', 'verified'])
|
||||
->name('clients.index');
|
||||
|
||||
require __DIR__.'/settings.php';
|
||||
|
|
|
|||
Loading…
Reference in New Issue