lasthourcloud/resources/views/projects.blade.php

23 lines
715 B
PHP
Raw Normal View History

2023-05-22 13:47:40 +00:00
<x-layout>
2023-05-24 13:47:04 +00:00
<h1 class="py-0">Projects</h1>
<div class="pb-10 text-sm breadcrumbs">
<ul>
<li>
All Projects
</li>
</ul>
</div>
<div class="flex flex-col gap-2">
@forelse ($projects as $project)
<a href="{{ route('project.show', ['project_uuid' => data_get($project, 'uuid')]) }}"
class="box">{{ $project->name }}</a>
@empty
2023-05-26 13:52:23 +00:00
<div x-data>
No project found. Use the <button x-on:click="$dispatch('slash')" class='text-white underline'>magic
bar</button> to create a new
project.
</div>
2023-05-24 13:47:04 +00:00
@endforelse
</div>
2023-05-22 13:47:40 +00:00
</x-layout>