generated from thegrind/laravel-dockerized
15 lines
601 B
PHP
15 lines
601 B
PHP
<x-layouts.app :title="__('Dashboard')">
|
|
<div class="max-w-4xl mx-auto">
|
|
<livewire:forms.new-script />
|
|
<div class="mt-8">
|
|
@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> |