refactored header.blade

This commit is contained in:
2025-03-16 00:41:01 +01:00
parent 78e7338aa8
commit 2f19be09de
7 changed files with 52 additions and 12 deletions
@@ -1,8 +1,14 @@
<section>
<x-header>
{{ __('Colors') }}
<x-slot name="headerright">
<a href="#" class="flex gap-2 hover:*:animate-spin"><flux:icon.arrow-path class="transition ease-in duration-300" />Refresh</a>
<a href="#" class="bg-zinc-500 hover:bg-green-500 text-zinc-50 hover:text-zinc-700 font-bold text-base py-2 px-4 rounded cursor-pointer">Create</a>
</x-slot>
</x-header>
<div class="container m-auto my-8 bg-zinc-700 rounded">
<form method="POST" class="flex flex-col gap-4" wire:submit="create">
@csrf