File size: 9,656 Bytes
e72d67e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>لوحة تحكم العميل</title>
    <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>
        @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');
        body {
            font-family: 'Tajawal', sans-serif;
        }
    </style>
</head>
<body class="bg-gray-100">
    <div class="min-h-screen">
        <!-- Header -->
        <header class="bg-white shadow-sm">
            <div class="container mx-auto px-4 py-4 flex justify-between items-center">
                <a href="index.html" class="text-xl font-bold text-primary">منصة الاستشارات القانونية</a>
                
                <div class="flex items-center space-x-4 space-x-reverse">
                    <button class="p-2 rounded-full hover:bg-gray-100 relative">
                        <i data-feather="bell"></i>
                        <span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span>
                    </button>
                    
                    <div class="flex items-center space-x-2 space-x-reverse">
                        <img src="http://static.photos/people/200x200/1" alt="Profile" class="w-8 h-8 rounded-full">
                        <span class="font-medium">عمر حسن</span>
                    </div>
                </div>
            </div>
        </header>
        
        <!-- Main Content -->
        <main class="container mx-auto px-4 py-8">
            <div class="flex flex-col md:flex-row gap-6">
                <!-- Sidebar -->
                <aside class="w-full md:w-64 bg-white rounded-xl shadow-sm p-4 h-fit">
                    <div class="text-center mb-6">
                        <img src="http://static.photos/people/200x200/1" alt="Profile" class="w-20 h-20 rounded-full mx-auto mb-3">
                        <h3 class="font-bold">عمر حسن</h3>
                        <p class="text-sm text-gray-500">عميل</p>
                    </div>
                    
                    <nav class="space-y-2">
                        <a href="#" class="flex items-center p-3 rounded-lg bg-primary/10 text-primary">
                            <i data-feather="home" class="w-5 h-5"></i>
                            <span class="mr-3">الرئيسية</span>
                        </a>
                        <a href="#" class="flex items-center p-3 rounded-lg text-gray-600 hover:bg-gray-100">
                            <i data-feather="user" class="w-5 h-5"></i>
                            <span class="mr-3">الملف الشخصي</span>
                        </a>
                        <a href="#" class="flex items-center p-3 rounded-lg text-gray-600 hover:bg-gray-100">
                            <i data-feather="briefcase" class="w-5 h-5"></i>
                            <span class="mr-3">قضاياي</span>
                        </a>
                        <a href="#" class="flex items-center p-3 rounded-lg text-gray-600 hover:bg-gray-100">
                            <i data-feather="file-text" class="w-5 h-5"></i>
                            <span class="mr-3">المستندات</span>
                        </a>
                        <a href="#" class="flex items-center p-3 rounded-lg text-gray-600 hover:bg-gray-100">
                            <i data-feather="message-square" class="w-5 h-5"></i>
                            <span class="mr-3">مراسلة المحامي</span>
                        </a>
                    </nav>
                </aside>
                
                <!-- Content -->
                <div class="flex-1">
                    <div class="bg-white rounded-xl shadow-sm p-6 mb-6">
                        <h2 class="text-xl font-semibold mb-6">قضاياي</h2>
                        
                        <div class="overflow-x-auto">
                            <table class="w-full">
                                <thead>
                                    <tr class="text-right border-b">
                                        <th class="pb-3 px-4">الحالة</th>
                                        <th class="pb-3 px-4">المحامي</th>
                                        <th class="pb-3 px-4">رقم القضية</th>
                                        <th class="pb-3 px-4">النوع</th>
                                        <th class="pb-3 px-4">آخر تحديث</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr class="border-b hover:bg-gray-50">
                                        <td class="py-3 px-4">
                                            <span class="px-2 py-1 bg-yellow-100 text-yellow-800 rounded-full text-xs">قيد النظر</span>
                                        </td>
                                        <td class="py-3 px-4">المحامي أحمد</td>
                                        <td class="py-3 px-4">#2023-156</td>
                                        <td class="py-3 px-4">تجاري</td>
                                        <td class="py-3 px-4">منذ يومين</td>
                                    </tr>
                                    <tr class="border-b hover:bg-gray-50">
                                        <td class="py-3 px-4">
                                            <span class="px-2 py-1 bg-green-100 text-green-800 rounded-full text-xs">منتهية</span>
                                        </td>
                                        <td class="py-3 px-4">المحامية سارة</td>
                                        <td class="py-3 px-4">#2023-112</td>
                                        <td class="py-3 px-4">أسرة</td>
                                        <td class="py-3 px-4">منذ شهر</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                        <!-- Upload Document -->
                        <div class="bg-white rounded-xl shadow-sm p-6">
                            <h2 class="text-xl font-semibold mb-4">رفع مستند</h2>
                            <div class="border-2 border-dashed border-gray-300 rounded-lg p-8 text-center">
                                <i data-feather="upload" class="w-10 h-10 mx-auto text-gray-400 mb-3"></i>
                                <p class="text-gray-500 mb-4">اسحب وأسقط الملفات هنا أو انقر لاختيار الملفات</p>
                                <button class="bg-primary hover:bg-secondary text-white font-medium py-2 px-4 rounded-lg transition duration-300">
                                    اختر ملف
                                </button>
                            </div>
                        </div>
                        
                        <!-- Recent Notifications -->
                        <div class="bg-white rounded-xl shadow-sm p-6">
                            <h2 class="text-xl font-semibold mb-4">آخر التنبيهات</h2>
                            <div class="space-y-4">
                                <div class="flex items-start p-3 bg-blue-50 rounded-lg">
                                    <div class="p-2 bg-blue-100 rounded-full mr-3">
                                        <i data-feather="calendar" class="w-4 h-4 text-blue-600"></i>
                                    </div>
                                    <div>
                                        <h4 class="font-medium">موعد جلسة قادمة</h4>
                                        <p class="text-sm text-gray-600">لديك جلسة استماع يوم 15 يونيو 2023</p>
                                        <p class="text-xs text-gray-400 mt-1">منذ ساعتين</p>
                                    </div>
                                </div>
                                
                                <div class="flex items-start p-3 bg-green-50 rounded-lg">
                                    <div class="p-2 bg-green-100 rounded-full mr-3">
                                        <i data-feather="file-text" class="w-4 h-4 text-green-600"></i>
                                    </div>
                                    <div>
                                        <h4 class="font-medium">مستند جديد</h4>
                                        <p class="text-sm text-gray-600">قام المحامي أحمد برفع مستند جديد</p>
                                        <p class="text-xs text-gray-400 mt-1">منذ يوم</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>

    <script>
        AOS.init();
        feather.replace();
    </script>
</body>
</html>