Admin Modules

Layout

<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
@include('partials.head')
</head>
<body>
<div id="app" class="bg-gray-200">
<admin-layout has-search search-endpoint="{{ route('admin.search') }}">
<template v-slot:nav>
<div>
<vertical-nav href="{{ route('admin.dashboard.index') }}" {{ add_class_by_controller('App\Http\Controllers\Admin\DashboardController', 'is-active') }} icon="home">
Dashboard
</vertical-nav>
<vertical-nav href="{{ route('admin.users.index') }}" {{ add_class_by_controller('App\Http\Controllers\Admin\UserController', 'is-active') }} icon="people">
Users
</vertical-nav>
<vertical-nav href="{{ route('admin.notifications.index') }}" {{ add_class_by_controller('\Vortechron\Essentials\Http\Controllers\NotificationController', 'is-active') }} icon="email">
Notifications
</vertical-nav>
<vertical-nav href="{{ route('admin.settings.index') }}" {{ add_class_by_controller('\Vortechron\Essentials\Http\Controllers\SettingController', 'is-active') }} href icon="settings_input_component">
Settings
</vertical-nav>
<vertical-nav v-post="'{{ route('logout') }}'" icon="arrow_back">
Logout
</vertical-nav>
</div>
<div class="mt-8">
<h3
class="px-3 text-xs leading-4 font-semibold text-gray-500 uppercase tracking-wider"
id="projects-headline"
>
Projects
</h3>
<div
class="mt-1"
role="group"
aria-labelledby="projects-headline"
>
<a
href="#"
class="group flex items-center px-3 py-2 text-sm leading-5 font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50 focus:outline-none focus:bg-gray-100 transition ease-in-out duration-150"
>
<span class="truncate">
Website redesign
</span>
</a>
<a
href="#"
class="mt-1 group flex items-center px-3 py-2 text-sm leading-5 font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50 focus:outline-none focus:bg-gray-100 transition ease-in-out duration-150"
>
<span class="truncate">
GraphQL API
</span>
</a>
<a
href="#"
class="mt-1 group flex items-center px-3 py-2 text-sm leading-5 font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50 focus:outline-none focus:bg-gray-100 transition ease-in-out duration-150"
>
<span class="truncate">
Customer migration guides
</span>
</a>
<a
href="#"
class="mt-1 group flex items-center px-3 py-2 text-sm leading-5 font-medium text-gray-600 rounded-md hover:text-gray-900 hover:bg-gray-50 focus:outline-none focus:bg-gray-100 transition ease-in-out duration-150"
>
<span class="truncate">
Profit sharing program
</span>
</a>
</div>
</div>
</template>
@yield('content')
</admin-layout>
</div>
</body>
</html>