Initial work

This commit is contained in:
2025-08-30 16:11:06 +02:00
parent 4e5f154492
commit 774d1cf45f
41 changed files with 1217 additions and 281 deletions

View File

@@ -1,18 +1,40 @@
<x-layouts.app :title="__('Dashboard')">
<div class="flex h-full w-full flex-1 flex-col gap-4 rounded-xl">
<div class="flex justify-end">
<button class="bg-gray-600 p-2 text-white rounded-lg">
<a href="{{ route('bots.create') }}">
{{ __('Add Bot') }}
</a>
</button>
</div>
<div class="grid auto-rows-min gap-4 md:grid-cols-3">
<div class="relative aspect-video overflow-hidden rounded-xl border border-neutral-200 dark:border-neutral-700">
<x-placeholder-pattern class="absolute inset-0 size-full stroke-gray-900/20 dark:stroke-neutral-100/20" />
<div
class="relative aspect-video overflow-hidden rounded-xl border border-neutral-200 dark:border-neutral-700"
>
<div class="p-4">
<h2>Active Bots</h2>
</div>
</div>
<div class="relative aspect-video overflow-hidden rounded-xl border border-neutral-200 dark:border-neutral-700">
<x-placeholder-pattern class="absolute inset-0 size-full stroke-gray-900/20 dark:stroke-neutral-100/20" />
<div
class="relative aspect-video overflow-hidden rounded-xl border border-neutral-200 dark:border-neutral-700"
>
<div class="p-4"></div>
</div>
<div class="relative aspect-video overflow-hidden rounded-xl border border-neutral-200 dark:border-neutral-700">
<x-placeholder-pattern class="absolute inset-0 size-full stroke-gray-900/20 dark:stroke-neutral-100/20" />
<div
class="relative aspect-video overflow-hidden rounded-xl border border-neutral-200 dark:border-neutral-700"
>
<div class="p-4"></div>
</div>
</div>
<div class="relative h-full flex-1 overflow-hidden rounded-xl border border-neutral-200 dark:border-neutral-700">
<x-placeholder-pattern class="absolute inset-0 size-full stroke-gray-900/20 dark:stroke-neutral-100/20" />
<div
class="relative h-full flex-1 overflow-hidden rounded-xl border border-neutral-200 dark:border-neutral-700"
>
<div class="p-4">
<h2>All Bots</h2>
</div>
<div class="p-4">
@livewire('bots-list')
</div>
</div>
</div>
</x-layouts.app>