97 lines
4.2 KiB
PHP
97 lines
4.2 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="id">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Dashboard Karyawan</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<script src="https://unpkg.com/@phosphor-icons/web"></script>
|
|
<script>
|
|
tailwind.config = {
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
inter: ['Inter', 'sans-serif'],
|
|
},
|
|
animation: {
|
|
'fade-in': 'fadeIn 1s ease-out forwards',
|
|
'slide-up': 'slideUp 0.8s ease-out forwards'
|
|
},
|
|
keyframes: {
|
|
fadeIn: {
|
|
'0%': { opacity: '0' },
|
|
'100%': { opacity: '1' },
|
|
},
|
|
slideUp: {
|
|
'0%': { transform: 'translateY(20px)', opacity: '0' },
|
|
'100%': { transform: 'translateY(0)', opacity: '1' },
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-gray-50 min-h-screen">
|
|
|
|
<!-- Header -->
|
|
<div class="bg-white shadow px-6 py-4 flex justify-between items-center">
|
|
<h1 class="text-2xl font-bold text-blue-600">Dashboard Karyawan</h1>
|
|
<div class="text-gray-600 text-sm">
|
|
Login sebagai: <strong>{{ Auth::user()->name }}</strong>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Main Content -->
|
|
<div class="max-w-6xl mx-auto px-4 py-10 animate-fade-in">
|
|
<!-- Intro -->
|
|
<div class="mb-8 animate-slide-up">
|
|
<h2 class="text-3xl font-bold text-gray-800 mb-2">Halo, {{ Auth::user()->name }}</h2>
|
|
<p class="text-gray-500">Selamat datang di dashboard studio. Pilih menu berikut untuk melanjutkan tugas Anda.</p>
|
|
</div>
|
|
|
|
<!-- Menu Cards -->
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 animate-slide-up">
|
|
<a href="{{ route('user.bookings') }}" class="flex items-center gap-4 p-5 bg-blue-50 hover:bg-blue-100 rounded-lg shadow transition-all">
|
|
<i class="ph ph-calendar-check text-blue-600 text-3xl"></i>
|
|
<div>
|
|
<h3 class="text-lg font-semibold text-gray-700">Lihat Booking Pending</h3>
|
|
<p class="text-sm text-gray-500">Daftar booking yang perlu ditindaklanjuti.</p>
|
|
</div>
|
|
</a>
|
|
<a href="{{ route('user.upload.create') }}" class="flex items-center gap-4 p-5 bg-blue-50 hover:bg-blue-100 rounded-lg shadow transition-all">
|
|
<i class="ph ph-upload-simple text-blue-600 text-3xl"></i>
|
|
<div>
|
|
<h3 class="text-lg font-semibold text-gray-700">Upload Foto Customer</h3>
|
|
<p class="text-sm text-gray-500">Unggah hasil foto sesuai booking.</p>
|
|
</div>
|
|
</a>
|
|
<a href="{{ route('user.customers') }}" class="flex items-center gap-4 p-5 bg-blue-50 hover:bg-blue-100 rounded-lg shadow transition-all">
|
|
<i class="ph ph-users-three text-blue-600 text-3xl"></i>
|
|
<div>
|
|
<h3 class="text-lg font-semibold text-gray-700">Kelola Data Customer</h3>
|
|
<p class="text-sm text-gray-500">Lihat dan perbarui data pelanggan.</p>
|
|
</div>
|
|
</a>
|
|
<form method="POST" action="{{ route('logout') }}">
|
|
@csrf
|
|
<button type="submit" class="w-full flex items-center gap-4 p-5 bg-red-50 hover:bg-red-100 rounded-lg shadow transition-all">
|
|
<i class="ph ph-sign-out text-red-600 text-3xl"></i>
|
|
<div>
|
|
<h3 class="text-lg font-semibold text-red-700">Logout</h3>
|
|
<p class="text-sm text-red-500">Keluar dari sesi saat ini.</p>
|
|
</div>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|