lasthourcloud/resources/views/projects.blade.php
Andras Bacsai 5286aa2b1d updates
2023-06-08 08:18:14 +02:00

16 lines
486 B
PHP

<x-layout>
<h1>Projects</h1>
<div class="pt-2 pb-10 text-sm">All Projects</div>
<div class="grid grid-cols-2 gap-2">
@forelse ($projects as $project)
<a href="{{ route('project.show', ['project_uuid' => data_get($project, 'uuid')]) }}"
class="box">{{ $project->name }}</a>
@empty
<div>
No project found.
<x-use-magic-bar />
</div>
@endforelse
</div>
</x-layout>