Made it possible to create projects.

This commit is contained in:
2024-04-11 19:43:01 +05:00
parent c96dabbd09
commit e41f63f94f
121 changed files with 3298 additions and 78 deletions

View File

@@ -9,6 +9,23 @@
<span class="sidebar-text">{{ __('admin-sections.Dashboard') }}</span>
</a>
</li>
@can('viewAny', \App\Models\Project::class)
<li @class([
'nav-item',
'active' => request()->route()->named('admin.projects.*'),
])>
<a href="{{ route('admin.projects.index') }}" class="nav-link">
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" data-slot="icon" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" d="M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z"></path>
</svg>
</span>
<span class="sidebar-text">{{ __('admin-sections.Projects') }}</span>
</a>
</li>
@endcan
@can('viewAny', \App\Models\User::class)
<li @class([
'nav-item',