Rewrite the layout and all Customers and Users pages with TallStackUI components and remove livewire/flux and its Boost skill. Fix the TallStackUI accessibility gaps found by the axe tests: - password reveal and theme switch have no accessible name: add <x-password-field> and keep the own theme toggle button - select.native label is not tied to the control: add aria-label - contrast: darker primary palette, soft-customized error colours and published alert/link colour classes; neutral buttons use subtle black - follow the system theme by default (localStorage key dark-theme) Load TallStackUI assets from the app URL so they work in the XAMPP subfolder, add Finnish TallStackUI strings, and drop inputmode=numeric from the business ID field so iOS keyboards show the hyphen. Co-Authored-By: Claude Opus 5.5 <[email protected]>
28 lines
709 B
PHP
28 lines
709 B
PHP
<?php
|
|
|
|
use Livewire\Attributes\Title;
|
|
use Livewire\Component;
|
|
|
|
new #[Title('Toiminnanohjaus')] class extends Component
|
|
{
|
|
public int $clickCount = 0;
|
|
|
|
public function incrementClickCount(): void
|
|
{
|
|
$this->clickCount++;
|
|
}
|
|
};
|
|
?>
|
|
|
|
<div class="mx-auto max-w-xl space-y-6 p-6">
|
|
<h1 class="text-2xl font-semibold">Toiminnanohjaus</h1>
|
|
|
|
<p class="text-sm text-zinc-600 dark:text-zinc-300">Livewire ja TallStackUI toimivat. Tämä on väliaikainen kokeilusivu.</p>
|
|
|
|
<x-button icon="plus" wire:click="incrementClickCount" text="Lisää klikkaus" />
|
|
|
|
<p role="status" aria-live="polite" aria-atomic="true" class="text-sm">
|
|
Klikattu {{ $clickCount }} kertaa
|
|
</p>
|
|
</div>
|