Spaces:
Running
Running
bakkal veresiye uygulaması - Initial Deployment
Browse files- README.md +7 -5
- add_customer.html +76 -0
- customer_detail.html +162 -0
- index.html +191 -18
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: ferdi
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
add_customer.html
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="tr">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Yeni Müşteri Ekle</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
| 10 |
+
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 12 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 13 |
+
<style>
|
| 14 |
+
.gradient-bg {
|
| 15 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
| 16 |
+
}
|
| 17 |
+
</style>
|
| 18 |
+
</head>
|
| 19 |
+
<body class="gradient-bg min-h-screen">
|
| 20 |
+
<div class="container mx-auto px-4 py-8">
|
| 21 |
+
<!-- Header -->
|
| 22 |
+
<header class="flex justify-between items-center mb-10">
|
| 23 |
+
<div class="flex items-center">
|
| 24 |
+
<a href="index.html" class="mr-4 text-gray-600 hover:text-indigo-600">
|
| 25 |
+
<i data-feather="arrow-left" width="24"></i>
|
| 26 |
+
</a>
|
| 27 |
+
<h1 class="text-3xl font-bold text-gray-800">Yeni Müşteri Ekle</h1>
|
| 28 |
+
</div>
|
| 29 |
+
</header>
|
| 30 |
+
|
| 31 |
+
<!-- Form -->
|
| 32 |
+
<div class="bg-white rounded-xl p-6 shadow-md max-w-2xl mx-auto" data-aos="fade-up">
|
| 33 |
+
<form>
|
| 34 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
|
| 35 |
+
<div>
|
| 36 |
+
<label for="name" class="block text-sm font-medium text-gray-700 mb-1">Ad Soyad</label>
|
| 37 |
+
<input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" required>
|
| 38 |
+
</div>
|
| 39 |
+
<div>
|
| 40 |
+
<label for="phone" class="block text-sm font-medium text-gray-700 mb-1">Telefon</label>
|
| 41 |
+
<input type="tel" id="phone" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" required>
|
| 42 |
+
</div>
|
| 43 |
+
<div>
|
| 44 |
+
<label for="address" class="block text-sm font-medium text-gray-700 mb-1">Adres</label>
|
| 45 |
+
<input type="text" id="address" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
|
| 46 |
+
</div>
|
| 47 |
+
<div>
|
| 48 |
+
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">E-posta (Opsiyonel)</label>
|
| 49 |
+
<input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
|
| 53 |
+
<div class="mb-6">
|
| 54 |
+
<label class="block text-sm font-medium text-gray-700 mb-2">Notlar</label>
|
| 55 |
+
<textarea rows="3" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"></textarea>
|
| 56 |
+
</div>
|
| 57 |
+
|
| 58 |
+
<div class="flex justify-end gap-4">
|
| 59 |
+
<a href="index.html" class="px-6 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-100 transition">
|
| 60 |
+
İptal
|
| 61 |
+
</a>
|
| 62 |
+
<button type="submit" class="px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition flex items-center">
|
| 63 |
+
<i data-feather="save" class="mr-2" width="18"></i>
|
| 64 |
+
Kaydet
|
| 65 |
+
</button>
|
| 66 |
+
</div>
|
| 67 |
+
</form>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
|
| 71 |
+
<script>
|
| 72 |
+
AOS.init();
|
| 73 |
+
feather.replace();
|
| 74 |
+
</script>
|
| 75 |
+
</body>
|
| 76 |
+
</html>
|
customer_detail.html
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="tr">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Müşteri Detayı</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
| 10 |
+
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 12 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 13 |
+
<style>
|
| 14 |
+
.gradient-bg {
|
| 15 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
| 16 |
+
}
|
| 17 |
+
.scrollbar-hide::-webkit-scrollbar {
|
| 18 |
+
display: none;
|
| 19 |
+
}
|
| 20 |
+
.scrollbar-hide {
|
| 21 |
+
-ms-overflow-style: none;
|
| 22 |
+
scrollbar-width: none;
|
| 23 |
+
}
|
| 24 |
+
</style>
|
| 25 |
+
</head>
|
| 26 |
+
<body class="gradient-bg min-h-screen">
|
| 27 |
+
<div class="container mx-auto px-4 py-8">
|
| 28 |
+
<!-- Header -->
|
| 29 |
+
<header class="flex justify-between items-center mb-6">
|
| 30 |
+
<div class="flex items-center">
|
| 31 |
+
<a href="index.html" class="mr-4 text-gray-600 hover:text-indigo-600">
|
| 32 |
+
<i data-feather="arrow-left" width="24"></i>
|
| 33 |
+
</a>
|
| 34 |
+
<h1 class="text-2xl font-bold text-gray-800">Müşteri Detayı</h1>
|
| 35 |
+
</div>
|
| 36 |
+
<div class="flex gap-2">
|
| 37 |
+
<button class="p-2 text-gray-600 hover:text-indigo-600 hover:bg-gray-100 rounded-full">
|
| 38 |
+
<i data-feather="edit" width="18"></i>
|
| 39 |
+
</button>
|
| 40 |
+
<button class="p-2 text-gray-600 hover:text-red-600 hover:bg-gray-100 rounded-full">
|
| 41 |
+
<i data-feather="trash-2" width="18"></i>
|
| 42 |
+
</button>
|
| 43 |
+
</div>
|
| 44 |
+
</header>
|
| 45 |
+
|
| 46 |
+
<!-- Customer Info -->
|
| 47 |
+
<div class="bg-white rounded-xl p-6 shadow-md mb-6" data-aos="fade-up">
|
| 48 |
+
<div class="flex flex-col md:flex-row gap-6">
|
| 49 |
+
<div class="flex-shrink-0">
|
| 50 |
+
<div class="w-24 h-24 rounded-full bg-indigo-100 flex items-center justify-center">
|
| 51 |
+
<i data-feather="user" class="text-indigo-600" width="32"></i>
|
| 52 |
+
</div>
|
| 53 |
+
</div>
|
| 54 |
+
<div class="flex-1">
|
| 55 |
+
<div class="flex justify-between items-start mb-2">
|
| 56 |
+
<h2 class="text-2xl font-bold text-gray-800">Ahmet Yılmaz</h2>
|
| 57 |
+
<span class="bg-red-100 text-red-800 px-3 py-1 rounded-full text-sm font-medium">Borçlu</span>
|
| 58 |
+
</div>
|
| 59 |
+
<p class="text-gray-600 mb-4">+90 555 123 4567</p>
|
| 60 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
| 61 |
+
<div>
|
| 62 |
+
<p class="text-sm text-gray-500">Toplam Borç</p>
|
| 63 |
+
<p class="text-xl font-bold text-red-600">₺1,245.50</p>
|
| 64 |
+
</div>
|
| 65 |
+
<div>
|
| 66 |
+
<p class="text-sm text-gray-500">Son Ödeme</p>
|
| 67 |
+
<p class="text-lg font-medium text-gray-800">₺200.00</p>
|
| 68 |
+
</div>
|
| 69 |
+
<div>
|
| 70 |
+
<p class="text-sm text-gray-500">Son İşlem</p>
|
| 71 |
+
<p class="text-lg font-medium text-gray-800">3 gün önce</p>
|
| 72 |
+
</div>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
</div>
|
| 77 |
+
|
| 78 |
+
<!-- Transactions -->
|
| 79 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="100">
|
| 80 |
+
<div class="border-b border-gray-200 px-6 py-4 flex justify-between items-center">
|
| 81 |
+
<h3 class="text-lg font-medium text-gray-800">İşlem Geçmişi</h3>
|
| 82 |
+
<button class="text-indigo-600 hover:text-indigo-800 flex items-center">
|
| 83 |
+
<i data-feather="plus" class="mr-1" width="16"></i>
|
| 84 |
+
Yeni İşlem
|
| 85 |
+
</button>
|
| 86 |
+
</div>
|
| 87 |
+
<div class="divide-y divide-gray-200 max-h-96 overflow-y-auto scrollbar-hide">
|
| 88 |
+
<!-- Transaction 1 -->
|
| 89 |
+
<div class="px-6 py-4 hover:bg-gray-50">
|
| 90 |
+
<div class="flex justify-between items-center mb-1">
|
| 91 |
+
<div class="flex items-center">
|
| 92 |
+
<div class="p-2 bg-red-100 rounded-full mr-3">
|
| 93 |
+
<i data-feather="shopping-cart" class="text-red-600" width="16"></i>
|
| 94 |
+
</div>
|
| 95 |
+
<div>
|
| 96 |
+
<h4 class="font-medium text-gray-800">Alışveriş</h4>
|
| 97 |
+
<p class="text-sm text-gray-500">3 ürün</p>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
<span class="text-red-600 font-medium">-₺345.75</span>
|
| 101 |
+
</div>
|
| 102 |
+
<div class="flex justify-between text-sm text-gray-500 mt-2">
|
| 103 |
+
<span>2 gün önce</span>
|
| 104 |
+
<span>Borç: ₺1,245.50</span>
|
| 105 |
+
</div>
|
| 106 |
+
</div>
|
| 107 |
+
|
| 108 |
+
<!-- Transaction 2 -->
|
| 109 |
+
<div class="px-6 py-4 hover:bg-gray-50">
|
| 110 |
+
<div class="flex justify-between items-center mb-1">
|
| 111 |
+
<div class="flex items-center">
|
| 112 |
+
<div class="p-2 bg-green-100 rounded-full mr-3">
|
| 113 |
+
<i data-feather="dollar-sign" class="text-green-600" width="16"></i>
|
| 114 |
+
</div>
|
| 115 |
+
<div>
|
| 116 |
+
<h4 class="font-medium text-gray-800">Ödeme</h4>
|
| 117 |
+
<p class="text-sm text-gray-500">Nakit</p>
|
| 118 |
+
</div>
|
| 119 |
+
</div>
|
| 120 |
+
<span class="text-green-600 font-medium">+₺200.00</span>
|
| 121 |
+
</div>
|
| 122 |
+
<div class="flex justify-between text-sm text-gray-500 mt-2">
|
| 123 |
+
<span>1 hafta önce</span>
|
| 124 |
+
<span>Borç: ₺899.75</span>
|
| 125 |
+
</div>
|
| 126 |
+
</div>
|
| 127 |
+
|
| 128 |
+
<!-- Transaction 3 -->
|
| 129 |
+
<div class="px-6 py-4 hover:bg-gray-50">
|
| 130 |
+
<div class="flex justify-between items-center mb-1">
|
| 131 |
+
<div class="flex items-center">
|
| 132 |
+
<div class="p-2 bg-red-100 rounded-full mr-3">
|
| 133 |
+
<i data-feather="shopping-cart" class="text-red-600" width="16"></i>
|
| 134 |
+
</div>
|
| 135 |
+
<div>
|
| 136 |
+
<h4 class="font-medium text-gray-800">Alışveriş</h4>
|
| 137 |
+
<p class="text-sm text-gray-500">5 ürün</p>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
<span class="text-red-600 font-medium">-₺550.00</span>
|
| 141 |
+
</div>
|
| 142 |
+
<div class="flex justify-between text-sm text-gray-500 mt-2">
|
| 143 |
+
<span>2 hafta önce</span>
|
| 144 |
+
<span>Borç: ₺1,099.75</span>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
|
| 150 |
+
<!-- Customer Notes -->
|
| 151 |
+
<div class="mt-6 bg-white rounded-xl shadow-md p-6" data-aos="fade-up" data-aos-delay="200">
|
| 152 |
+
<h3 class="text-lg font-medium text-gray-800 mb-4">Notlar</h3>
|
| 153 |
+
<p class="text-gray-600">Müşteri her ayın 15'inde ödeme yapıyor. Özel indirim uygulanabilir. Ev adresine teslimat yapılıyor.</p>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
|
| 157 |
+
<script>
|
| 158 |
+
AOS.init();
|
| 159 |
+
feather.replace();
|
| 160 |
+
</script>
|
| 161 |
+
</body>
|
| 162 |
+
</html>
|
index.html
CHANGED
|
@@ -1,19 +1,192 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="tr">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Bakkal Veresiye Takip</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
| 10 |
+
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 12 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 13 |
+
<style>
|
| 14 |
+
.gradient-bg {
|
| 15 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
| 16 |
+
}
|
| 17 |
+
.card-hover:hover {
|
| 18 |
+
transform: translateY(-5px);
|
| 19 |
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
| 20 |
+
}
|
| 21 |
+
.transition-all {
|
| 22 |
+
transition: all 0.3s ease;
|
| 23 |
+
}
|
| 24 |
+
</style>
|
| 25 |
+
</head>
|
| 26 |
+
<body class="gradient-bg min-h-screen">
|
| 27 |
+
<div class="container mx-auto px-4 py-8">
|
| 28 |
+
<!-- Header -->
|
| 29 |
+
<header class="flex justify-between items-center mb-10">
|
| 30 |
+
<div class="flex items-center">
|
| 31 |
+
<i data-feather="shopping-bag" class="text-indigo-600 mr-2" width="32" height="32"></i>
|
| 32 |
+
<h1 class="text-3xl font-bold text-gray-800">Bakkal Veresiye</h1>
|
| 33 |
+
</div>
|
| 34 |
+
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center">
|
| 35 |
+
<i data-feather="plus" class="mr-2"></i>
|
| 36 |
+
Yeni Müşteri
|
| 37 |
+
</button>
|
| 38 |
+
</header>
|
| 39 |
+
|
| 40 |
+
<!-- Search and Filter -->
|
| 41 |
+
<div class="mb-8 bg-white rounded-xl p-4 shadow-md">
|
| 42 |
+
<div class="flex flex-col md:flex-row gap-4">
|
| 43 |
+
<div class="flex-1 relative">
|
| 44 |
+
<i data-feather="search" class="absolute left-3 top-3 text-gray-400"></i>
|
| 45 |
+
<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">
|
| 46 |
+
</div>
|
| 47 |
+
<select class="border border-gray-300 rounded-lg px-4 py-2 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
|
| 48 |
+
<option>Tümü</option>
|
| 49 |
+
<option>Borçlu</option>
|
| 50 |
+
<option>Ödemiş</option>
|
| 51 |
+
</select>
|
| 52 |
+
</div>
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
<!-- Customer List -->
|
| 56 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 57 |
+
<!-- Customer Card 1 -->
|
| 58 |
+
<div class="bg-white rounded-xl p-6 shadow-md card-hover transition-all" data-aos="fade-up">
|
| 59 |
+
<div class="flex justify-between items-start mb-4">
|
| 60 |
+
<div>
|
| 61 |
+
<h3 class="text-xl font-semibold text-gray-800">Ahmet Yılmaz</h3>
|
| 62 |
+
<p class="text-gray-500">+90 555 123 4567</p>
|
| 63 |
+
</div>
|
| 64 |
+
<span class="bg-red-100 text-red-800 px-3 py-1 rounded-full text-sm font-medium">Borçlu</span>
|
| 65 |
+
</div>
|
| 66 |
+
<div class="mb-4">
|
| 67 |
+
<p class="text-gray-600 mb-1">Toplam Borç:</p>
|
| 68 |
+
<p class="text-2xl font-bold text-red-600">₺1,245.50</p>
|
| 69 |
+
</div>
|
| 70 |
+
<div class="flex justify-between text-sm text-gray-500 mb-4">
|
| 71 |
+
<span>Son Alışveriş: 3 gün önce</span>
|
| 72 |
+
<span>5 ürün</span>
|
| 73 |
+
</div>
|
| 74 |
+
<div class="flex gap-2">
|
| 75 |
+
<button class="flex-1 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center justify-center">
|
| 76 |
+
<i data-feather="dollar-sign" class="mr-2" width="16"></i>
|
| 77 |
+
Ödeme
|
| 78 |
+
</button>
|
| 79 |
+
<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">
|
| 80 |
+
<i data-feather="edit" class="mr-2" width="16"></i>
|
| 81 |
+
Düzenle
|
| 82 |
+
</button>
|
| 83 |
+
</div>
|
| 84 |
+
</div>
|
| 85 |
+
|
| 86 |
+
<!-- Customer Card 2 -->
|
| 87 |
+
<div class="bg-white rounded-xl p-6 shadow-md card-hover transition-all" data-aos="fade-up" data-aos-delay="100">
|
| 88 |
+
<div class="flex justify-between items-start mb-4">
|
| 89 |
+
<div>
|
| 90 |
+
<h3 class="text-xl font-semibold text-gray-800">Ayşe Kaya</h3>
|
| 91 |
+
<p class="text-gray-500">+90 555 987 6543</p>
|
| 92 |
+
</div>
|
| 93 |
+
<span class="bg-green-100 text-green-800 px-3 py-1 rounded-full text-sm font-medium">Ödemiş</span>
|
| 94 |
+
</div>
|
| 95 |
+
<div class="mb-4">
|
| 96 |
+
<p class="text-gray-600 mb-1">Toplam Borç:</p>
|
| 97 |
+
<p class="text-2xl font-bold text-green-600">₺0.00</p>
|
| 98 |
+
</div>
|
| 99 |
+
<div class="flex justify-between text-sm text-gray-500 mb-4">
|
| 100 |
+
<span>Son Alışveriş: 1 hafta önce</span>
|
| 101 |
+
<span>2 ürün</span>
|
| 102 |
+
</div>
|
| 103 |
+
<div class="flex gap-2">
|
| 104 |
+
<button class="flex-1 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center justify-center">
|
| 105 |
+
<i data-feather="dollar-sign" class="mr-2" width="16"></i>
|
| 106 |
+
Ödeme
|
| 107 |
+
</button>
|
| 108 |
+
<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">
|
| 109 |
+
<i data-feather="edit" class="mr-2" width="16"></i>
|
| 110 |
+
Düzenle
|
| 111 |
+
</button>
|
| 112 |
+
</div>
|
| 113 |
+
</div>
|
| 114 |
+
|
| 115 |
+
<!-- Customer Card 3 -->
|
| 116 |
+
<div class="bg-white rounded-xl p-6 shadow-md card-hover transition-all" data-aos="fade-up" data-aos-delay="200">
|
| 117 |
+
<div class="flex justify-between items-start mb-4">
|
| 118 |
+
<div>
|
| 119 |
+
<h3 class="text-xl font-semibold text-gray-800">Mehmet Demir</h3>
|
| 120 |
+
<p class="text-gray-500">+90 555 456 7890</p>
|
| 121 |
+
</div>
|
| 122 |
+
<span class="bg-red-100 text-red-800 px-3 py-1 rounded-full text-sm font-medium">Borçlu</span>
|
| 123 |
+
</div>
|
| 124 |
+
<div class="mb-4">
|
| 125 |
+
<p class="text-gray-600 mb-1">Toplam Borç:</p>
|
| 126 |
+
<p class="text-2xl font-bold text-red-600">₺560.75</p>
|
| 127 |
+
</div>
|
| 128 |
+
<div class="flex justify-between text-sm text-gray-500 mb-4">
|
| 129 |
+
<span>Son Alışveriş: 1 gün önce</span>
|
| 130 |
+
<span>8 ürün</span>
|
| 131 |
+
</div>
|
| 132 |
+
<div class="flex gap-2">
|
| 133 |
+
<button class="flex-1 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center justify-center">
|
| 134 |
+
<i data-feather="dollar-sign" class="mr-2" width="16"></i>
|
| 135 |
+
Ödeme
|
| 136 |
+
</button>
|
| 137 |
+
<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">
|
| 138 |
+
<i data-feather="edit" class="mr-2" width="16"></i>
|
| 139 |
+
Düzenle
|
| 140 |
+
</button>
|
| 141 |
+
</div>
|
| 142 |
+
</div>
|
| 143 |
+
</div>
|
| 144 |
+
|
| 145 |
+
<!-- Stats Section -->
|
| 146 |
+
<div class="mt-12 grid grid-cols-1 md:grid-cols-3 gap-6" data-aos="fade-up">
|
| 147 |
+
<div class="bg-white rounded-xl p-6 shadow-md">
|
| 148 |
+
<div class="flex items-center mb-4">
|
| 149 |
+
<div class="p-3 bg-indigo-100 rounded-full mr-4">
|
| 150 |
+
<i data-feather="users" class="text-indigo-600" width="24"></i>
|
| 151 |
+
</div>
|
| 152 |
+
<div>
|
| 153 |
+
<p class="text-gray-500">Toplam Müşteri</p>
|
| 154 |
+
<h3 class="text-2xl font-bold text-gray-800">42</h3>
|
| 155 |
+
</div>
|
| 156 |
+
</div>
|
| 157 |
+
</div>
|
| 158 |
+
<div class="bg-white rounded-xl p-6 shadow-md">
|
| 159 |
+
<div class="flex items-center mb-4">
|
| 160 |
+
<div class="p-3 bg-red-100 rounded-full mr-4">
|
| 161 |
+
<i data-feather="alert-circle" class="text-red-600" width="24"></i>
|
| 162 |
+
</div>
|
| 163 |
+
<div>
|
| 164 |
+
<p class="text-gray-500">Borçlu Müşteri</p>
|
| 165 |
+
<h3 class="text-2xl font-bold text-gray-800">28</h3>
|
| 166 |
+
</div>
|
| 167 |
+
</div>
|
| 168 |
+
</div>
|
| 169 |
+
<div class="bg-white rounded-xl p-6 shadow-md">
|
| 170 |
+
<div class="flex items-center mb-4">
|
| 171 |
+
<div class="p-3 bg-green-100 rounded-full mr-4">
|
| 172 |
+
<i data-feather="dollar-sign" class="text-green-600" width="24"></i>
|
| 173 |
+
</div>
|
| 174 |
+
<div>
|
| 175 |
+
<p class="text-gray-500">Toplam Borç</p>
|
| 176 |
+
<h3 class="text-2xl font-bold text-gray-800">₺8,745.25</h3>
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
|
| 183 |
+
<script>
|
| 184 |
+
AOS.init({
|
| 185 |
+
duration: 800,
|
| 186 |
+
easing: 'ease-in-out',
|
| 187 |
+
once: true
|
| 188 |
+
});
|
| 189 |
+
feather.replace();
|
| 190 |
+
</script>
|
| 191 |
+
</body>
|
| 192 |
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
bakkal veresiye uygulaması
|