scripthost/resources/views/dashboard.blade.php
Javier Feliz b5ff255063
Some checks failed
tests / ci (push) Has been cancelled
linter / quality (push) Has been cancelled
Build & Push Docker Image to Registry / build (release) Successful in 4m21s
Update action with correct name
2025-07-22 22:24:21 -04:00

18 lines
741 B
PHP

<x-layouts.app :title="__('Dashboard')">
<div class="grid grid-cols-12 gap-3">
<div class="col-span-5">
<livewire:forms.script />
</div>
<div class="col-span-7 px-24 space-y-4">
<flux:heading size="xl">Your Scripts</flux:heading>
@foreach (auth()->user()->scripts as $s)
<div class="bg-gray-300 dark:bg-zinc-700 p-4 mb-4 space-y-4">
<flux:text size="xl">{{ $s->name }}</flux:text>
<div class="flex gap-4">
<flux:button variant="primary" :href="$s->viewUrl()" target="_blank" icon="eye">View</flux:button>
</div>
</div>
@endforeach
</div>
</div>
</x-layouts.app>