91 lines
4.5 KiB
PHP
91 lines
4.5 KiB
PHP
@extends('layouts.app')
|
|
|
|
@section('title', 'Halaman Dasbor')
|
|
|
|
@section('content')
|
|
<div class="container mx-auto py-4">
|
|
<!-- Header -->
|
|
<div class="flex justify-between items-center mb-4">
|
|
<h3 class="text-xl font-bold">Halaman Dasbor</h3>
|
|
<div class="flex items-center gap-3">
|
|
<div class="bg-blue-100 text-blue-600 px-3 py-2 rounded-lg flex items-center gap-2 text-sm">
|
|
<i class="bi bi-clock-history"></i>
|
|
{{ \Carbon\Carbon::now()->translatedFormat('d M Y') }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Cards -->
|
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
|
|
<div
|
|
class="bg-white rounded-lg shadow-md p-4 flex justify-between items-center hover:shadow-lg transition-transform duration-300 transform hover:-translate-y-2">
|
|
<div>
|
|
<h5 class="text-gray-500 text-sm">Kategori</h5>
|
|
<h3 class="font-bold text-xl">12</h3>
|
|
</div>
|
|
<div class="w-12 h-12 bg-blue-100 text-blue-600 rounded-lg flex items-center justify-center text-xl">
|
|
<i class="bi bi-diagram-3"></i>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="bg-white rounded-lg shadow-md p-4 flex justify-between items-center hover:shadow-lg transition-transform duration-300 transform hover:-translate-y-2">
|
|
<div>
|
|
<h5 class="text-gray-500 text-sm">Template</h5>
|
|
<h3 class="font-bold text-xl">34</h3>
|
|
</div>
|
|
<div class="w-12 h-12 bg-blue-100 text-blue-600 rounded-lg flex items-center justify-center text-xl">
|
|
<i class="bi bi-card-list"></i>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="bg-white rounded-lg shadow-md p-4 flex justify-between items-center hover:shadow-lg transition-transform duration-300 transform hover:-translate-y-2">
|
|
<div>
|
|
<h5 class="text-gray-500 text-sm">Pelanggan</h5>
|
|
<h3 class="font-bold text-xl">56</h3>
|
|
</div>
|
|
<div class="w-12 h-12 bg-blue-100 text-blue-600 rounded-lg flex items-center justify-center text-xl">
|
|
<i class="bi bi-person"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Recent Pelanggan -->
|
|
<div class="bg-white rounded-lg shadow-sm mt-6">
|
|
<div class="p-4 overflow-x-auto">
|
|
<h4 class="text-lg font-bold mb-3">Pelanggan Terbaru</h4>
|
|
<table class="w-full text-left border-collapse border border-gray-300">
|
|
<thead class="bg-gray-100">
|
|
<tr>
|
|
<th class="p-2 border border-gray-300 text-center w-16">Nomor</th>
|
|
<th class="p-2 border border-gray-300 text-center">Nama</th>
|
|
<th class="p-2 border border-gray-300 text-center">Template</th>
|
|
<th class="p-2 border border-gray-300 text-center">Kategori</th>
|
|
<th class="p-2 border border-gray-300 text-center">Email</th>
|
|
<th class="p-2 border border-gray-300 text-center">No. Telepon</th>
|
|
<th class="p-2 border border-gray-300 text-center">Harga</th>
|
|
<th class="p-2 border border-gray-300 text-center">Tanggal Pemesanan</th>
|
|
<th class="p-2 border border-gray-300 text-center">Aksi</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td colspan="9" class="p-2 text-center text-gray-500 border border-gray-300">
|
|
Belum ada data pelanggan.
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<!-- Pagination Dummy -->
|
|
<div class="p-4 flex justify-center">
|
|
<div class="flex space-x-1">
|
|
<span class="px-3 py-1 rounded-lg bg-gray-200 text-gray-500 cursor-not-allowed">Prev</span>
|
|
<span class="px-3 py-1 rounded-lg bg-blue-600 text-white font-semibold">1</span>
|
|
<span class="px-3 py-1 rounded-lg bg-gray-200 text-gray-500 cursor-not-allowed">Next</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|