Point Docker and Coolify compose to the Laravel rebuild app so mahasiswa, dosen, and admin flows are served from the new Laravel public entrypoint.
42 lines
2.4 KiB
PHP
42 lines
2.4 KiB
PHP
<x-layouts.app :title="$title" :dashboard-layout="true">
|
|
<main class="min-h-screen bg-[#F9FAFB]">
|
|
<div class="dashboard-shell">
|
|
<aside class="dashboard-sidebar">
|
|
<div class="dashboard-sidebar-card">
|
|
<p class="text-xs font-semibold uppercase tracking-[0.18em] text-[#979797]">Menu Admin</p>
|
|
<div class="mt-4 space-y-1">
|
|
@foreach ($sidebar['main'] as $menu)
|
|
<a href="{{ $menu['href'] }}" class="dashboard-sidebar-link {{ !empty($menu['active']) ? 'dashboard-sidebar-link-active' : '' }}">
|
|
<span class="dashboard-sidebar-icon">@include('dashboard.partials.icon', ['icon' => $menu['icon']])</span>
|
|
<span>{{ $menu['title'] }}</span>
|
|
</a>
|
|
@endforeach
|
|
</div>
|
|
<div class="mt-6 space-y-5 border-t border-[#E5E7EB] pt-6">
|
|
@foreach ($sidebar['sections'] as $group)
|
|
<section class="dashboard-sidebar-group">
|
|
<div class="dashboard-sidebar-group-label">
|
|
<span class="dashboard-sidebar-icon">@include('dashboard.partials.icon', ['icon' => $group['icon']])</span>
|
|
<span>{{ $group['title'] }}</span>
|
|
</div>
|
|
<div class="dashboard-sidebar-submenu">
|
|
@foreach ($group['items'] as $item)
|
|
<a href="{{ $item['href'] }}" @if(!empty($item['external'])) target="_blank" rel="noreferrer" @endif class="dashboard-sidebar-link">
|
|
<span class="dashboard-sidebar-icon">@include('dashboard.partials.icon', ['icon' => $item['icon']])</span>
|
|
<span>{{ $item['title'] }}</span>
|
|
</a>
|
|
@endforeach
|
|
</div>
|
|
</section>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
</aside>
|
|
|
|
<div class="dashboard-content space-y-5">
|
|
{{ $slot }}
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</x-layouts.app>
|