created Buildplate View & Route
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Livewire\Filament;
|
||||||
|
|
||||||
|
use Livewire\Attributes\Title;
|
||||||
|
use Livewire\Component;
|
||||||
|
|
||||||
|
#[title('Buildplates')]
|
||||||
|
class Buildplate extends Component
|
||||||
|
{
|
||||||
|
public function render()
|
||||||
|
{
|
||||||
|
return view('livewire.filament.buildplate');
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
<flux:navbar class="-mb-px max-lg:hidden">
|
<flux:navbar class="-mb-px max-lg:hidden">
|
||||||
<flux:navbar.item wire:navigate icon="home" href="{{ route('dashboard') }}">Dashboard</flux:navbar.item>
|
<flux:navbar.item wire:navigate icon="home" href="{{ route('dashboard') }}">Dashboard</flux:navbar.item>
|
||||||
<flux:navbar.item wire:navigate icon="shopping-bag" href="{{ route('orders.index') }}">Orders</flux:navbar.item>
|
<flux:navbar.item wire:navigate icon="shopping-bag" href="{{ route('orders.index') }}">Orders</flux:navbar.item>
|
||||||
|
|
||||||
|
|
||||||
<flux:dropdown>
|
<flux:dropdown>
|
||||||
<flux:navbar.item icon="circle-stack" icon-trailing="chevron-down">Filaments</flux:navbar.item>
|
<flux:navbar.item icon="circle-stack" icon-trailing="chevron-down">Filaments</flux:navbar.item>
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
<flux:navmenu.item wire:navigate icon="archive-box" href="{{ route('manufacturers.index') }}">Manufacturers</flux:navmenu.item>
|
<flux:navmenu.item wire:navigate icon="archive-box" href="{{ route('manufacturers.index') }}">Manufacturers</flux:navmenu.item>
|
||||||
<flux:navmenu.item wire:navigate icon="paint-brush" href="{{ route('colors.index') }}">Colors</flux:navmenu.item>
|
<flux:navmenu.item wire:navigate icon="paint-brush" href="{{ route('colors.index') }}">Colors</flux:navmenu.item>
|
||||||
<flux:navmenu.item wire:navigate icon="clipboard" href="{{ route('types.index') }}">Types</flux:navmenu.item>
|
<flux:navmenu.item wire:navigate icon="clipboard" href="{{ route('types.index') }}">Types</flux:navmenu.item>
|
||||||
|
<flux:navmenu.item wire:navigate icon="clipboard" href="{{ route('buildplates.index') }}">BuildPlates</flux:navmenu.item>
|
||||||
</flux:navmenu>
|
</flux:navmenu>
|
||||||
</flux:dropdown>
|
</flux:dropdown>
|
||||||
</flux:navbar>
|
</flux:navbar>
|
||||||
@@ -47,4 +48,4 @@
|
|||||||
</flux:dropdown>
|
</flux:dropdown>
|
||||||
|
|
||||||
</flux:header>
|
</flux:header>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
<div>
|
||||||
|
{{-- If your happiness depends on money, you will never be happy with yourself. --}}
|
||||||
|
</div>
|
||||||
@@ -8,6 +8,7 @@ use App\Livewire\Filament\Color;
|
|||||||
use App\Livewire\Filament\Type;
|
use App\Livewire\Filament\Type;
|
||||||
use App\Livewire\Filament\Manufacturer;
|
use App\Livewire\Filament\Manufacturer;
|
||||||
use App\Livewire\Filament\Filament;
|
use App\Livewire\Filament\Filament;
|
||||||
|
use App\Livewire\Filament\Buildplate;
|
||||||
|
|
||||||
use App\Livewire\Orders\Orders;
|
use App\Livewire\Orders\Orders;
|
||||||
|
|
||||||
@@ -26,6 +27,8 @@ Route::middleware([
|
|||||||
// Dashboard
|
// Dashboard
|
||||||
Route::get('/', Dashboard::class)->name('dashboard');
|
Route::get('/', Dashboard::class)->name('dashboard');
|
||||||
|
|
||||||
|
// Buildplates
|
||||||
|
Route::get('buildplates', Buildplate::class)->name('buildplates.index');
|
||||||
// Colors
|
// Colors
|
||||||
Route::get('colors', Color::class)->name('colors.index');
|
Route::get('colors', Color::class)->name('colors.index');
|
||||||
// Types
|
// Types
|
||||||
|
|||||||
Reference in New Issue
Block a user