ferdi / index.html
Ferdi25460's picture
bakkal veresiye uygulaması - Initial Deployment
407b37d verified
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bakkal Veresiye Takip</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.gradient-bg {
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.transition-all {
transition: all 0.3s ease;
}
</style>
</head>
<body class="gradient-bg min-h-screen">
<div class="container mx-auto px-4 py-8">
<!-- Header -->
<header class="flex justify-between items-center mb-10">
<div class="flex items-center">
<i data-feather="shopping-bag" class="text-indigo-600 mr-2" width="32" height="32"></i>
<h1 class="text-3xl font-bold text-gray-800">Bakkal Veresiye</h1>
</div>
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center">
<i data-feather="plus" class="mr-2"></i>
Yeni Müşteri
</button>
</header>
<!-- Search and Filter -->
<div class="mb-8 bg-white rounded-xl p-4 shadow-md">
<div class="flex flex-col md:flex-row gap-4">
<div class="flex-1 relative">
<i data-feather="search" class="absolute left-3 top-3 text-gray-400"></i>
<input type="text" placeholder="Müşteri ara..." class="pl-10 pr-4 py-2 w-full border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
</div>
<select class="border border-gray-300 rounded-lg px-4 py-2 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
<option>Tümü</option>
<option>Borçlu</option>
<option>Ödemiş</option>
</select>
</div>
</div>
<!-- Customer List -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Customer Card 1 -->
<div class="bg-white rounded-xl p-6 shadow-md card-hover transition-all" data-aos="fade-up">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-xl font-semibold text-gray-800">Ahmet Yılmaz</h3>
<p class="text-gray-500">+90 555 123 4567</p>
</div>
<span class="bg-red-100 text-red-800 px-3 py-1 rounded-full text-sm font-medium">Borçlu</span>
</div>
<div class="mb-4">
<p class="text-gray-600 mb-1">Toplam Borç:</p>
<p class="text-2xl font-bold text-red-600">₺1,245.50</p>
</div>
<div class="flex justify-between text-sm text-gray-500 mb-4">
<span>Son Alışveriş: 3 gün önce</span>
<span>5 ürün</span>
</div>
<div class="flex gap-2">
<button class="flex-1 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center justify-center">
<i data-feather="dollar-sign" class="mr-2" width="16"></i>
Ödeme
</button>
<button class="flex-1 border border-gray-300 hover:bg-gray-100 text-gray-700 px-4 py-2 rounded-lg flex items-center justify-center">
<i data-feather="edit" class="mr-2" width="16"></i>
Düzenle
</button>
</div>
</div>
<!-- Customer Card 2 -->
<div class="bg-white rounded-xl p-6 shadow-md card-hover transition-all" data-aos="fade-up" data-aos-delay="100">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-xl font-semibold text-gray-800">Ayşe Kaya</h3>
<p class="text-gray-500">+90 555 987 6543</p>
</div>
<span class="bg-green-100 text-green-800 px-3 py-1 rounded-full text-sm font-medium">Ödemiş</span>
</div>
<div class="mb-4">
<p class="text-gray-600 mb-1">Toplam Borç:</p>
<p class="text-2xl font-bold text-green-600">₺0.00</p>
</div>
<div class="flex justify-between text-sm text-gray-500 mb-4">
<span>Son Alışveriş: 1 hafta önce</span>
<span>2 ürün</span>
</div>
<div class="flex gap-2">
<button class="flex-1 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center justify-center">
<i data-feather="dollar-sign" class="mr-2" width="16"></i>
Ödeme
</button>
<button class="flex-1 border border-gray-300 hover:bg-gray-100 text-gray-700 px-4 py-2 rounded-lg flex items-center justify-center">
<i data-feather="edit" class="mr-2" width="16"></i>
Düzenle
</button>
</div>
</div>
<!-- Customer Card 3 -->
<div class="bg-white rounded-xl p-6 shadow-md card-hover transition-all" data-aos="fade-up" data-aos-delay="200">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-xl font-semibold text-gray-800">Mehmet Demir</h3>
<p class="text-gray-500">+90 555 456 7890</p>
</div>
<span class="bg-red-100 text-red-800 px-3 py-1 rounded-full text-sm font-medium">Borçlu</span>
</div>
<div class="mb-4">
<p class="text-gray-600 mb-1">Toplam Borç:</p>
<p class="text-2xl font-bold text-red-600">₺560.75</p>
</div>
<div class="flex justify-between text-sm text-gray-500 mb-4">
<span>Son Alışveriş: 1 gün önce</span>
<span>8 ürün</span>
</div>
<div class="flex gap-2">
<button class="flex-1 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center justify-center">
<i data-feather="dollar-sign" class="mr-2" width="16"></i>
Ödeme
</button>
<button class="flex-1 border border-gray-300 hover:bg-gray-100 text-gray-700 px-4 py-2 rounded-lg flex items-center justify-center">
<i data-feather="edit" class="mr-2" width="16"></i>
Düzenle
</button>
</div>
</div>
</div>
<!-- Stats Section -->
<div class="mt-12 grid grid-cols-1 md:grid-cols-3 gap-6" data-aos="fade-up">
<div class="bg-white rounded-xl p-6 shadow-md">
<div class="flex items-center mb-4">
<div class="p-3 bg-indigo-100 rounded-full mr-4">
<i data-feather="users" class="text-indigo-600" width="24"></i>
</div>
<div>
<p class="text-gray-500">Toplam Müşteri</p>
<h3 class="text-2xl font-bold text-gray-800">42</h3>
</div>
</div>
</div>
<div class="bg-white rounded-xl p-6 shadow-md">
<div class="flex items-center mb-4">
<div class="p-3 bg-red-100 rounded-full mr-4">
<i data-feather="alert-circle" class="text-red-600" width="24"></i>
</div>
<div>
<p class="text-gray-500">Borçlu Müşteri</p>
<h3 class="text-2xl font-bold text-gray-800">28</h3>
</div>
</div>
</div>
<div class="bg-white rounded-xl p-6 shadow-md">
<div class="flex items-center mb-4">
<div class="p-3 bg-green-100 rounded-full mr-4">
<i data-feather="dollar-sign" class="text-green-600" width="24"></i>
</div>
<div>
<p class="text-gray-500">Toplam Borç</p>
<h3 class="text-2xl font-bold text-gray-800">₺8,745.25</h3>
</div>
</div>
</div>
</div>
</div>
<script>
AOS.init({
duration: 800,
easing: 'ease-in-out',
once: true
});
feather.replace();
</script>
</body>
</html>