17 lines
645 B
PHP
17 lines
645 B
PHP
<x-layout>
|
|
<div class="flex items-center gap-2">
|
|
<h1>Environments</h1>
|
|
<livewire:project.delete-project :project_id="$project->id" :resource_count="$project->applications->count()" />
|
|
</div>
|
|
<div class="pt-2 pb-10 text-sm">{{ $project->name }}.</div>
|
|
<div class="grid lg:grid-cols-2 gap-2">
|
|
@forelse ($project->environments as $environment)
|
|
<a class="box" href="{{ route('project.resources', [$project->uuid, $environment->name]) }}">
|
|
{{ $environment->name }}
|
|
</a>
|
|
@empty
|
|
<p>No environments found.</p>
|
|
@endforelse
|
|
</div>
|
|
</x-layout>
|