Refactor code and update UI components

This commit is contained in:
Andras Bacsai committed 2024-03-22 11:34:15 +01:00
1 parent ca9a2cb13a
commit 8b7e1e4169
51 files changed
+592 -609

No files matched your search

@@ -1,10 +1,10 @@
<div>
<form wire:submit="submit">
<div class="flex items-end gap-2">
<x-forms.input id="filename" label="Filename" />
<x-forms.button type="submit">Save</x-forms.button>
<x-forms.button isError wire:click.prevent="delete">Delete</x-forms.button>
</div>
<x-forms.textarea id="content" label="Content" />
</form>
</div>
<form wire:submit="submit">
<div class="flex items-end gap-2">
<x-forms.input id="filename" label="Filename" />
<x-forms.button type="submit">Save</x-forms.button>
<x-modal-confirmation isErrorButton buttonTitle="Delete">
This script will be deleted. It is not reversible. <br>Please think again.
</x-modal-confirmation>
</div>
<x-forms.textarea id="content" label="Content" />
</form>