feat: Add lastDeploymentInfo and lastDeploymentLink props to breadcrumbs and status components

This commit is contained in:
Andras Bacsai
2024-05-17 10:12:13 +02:00
parent 5b56249d12
commit 7a618ef89c
4 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
@props([
'lastDeploymentInfo' => null,
'lastDeploymentLink' => null,
'resource' => null,
])
<nav class="flex pt-2 pb-10">
<ol class="flex flex-wrap items-center gap-y-1">
<li class="inline-flex items-center">
@@ -15,7 +20,6 @@
</li>
<li>
<div class="flex items-center">
<a class="text-xs truncate lg:text-sm"
href="{{ route('project.resource.index', ['environment_name' => $this->parameters['environment_name'], 'project_uuid' => $this->parameters['project_uuid']]) }}">{{ $this->parameters['environment_name'] }}</a>
<svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold dark:text-warning" fill="currentColor"