2026-05-07 23:31:33 +02:00
|
|
|
<x-app-layout>
|
2026-06-16 18:05:53 +02:00
|
|
|
<x-slot name="header">
|
|
|
|
|
<div class="flex items-center justify-between">
|
|
|
|
|
<h2 class="font-semibold text-xl text-gray-800 leading-tight">Proyectos</h2>
|
2026-05-07 23:31:33 +02:00
|
|
|
@can('create projects')
|
2026-06-16 18:05:53 +02:00
|
|
|
<a href="{{ route('projects.create') }}" class="btn btn-primary btn-sm gap-1" wire:navigate>
|
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4" />
|
|
|
|
|
</svg>
|
|
|
|
|
Nuevo proyecto
|
|
|
|
|
</a>
|
2026-05-07 23:31:33 +02:00
|
|
|
@endcan
|
|
|
|
|
</div>
|
2026-06-16 18:05:53 +02:00
|
|
|
</x-slot>
|
|
|
|
|
|
2026-06-17 15:33:02 +02:00
|
|
|
<div class="py-12">
|
2026-06-16 18:05:53 +02:00
|
|
|
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
|
|
|
|
|
@if(session('success'))
|
|
|
|
|
<div class="alert alert-success mb-4 shadow">
|
|
|
|
|
{{ session('success') }}
|
|
|
|
|
</div>
|
|
|
|
|
@endif
|
|
|
|
|
|
2026-06-17 15:33:02 +02:00
|
|
|
<div class="bg-white rounded-xl shadow p-6">
|
2026-06-16 18:05:53 +02:00
|
|
|
<livewire:project-table />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-05-07 23:31:33 +02:00
|
|
|
</div>
|
2026-05-09 23:14:48 +02:00
|
|
|
</x-app-layout>
|