File size: 7,407 Bytes
7771b0c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Profile | Court Crusader</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen">
    <custom-navbar></custom-navbar>
    
    <main class="container mx-auto px-4 py-8">
        <div class="flex flex-col md:flex-row gap-8">
            <!-- Profile Sidebar -->
            <div class="md:w-1/3 lg:w-1/4">
                <div class="bg-gray-800 rounded-xl p-6 shadow-lg border border-gray-700">
                    <div class="flex flex-col items-center mb-6">
                        <div class="w-24 h-24 rounded-full bg-gray-700 mb-4 overflow-hidden">
                            <img src="http://static.photos/people/200x200/42" alt="Profile" class="w-full h-full object-cover">
                        </div>
                        <h2 class="text-xl font-bold">John Doe</h2>
                        <p class="text-gray-400 text-sm">Member since: Jan 2023</p>
                    </div>
                    
                    <nav class="space-y-2">
                        <a href="#" class="flex items-center space-x-3 px-4 py-3 bg-gray-700 rounded-lg text-red-400">
                            <i data-feather="user" class="w-5 h-5"></i>
                            <span>Profile</span>
                        </a>
                        <a href="#" class="flex items-center space-x-3 px-4 py-3 hover:bg-gray-700 rounded-lg text-gray-300 hover:text-red-400 transition">
                            <i data-feather="file-text" class="w-5 h-5"></i>
                            <span>My Cases</span>
                        </a>
                        <a href="#" class="flex items-center space-x-3 px-4 py-3 hover:bg-gray-700 rounded-lg text-gray-300 hover:text-red-400 transition">
                            <i data-feather="alert-triangle" class="w-5 h-5"></i>
                            <span>Reports</span>
                        </a>
                        <a href="#" class="flex items-center space-x-3 px-4 py-3 hover:bg-gray-700 rounded-lg text-gray-300 hover:text-red-400 transition">
                            <i data-feather="settings" class="w-5 h-5"></i>
                            <span>Settings</span>
                        </a>
                        <a href="#" class="flex items-center space-x-3 px-4 py-3 hover:bg-gray-700 rounded-lg text-gray-300 hover:text-red-400 transition">
                            <i data-feather="log-out" class="w-5 h-5"></i>
                            <span>Logout</span>
                        </a>
                    </nav>
                </div>
            </div>
            
            <!-- Main Content -->
            <div class="md:w-2/3 lg:w-3/4">
                <div class="bg-gray-800 rounded-xl p-6 shadow-lg border border-gray-700 mb-6">
                    <h2 class="text-2xl font-bold mb-6 text-red-500">Profile Information</h2>
                    
                    <form class="space-y-6">
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                            <div>
                                <label class="block text-gray-300 mb-2">First Name</label>
                                <input type="text" value="John" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:ring-2 focus:ring-red-500 focus:border-transparent">
                            </div>
                            <div>
                                <label class="block text-gray-300 mb-2">Last Name</label>
                                <input type="text" value="Doe" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:ring-2 focus:ring-red-500 focus:border-transparent">
                            </div>
                        </div>
                        
                        <div>
                            <label class="block text-gray-300 mb-2">Email</label>
                            <input type="email" value="john.doe@example.com" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:ring-2 focus:ring-red-500 focus:border-transparent">
                        </div>
                        
                        <div>
                            <label class="block text-gray-300 mb-2">Phone Number</label>
                            <input type="tel" value="+64 21 123 4567" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:ring-2 focus:ring-red-500 focus:border-transparent">
                        </div>
                        
                        <div>
                            <label class="block text-gray-300 mb-2">Address</label>
                            <textarea rows="3" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:ring-2 focus:ring-red-500 focus:border-transparent">123 Justice St, Auckland, New Zealand</textarea>
                        </div>
                        
                        <button type="submit" class="bg-red-600 hover:bg-red-700 text-white font-bold py-3 px-6 rounded-lg transition">Update Profile</button>
                    </form>
                </div>
                
                <div class="bg-gray-800 rounded-xl p-6 shadow-lg border border-gray-700">
                    <h2 class="text-2xl font-bold mb-6 text-red-500">Change Password</h2>
                    
                    <form class="space-y-6">
                        <div>
                            <label class="block text-gray-300 mb-2">Current Password</label>
                            <input type="password" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:ring-2 focus:ring-red-500 focus:border-transparent" placeholder="••••••••">
                        </div>
                        
                        <div>
                            <label class="block text-gray-300 mb-2">New Password</label>
                            <input type="password" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:ring-2 focus:ring-red-500 focus:border-transparent" placeholder="••••••••">
                        </div>
                        
                        <div>
                            <label class="block text-gray-300 mb-2">Confirm New Password</label>
                            <input type="password" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:ring-2 focus:ring-red-500 focus:border-transparent" placeholder="••••••••">
                        </div>
                        
                        <button type="submit" class="bg-red-600 hover:bg-red-700 text-white font-bold py-3 px-6 rounded-lg transition">Change Password</button>
                    </form>
                </div>
            </div>
        </div>
    </main>

    <custom-footer></custom-footer>
    <script src="components/navbar.js"></script>
    <script src="components/footer.js"></script>
    <script src="script.js"></script>
    <script>
        feather.replace();
    </script>
</body>
</html>