diff --git a/app/Livewire/Color/Index.php b/app/Livewire/Color/Index.php
new file mode 100644
index 0000000..9d7f4b8
--- /dev/null
+++ b/app/Livewire/Color/Index.php
@@ -0,0 +1,46 @@
+validate();
+
+ // Create the color
+ Color::create([
+ $this->all()
+ ]);
+
+ // Clear the form
+ $this->reset(['name', 'hex']);
+ }
+
+ public function delete(Color $color) {
+ @Auth::check();
+ $color->delete();
+ }
+ public function render()
+ {
+ return view('livewire.color.index', [
+ 'colors' => Color::paginate(10)
+ ]);
+ }
+}
diff --git a/app/Livewire/Dashboard.php b/app/Livewire/Dashboard.php
index 72b15ab..22b6318 100644
--- a/app/Livewire/Dashboard.php
+++ b/app/Livewire/Dashboard.php
@@ -4,7 +4,9 @@ namespace App\Livewire;
use Livewire\Component;
use App\Models\Manufacturer;
+use Livewire\Attributes\title;
+#[title('Dashboard')]
class Dashboard extends Component
{
public function render()
diff --git a/resources/views/components/footer.blade.php b/resources/views/components/footer.blade.php
new file mode 100644
index 0000000..c0d846c
--- /dev/null
+++ b/resources/views/components/footer.blade.php
@@ -0,0 +1,5 @@
+ Copyright 2025 {{ config('app.name') }}
| Name | +Color | +Hex | ++ |
|---|---|---|---|
{{ $color->name }} |
+ + | {{ $color->hex }} |
+ + |