File size: 11,795 Bytes
3596161
ade45cd
3596161
ade45cd
 
3596161
 
 
 
ade45cd
3596161
ade45cd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3596161
 
 
 
 
 
 
 
 
 
 
 
 
 
ade45cd
3596161
 
ade45cd
 
3596161
 
 
 
 
 
 
 
 
ade45cd
 
 
3596161
 
 
 
 
 
 
ade45cd
3596161
 
 
 
 
ade45cd
3596161
 
 
 
 
ade45cd
3596161
 
 
 
 
ade45cd
3596161
 
ade45cd
 
 
3596161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ade45cd
3596161
 
 
 
 
 
 
 
 
 
 
 
 
 
ade45cd
3596161
 
 
 
 
 
 
 
 
 
 
 
 
 
ade45cd
 
 
 
3596161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ade45cd
3596161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ade45cd
 
 
3596161
 
 
 
 
ade45cd
3596161
 
ade45cd
 
 
3596161
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

<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>LibyaPay - تطبيق الدفع الرقمي</title>
    <meta name="description" content="تطبيق ليباي للدفع الرقمي الآمن والسريع في ليبيا">
    <meta name="theme-color" content="#9C27B0">
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <link rel="apple-touch-icon" href="/static/icon-192.png">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <link rel="stylesheet" href="style.css">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        'libyana': {
                            50: '#F3E5F5',
                            100: '#E1BEE7',
                            200: '#CE93D8',
                            300: '#BA68C8',
                            400: '#AB47BC',
                            500: '#9C27B0',
                            600: '#8E24AA',
                            700: '#7B1FA2',
                            800: '#6A1B9A',
                            900: '#4A148C',
                        }
                    },
                    fontFamily: {
                        'cairo': ['Cairo', 'sans-serif'],
                    },
                    animation: {
                        'fade-in': 'fadeIn 0.5s ease-out',
                        'slide-up': 'slideUp 0.5s ease-out',
                        'pulse-slow': 'pulse 3s infinite',
                    }
                }
            }
        }
    </script>
</head>
<body class="bg-neutral-50 font-cairo text-neutral-900 min-h-screen flex flex-col">
    <!-- Mobile App Container -->
    <div class="max-w-md mx-auto w-full bg-white min-h-screen shadow-xl flex flex-col">
        <!-- App Header -->
        <mobile-header></mobile-header>
        
        <!-- Main App Content -->
        <main class="flex-1 overflow-y-auto">
            <!-- Balance Card -->
            <div class="bg-gradient-to-br from-libyana-500 to-libyana-700 p-6 text-white">
                <div class="flex justify-between items-start mb-4">
                    <div>
                        <p class="text-libyana-200 text-sm mb-1">الرصيد الحالي</p>
                        <h1 class="text-3xl font-bold">1,234.56 د.ل</h1>
                    </div>
                    <div class="bg-white/20 rounded-full p-2">
                        <i data-feather="eye" class="w-5 h-5"></i>
                    </div>
                </div>
                <div class="flex gap-3">
                    <button class="bg-white text-libyana-600 px-4 py-2 rounded-full text-sm font-semibold flex items-center gap-2">
                        <i data-feather="plus" class="w-4 h-4"></i>
                        إيداع
                    </button>
                    <button class="bg-white/20 text-white px-4 py-2 rounded-full text-sm font-semibold flex items-center gap-2">
                        <i data-feather="arrow-up" class="w-4 h-4"></i>
                        تحويل
                    </button>
                </div>
            </div>

            <!-- Quick Actions -->
            <div class="p-6">
                <h2 class="text-lg font-semibold mb-4">خدمات سريعة</h2>
                <div class="grid grid-cols-4 gap-4">
                    <button class="flex flex-col items-center gap-2 p-3 rounded-xl hover:bg-neutral-50 transition-colors">
                        <div class="w-12 h-12 bg-libyana-100 rounded-full flex items-center justify-center">
                            <i data-feather="send" class="text-libyana-600 w-5 h-5"></i>
                        </div>
                        <span class="text-xs">إرسال</span>
                    </button>
                    <button class="flex flex-col items-center gap-2 p-3 rounded-xl hover:bg-neutral-50 transition-colors">
                        <div class="w-12 h-12 bg-libyana-100 rounded-full flex items-center justify-center">
                            <i data-feather="download" class="text-libyana-600 w-5 h-5"></i>
                        </div>
                        <span class="text-xs">استقبال</span>
                    </button>
                    <button class="flex flex-col items-center gap-2 p-3 rounded-xl hover:bg-neutral-50 transition-colors">
                        <div class="w-12 h-12 bg-libyana-100 rounded-full flex items-center justify-center">
                            <i data-feather="grid" class="text-libyana-600 w-5 h-5"></i>
                        </div>
                        <span class="text-xs">مسح QR</span>
                    </button>
                    <button class="flex flex-col items-center gap-2 p-3 rounded-xl hover:bg-neutral-50 transition-colors">
                        <div class="w-12 h-12 bg-libyana-100 rounded-full flex items-center justify-center">
                            <i data-feather="credit-card" class="text-libyana-600 w-5 h-5"></i>
                        </div>
                        <span class="text-xs">دفع فواتير</span>
                    </button>
                </div>
            </div>

            <!-- Recent Transactions -->
            <div class="px-6 pb-6">
                <div class="flex justify-between items-center mb-4">
                    <h2 class="text-lg font-semibold">آخر المعاملات</h2>
                    <button class="text-libyana-600 text-sm font-medium">عرض الكل</button>
                </div>
                <div class="space-y-3">
                    <div class="bg-white border border-neutral-200 rounded-xl p-4 flex items-center justify-between">
                        <div class="flex items-center gap-3">
                            <div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center">
                                <i data-feather="arrow-down-left" class="text-green-600 w-4 h-4"></i>
                            </div>
                            <div>
                                <p class="font-medium">استلام من أحمد محمد</p>
                                <p class="text-xs text-neutral-500">منذ 5 دقائق</p>
                            </div>
                        </div>
                        <div class="text-left">
                            <p class="font-semibold text-green-600">+250.00 د.ل</p>
                        </div>
                    </div>
                    
                    <div class="bg-white border border-neutral-200 rounded-xl p-4 flex items-center justify-between">
                        <div class="flex items-center gap-3">
                            <div class="w-10 h-10 bg-red-100 rounded-full flex items-center justify-center">
                                <i data-feather="arrow-up-right" class="text-red-600 w-4 h-4"></i>
                            </div>
                            <div>
                                <p class="font-medium">تحويل إلى فاطمة علي</p>
                                <p class="text-xs text-neutral-500">منذ ساعتين</p>
                            </div>
                        </div>
                        <div class="text-left">
                            <p class="font-semibold text-red-600">-100.00 د.ل</p>
                        </div>
                    </div>
                    
                    <div class="bg-white border border-neutral-200 rounded-xl p-4 flex items-center justify-between">
                        <div class="flex items-center gap-3">
                            <div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center">
                                <i data-feather="smartphone" class="text-blue-600 w-4 h-4"></i>
                            </div>
                            <div>
                                <p class="font-medium">شحن رصيد - Libyana</p>
                                <p class="text-xs text-neutral-500">أمس</p>
                            </div>
                        </div>
                        <div class="text-left">
                            <p class="font-semibold text-red-600">-20.00 د.ل</p>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Services Section -->
            <div class="px-6 pb-6">
                <h2 class="text-lg font-semibold mb-4">جميع الخدمات</h2>
                <div class="grid grid-cols-2 gap-3">
                    <button class="bg-white border border-neutral-200 rounded-xl p-4 flex items-center gap-3 hover:bg-neutral-50 transition-colors">
                        <div class="w-10 h-10 bg-orange-100 rounded-full flex items-center justify-center">
                            <i data-feather="zap" class="text-orange-600 w-5 h-5"></i>
                        </div>
                        <div class="text-right">
                            <p class="font-medium text-sm">الكهرباء</p>
                            <p class="text-xs text-neutral-500">GECOL</p>
                        </div>
                    </button>
                    
                    <button class="bg-white border border-neutral-200 rounded-xl p-4 flex items-center gap-3 hover:bg-neutral-50 transition-colors">
                        <div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center">
                            <i data-feather="droplet" class="text-blue-600 w-5 h-5"></i>
                        </div>
                        <div class="text-right">
                            <p class="font-medium text-sm">المياه</p>
                            <p class="text-xs text-neutral-500">GWA</p>
                        </div>
                    </button>
                    
                    <button class="bg-white border border-neutral-200 rounded-xl p-4 flex items-center gap-3 hover:bg-neutral-50 transition-colors">
                        <div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center">
                            <i data-feather="wifi" class="text-purple-600 w-5 h-5"></i>
                        </div>
                        <div class="text-right">
                            <p class="font-medium text-sm">الإنترنت</p>
                            <p class="text-xs text-neutral-500">مزودي الخدمة</p>
                        </div>
                    </button>
                    
                    <button class="bg-white border border-neutral-200 rounded-xl p-4 flex items-center gap-3 hover:bg-neutral-50 transition-colors">
                        <div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center">
                            <i data-feather="phone" class="text-green-600 w-5 h-5"></i>
                        </div>
                        <div class="text-right">
                            <p class="font-medium text-sm">شحن رصيد</p>
                            <p class="text-xs text-neutral-500">جميع الشبكات</p>
                        </div>
                    </button>
                </div>
            </div>
        </main>

        <!-- Bottom Navigation -->
        <mobile-nav></mobile-nav>
    </div>

    <script src="components/mobile-header.js"></script>
    <script src="components/mobile-nav.js"></script>
    <script src="script.js"></script>
    <script>feather.replace();</script>
</body>
</html>