File size: 17,333 Bytes
fa44ab8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CASHRULER - Gestion de Budget</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@400;500&display=swap" rel="stylesheet">
    <style>
        .phone-frame {
            width: 220px;
            height: 420px;
            border-radius: 20px;
            background-color: #333;
            position: relative;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        .phone-screen {
            width: 210px;
            height: 410px;
            border-radius: 15px;
            background-color: #f5f5f5;
            position: absolute;
            top: 5px;
            left: 5px;
            overflow: hidden;
        }
        .progress-circle {
            position: relative;
            width: 40px;
            height: 40px;
        }
        .progress-circle svg {
            transform: rotate(-90deg);
        }
        .progress-circle-bg {
            stroke: #eee;
            stroke-width: 5;
            fill: none;
        }
        .progress-circle-fill {
            stroke: #2ecc71;
            stroke-width: 5;
            fill: none;
            stroke-linecap: round;
            stroke-dasharray: 100;
            stroke-dashoffset: calc(100 - var(--percentage));
        }
        .category-dot {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
        }
        .bottom-nav {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50px;
            background: white;
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid #eee;
        }
        .nav-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #999;
        }
        .nav-dot.active {
            background: #2ecc71;
            transform: scale(1.3);
        }
        .pie-chart {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            background: conic-gradient(
                #e74c3c 0% 35%,
                #3498db 35% 60%,
                #f1c40f 60% 80%,
                #2ecc71 80% 100%
            );
        }
    </style>
</head>
<body class="bg-gray-100 font-sans min-h-screen">
    <div class="container mx-auto px-4 py-8">
        <h1 class="text-2xl font-bold text-center text-gray-800 mb-8">CASHRULER - Maquettes UI</h1>
        
        <div class="flex flex-wrap justify-center gap-8 mb-12">
            <!-- Dashboard Screen -->
            <div class="phone-frame">
                <div class="phone-screen flex flex-col p-4">
                    <h2 class="text-center font-bold text-gray-800 mb-4">Dashboard</h2>
                    
                    <!-- Balance Card -->
                    <div class="bg-green-500 rounded-xl p-3 mb-4 shadow-md">
                        <p class="text-white text-sm text-center">Solde disponible</p>
                        <p class="text-white text-xl font-bold text-center">125,000 FCFA</p>
                    </div>
                    
                    <!-- Quick Actions -->
                    <div class="flex justify-between mb-4">
                        <button class="bg-blue-500 text-white text-sm py-2 px-4 rounded-lg w-[48%]">
                            + Dépense
                        </button>
                        <button class="bg-green-600 text-white text-sm py-2 px-4 rounded-lg w-[48%]">
                            + Revenu
                        </button>
                    </div>
                    
                    <!-- Savings Challenge -->
                    <div class="bg-white border border-gray-200 rounded-lg p-3 mb-4">
                        <p class="text-gray-800 text-sm font-medium text-center">Défi Alimentation</p>
                        <div class="w-full bg-gray-100 h-3 rounded-full mt-2 mb-1">
                            <div class="bg-green-500 h-3 rounded-full" style="width: 75%"></div>
                        </div>
                        <p class="text-gray-500 text-xs text-center">6,000 / 8,000 FCFA</p>
                    </div>
                    
                    <!-- Savings Project -->
                    <div class="bg-white border border-gray-200 rounded-lg p-3 mb-4">
                        <p class="text-gray-800 text-sm font-medium text-center">Projet: Nouvel ordinateur</p>
                        <div class="flex items-center mt-3">
                            <div class="progress-circle mr-4">
                                <svg viewBox="0 0 40 40" class="w-full h-full">
                                    <circle cx="20" cy="20" r="15" class="progress-circle-bg"></circle>
                                    <circle cx="20" cy="20" r="15" class="progress-circle-fill" style="--percentage: 45"></circle>
                                </svg>
                                <span class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-xs font-medium">45%</span>
                            </div>
                            <div class="text-right">
                                <p class="text-gray-600 text-sm">225,000 FCFA</p>
                                <p class="text-gray-600 text-xs">sur 500,000</p>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Recent Transactions -->
                    <p class="text-gray-800 text-sm font-medium mb-2">Récentes</p>
                    <div class="space-y-2">
                        <div class="bg-white border border-gray-200 rounded-md p-2 flex items-center">
                            <div class="category-dot bg-red-500"></div>
                            <span class="text-gray-800 text-sm flex-grow">Courses</span>
                            <span class="text-red-500 text-sm">-4,500</span>
                        </div>
                        <div class="bg-white border border-gray-200 rounded-md p-2 flex items-center">
                            <div class="category-dot bg-blue-500"></div>
                            <span class="text-gray-800 text-sm flex-grow">Transport</span>
                            <span class="text-red-500 text-sm">-1,200</span>
                        </div>
                    </div>
                    
                    <!-- Bottom Navigation -->
                    <div class="bottom-nav">
                        <div class="nav-dot active"></div>
                        <div class="nav-dot"></div>
                        <div class="nav-dot"></div>
                        <div class="nav-dot"></div>
                    </div>
                </div>
            </div>
            
            <!-- Add Expense Screen -->
            <div class="phone-frame">
                <div class="phone-screen flex flex-col p-4">
                    <h2 class="text-center font-bold text-gray-800 mb-4">Nouvelle Dépense</h2>
                    
                    <div class="bg-white border border-gray-200 rounded-xl p-3 flex-1">
                        <!-- Title -->
                        <div class="mb-4">
                            <label class="block text-gray-500 text-sm mb-1">Titre</label>
                            <div class="bg-gray-50 border border-gray-200 rounded-md p-2">
                                <p class="text-gray-800">Courses au supermarché</p>
                            </div>
                        </div>
                        
                        <!-- Category -->
                        <div class="mb-4">
                            <label class="block text-gray-500 text-sm mb-1">Catégorie</label>
                            <div class="bg-gray-50 border border-gray-200 rounded-md p-2 flex items-center">
                                <div class="category-dot bg-red-500"></div>
                                <span class="text-gray-800">Alimentation</span>
                            </div>
                        </div>
                        
                        <!-- Amount -->
                        <div class="mb-4">
                            <label class="block text-gray-500 text-sm mb-1">Montant (FCFA)</label>
                            <div class="bg-gray-50 border border-gray-200 rounded-md p-2">
                                <p class="text-gray-800 font-bold text-lg">4,500</p>
                            </div>
                        </div>
                        
                        <!-- Date -->
                        <div class="mb-4">
                            <label class="block text-gray-500 text-sm mb-1">Date</label>
                            <div class="bg-gray-50 border border-gray-200 rounded-md p-2">
                                <p class="text-gray-800">12 Avril 2025</p>
                            </div>
                        </div>
                        
                        <!-- Note -->
                        <div class="mb-4">
                            <label class="block text-gray-500 text-sm mb-1">Note (optionnel)</label>
                            <div class="bg-gray-50 border border-gray-200 rounded-md p-2 h-8"></div>
                        </div>
                    </div>
                    
                    <!-- Add Button -->
                    <button class="bg-green-500 text-white py-2 px-6 rounded-full self-center mt-4">
                        Ajouter
                    </button>
                </div>
            </div>
            
            <!-- Savings Project Screen -->
            <div class="phone-frame">
                <div class="phone-screen flex flex-col p-4">
                    <h2 class="text-center font-bold text-gray-800 mb-4">Projet d'Épargne</h2>
                    
                    <!-- Project Header -->
                    <div class="bg-blue-500 rounded-xl p-3 mb-4">
                        <p class="text-white font-bold text-center">Nouvel ordinateur</p>
                        
                        <div class="flex items-center justify-around mt-4">
                            <!-- Big Progress Circle -->
                            <div class="relative">
                                <svg width="60" height="60" viewBox="0 0 60 60" class="transform -rotate-90">
                                    <circle cx="30" cy="30" r="25" stroke="#ffffff40" stroke-width="5" fill="none"></circle>
                                    <circle cx="30" cy="30" r="25" stroke="#ffffff" stroke-width="5" fill="none" stroke-dasharray="157" stroke-dashoffset="86.35" stroke-linecap="round"></circle>
                                </svg>
                                <div class="absolute inset-0 flex flex-col items-center justify-center">
                                    <span class="text-white font-bold">45%</span>
                                    <span class="text-white text-xs">complété</span>
                                </div>
                            </div>
                            
                            <!-- Amount Info -->
                            <div class="text-white text-center">
                                <p>225,000</p>
                                <p>sur</p>
                                <p class="font-bold">500,000</p>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Savings Plan -->
                    <div class="bg-white border border-gray-200 rounded-lg p-3 mb-4">
                        <p class="text-gray-800 text-sm font-medium text-center">Plan d'épargne suggéré</p>
                        
                        <div class="w-full bg-gray-100 h-4 rounded-full mt-3 mb-2">
                            <div class="bg-green-500 h-4 rounded-full" style="width: 45%"></div>
                        </div>
                        <p class="text-gray-800 text-xs text-center mb-2">45% du chemin</p>
                        
                        <p class="text-gray-500 text-xs mb-1">Pour atteindre votre objectif:</p>
                        <p class="text-gray-800 text-xs font-medium">Économisez 27,500 FCFA/mois</p>
                    </div>
                    
                    <!-- Contributions -->
                    <p class="text-gray-800 text-sm font-medium mb-2">Contributions</p>
                    <div class="space-y-2 mb-4">
                        <div class="bg-white border border-gray-200 rounded-md p-2 flex items-center">
                            <span class="text-gray-800 text-sm w-12">10 Avr</span>
                            <span class="text-gray-800 text-sm flex-grow">Économies</span>
                            <span class="text-green-500 text-sm">+25,000</span>
                        </div>
                        <div class="bg-white border border-gray-200 rounded-md p-2 flex items-center">
                            <span class="text-gray-800 text-sm w-12">26 Mar</span>
                            <span class="text-gray-800 text-sm flex-grow">Bonus</span>
                            <span class="text-green-500 text-sm">+50,000</span>
                        </div>
                    </div>
                    
                    <!-- Add Contribution Button -->
                    <button class="bg-green-500 text-white rounded-full w-10 h-10 flex items-center justify-center self-end">
                        <span class="text-xl">+</span>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- Statistics Preview -->
        <div class="bg-white rounded-xl shadow-md p-6 max-w-4xl mx-auto">
            <h2 class="text-lg font-bold text-gray-800 text-center mb-6">Écran Statistiques (aperçu)</h2>
            
            <!-- Month Selector -->
            <div class="flex items-center justify-between bg-gray-50 border border-gray-200 rounded-lg px-4 py-2 mb-6">
                <span class="text-gray-800">Avril 2025</span>
                <div class="flex space-x-3">
                    <div class="w-4 h-4 rounded-full bg-blue-500"></div>
                    <div class="w-4 h-4 rounded-full bg-gray-50 border border-gray-200"></div>
                    <div class="w-4 h-4 rounded-full bg-gray-50 border border-gray-200"></div>
                    <div class="w-4 h-4 rounded-full bg-gray-50 border border-gray-200"></div>
                </div>
            </div>
            
            <!-- Chart Container -->
            <div class="border border-gray-200 rounded-xl p-4">
                <div class="flex flex-col md:flex-row items-center justify-around">
                    <!-- Pie Chart -->
                    <div class="pie-chart mb-6 md:mb-0"></div>
                    
                    <!-- Legend -->
                    <div class="space-y-3">
                        <div class="flex items-center">
                            <div class="w-4 h-4 rounded-sm bg-red-500 mr-2"></div>
                            <span class="text-gray-800 text-sm">Alimentation (35%)</span>
                        </div>
                        <div class="flex items-center">
                            <div class="w-4 h-4 rounded-sm bg-blue-500 mr-2"></div>
                            <span class="text-gray-800 text-sm">Transport (25%)</span>
                        </div>
                        <div class="flex items-center">
                            <div class="w-4 h-4 rounded-sm bg-yellow-400 mr-2"></div>
                            <span class="text-gray-800 text-sm">Loisirs (20%)</span>
                        </div>
                        <div class="flex items-center">
                            <div class="w-4 h-4 rounded-sm bg-green-500 mr-2"></div>
                            <span class="text-gray-800 text-sm">Autres (20%)</span>
                        </div>
                    </div>
                </div>
                
                <!-- Total -->
                <p class="text-gray-800 font-medium text-center mt-6">Total: 125,000 FCFA</p>
            </div>
        </div>
    </div>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Kesif/apps-1" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>