feat(project): enhance project index with resource creation capabilities

- Added logic to determine if the user can create resources for each project and generate the corresponding route for adding resources based on the project's first environment.
- Updated the project index view to display the new resource creation option alongside existing project settings.
- Adjusted various views to include a margin-top adjustment for better layout consistency.
This commit is contained in:
Andras Bacsai
2025-10-07 17:17:31 +02:00
parent 618378714a
commit 201e30e849
9 changed files with 29 additions and 41 deletions

View File

@@ -11,7 +11,7 @@
@endcan
</div>
<div class="subtitle">All your servers are here.</div>
<div class="grid gap-4 lg:grid-cols-2">
<div class="grid gap-4 lg:grid-cols-2 -mt-1">
@forelse ($servers as $server)
<a href="{{ route('server.show', ['server_uuid' => data_get($server, 'uuid')]) }}"
@class([