fix(ui): replace the project layer-2 bar with a page header

The project navbar rendered a single Resources tab that was only ever active
on project.resource.index, a page that never rendered the bar, and rendered
nothing at all without an environment, leaving project and environment
settings with no title.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yannick SeegerandClaude Opus 5 committed 2026-08-12 14:20:38 +02:00
1 parent decf6c7a9a
commit a052b4b9e5
9 files changed
+96 -75

No files matched your search

@@ -1,8 +1,12 @@
<div>
<x-slot:title>{{ data_get_str($project, 'name')->limit(10) }} > Edit | Coolify</x-slot>
<x-project.navbar :project="$project" />
<div class="w-full max-w-[1180px]">
<header class="mb-5">
<h1 class="truncate text-[24px]! leading-7! font-semibold! tracking-tight!">{{ $project->name }}</h1>
<p class="mt-1 text-[13px] text-neutral-500 dark:text-fg-dim">Project settings</p>
</header>
<div class="mt-8 flex w-full max-w-[1180px] flex-col gap-6 lg:mt-3">
<div class="flex flex-col gap-6">
<form wire:submit="submit">
<x-unsaved-bar action="submit" />
<section class="application-settings-section">
@@ -31,5 +35,6 @@
<livewire:project.delete-project :disabled="! $project->isEmpty()" :project_id="$project->id" />
</div>
</section>
</div>
</div>
</div>