File size: 17,792 Bytes
c5d9772
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Account - EstateEase</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        .account-section {
            transition: all 0.3s ease;
        }
        .account-section:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .security-badge {
            position: relative;
        }
        .security-badge::after {
            content: '';
            position: absolute;
            top: -2px;
            right: -2px;
            width: 12px;
            height: 12px;
            background-color: #38a169;
            border-radius: 50%;
            border: 2px solid white;
        }
    </style>
</head>
<body class="bg-gray-50 font-sans antialiased">
    <custom-navbar></custom-navbar>

    <main class="container mx-auto px-4 py-8">
        <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8">
            <div>
                <h1 class="text-2xl font-bold text-dark">Account Settings</h1>
                <p class="text-gray-600 mt-1">Manage your account information and preferences</p>
            </div>
            <div class="mt-4 md:mt-0">
                <button class="bg-primary hover:bg-opacity-90 text-white py-2 px-4 rounded-md transition">
                    <i data-feather="download" class="w-4 h-4 mr-2"></i>
                    Export Account Data
                </button>
            </div>
        </div>

        <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
            <!-- Left Column -->
            <div class="lg:col-span-2 space-y-6">
                <!-- Profile Information -->
                <div class="account-section bg-white rounded-lg shadow overflow-hidden">
                    <div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
                        <h2 class="text-lg font-semibold text-dark">Profile Information</h2>
                        <button class="text-primary hover:text-opacity-80 text-sm font-medium">
                            Edit Profile
                        </button>
                    </div>
                    <div class="p-6">
                        <div class="flex items-center mb-6">
                            <div class="relative">
                                <img src="http://static.photos/people/200x200/42" alt="Profile" class="w-20 h-20 rounded-full border-4 border-white shadow">
                                <button class="absolute bottom-0 right-0 bg-primary text-white p-2 rounded-full shadow">
                                    <i data-feather="camera" class="w-4 h-4"></i>
                                </button>
                            </div>
                            <div class="ml-6">
                                <h3 class="text-xl font-bold text-dark">John Doe</h3>
                                <p class="text-gray-600">Property Owner</p>
                            </div>
                        </div>
                        
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                            <div>
                                <label class="block text-gray-500 text-sm mb-1">First Name</label>
                                <p class="font-medium">John</p>
                            </div>
                            <div>
                                <label class="block text-gray-500 text-sm mb-1">Last Name</label>
                                <p class="font-medium">Doe</p>
                            </div>
                            <div>
                                <label class="block text-gray-500 text-sm mb-1">Email</label>
                                <p class="font-medium">john.doe@example.com</p>
                            </div>
                            <div>
                                <label class="block text-gray-500 text-sm mb-1">Phone</label>
                                <p class="font-medium">(555) 123-4567</p>
                            </div>
                            <div>
                                <label class="block text-gray-500 text-sm mb-1">Date of Birth</label>
                                <p class="font-medium">January 15, 1980</p>
                            </div>
                            <div>
                                <label class="block text-gray-500 text-sm mb-1">Member Since</label>
                                <p class="font-medium">June 12, 2018</p>
                            </div>
                        </div>
                        
                        <div class="mt-6">
                            <label class="block text-gray-500 text-sm mb-1">Bio</label>
                            <p class="text-gray-700">Real estate investor with properties across the city. Focused on providing quality housing solutions.</p>
                        </div>
                    </div>
                </div>

                <!-- Address Information -->
                <div class="account-section bg-white rounded-lg shadow overflow-hidden">
                    <div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
                        <h2 class="text-lg font-semibold text-dark">Address Information</h2>
                        <button class="text-primary hover:text-opacity-80 text-sm font-medium">
                            Edit Address
                        </button>
                    </div>
                    <div class="p-6">
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                            <div>
                                <label class="block text-gray-500 text-sm mb-1">Primary Address</label>
                                <p class="font-medium">123 Main Street</p>
                                <p class="font-medium">Property City, PC 12345</p>
                                <p class="text-gray-500 text-sm">United States</p>
                            </div>
                            <div>
                                <label class="block text-gray-500 text-sm mb-1">Billing Address</label>
                                <p class="font-medium">Same as Primary Address</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Notification Preferences -->
                <div class="account-section bg-white rounded-lg shadow overflow-hidden">
                    <div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
                        <h2 class="text-lg font-semibold text-dark">Notification Preferences</h2>
                        <button class="text-primary hover:text-opacity-80 text-sm font-medium">
                            Edit Preferences
                        </button>
                    </div>
                    <div class="p-6">
                        <div class="space-y-4">
                            <div class="flex items-center justify-between">
                                <div>
                                    <label class="block font-medium text-dark">Email Notifications</label>
                                    <p class="text-gray-500 text-sm">Receive important updates via email</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="sr-only peer" checked>
                                    <div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"></div>
                                </label>
                            </div>
                            <div class="flex items-center justify-between">
                                <div>
                                    <label class="block font-medium text-dark">SMS Alerts</label>
                                    <p class="text-gray-500 text-sm">Get urgent notifications via text</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="sr-only peer" checked>
                                    <div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"></div>
                                </label>
                            </div>
                            <div class="flex items-center justify-between">
                                <div>
                                    <label class="block font-medium text-dark">Push Notifications</label>
                                    <p class="text-gray-500 text-sm">Receive app notifications</p>
                                </div>
                                <label class="relative inline-flex items-center cursor-pointer">
                                    <input type="checkbox" class="sr-only peer">
                                    <div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"></div>
                                </label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Right Column -->
            <div class="space-y-6">
                <!-- Account Security -->
                <div class="account-section bg-white rounded-lg shadow overflow-hidden">
                    <div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
                        <h2 class="text-lg font-semibold text-dark">Account Security</h2>
                        <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded">Secure</span>
                    </div>
                    <div class="p-6 space-y-4">
                        <div class="flex justify-between items-center">
                            <div class="flex items-center">
                                <i data-feather="lock" class="text-primary w-5 h-5 mr-3"></i>
                                <div>
                                    <h3 class="font-medium text-dark">Password</h3>
                                    <p class="text-gray-500 text-sm">Last changed 3 months ago</p>
                                </div>
                            </div>
                            <button class="text-primary hover:text-opacity-80 text-sm font-medium">
                                Change
                            </button>
                        </div>
                        
                        <div class="flex justify-between items-center">
                            <div class="flex items-center">
                                <div class="security-badge">
                                    <i data-feather="shield" class="text-primary w-5 h-5 mr-3"></i>
                                </div>
                                <div>
                                    <h3 class="font-medium text-dark">Two-Factor Authentication</h3>
                                    <p class="text-gray-500 text-sm">Enabled</p>
                                </div>
                            </div>
                            <button class="text-primary hover:text-opacity-80 text-sm font-medium">
                                Manage
                            </button>
                        </div>
                        
                        <div class="flex justify-between items-center">
                            <div class="flex items-center">
                                <i data-feather="monitor" class="text-primary w-5 h-5 mr-3"></i>
                                <div>
                                    <h3 class="font-medium text-dark">Active Sessions</h3>
                                    <p class="text-gray-500 text-sm">3 devices</p>
                                </div>
                            </div>
                            <button class="text-primary hover:text-opacity-80 text-sm font-medium">
                                View All
                            </button>
                        </div>
                        
                        <button class="w-full mt-4 bg-red-50 hover:bg-red-100 text-red-600 py-2 px-4 rounded-md transition flex items-center justify-center">
                            <i data-feather="log-out" class="w-4 h-4 mr-2"></i>
                            Logout All Devices
                        </button>
                    </div>
                </div>

                <!-- Connected Accounts -->
                <div class="account-section bg-white rounded-lg shadow overflow-hidden">
                    <div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
                        <h2 class="text-lg font-semibold text-dark">Connected Accounts</h2>
                        <button class="text-primary hover:text-opacity-80 text-sm font-medium">
                            Add Account
                        </button>
                    </div>
                    <div class="p-6">
                        <div class="flex items-center justify-between mb-4">
                            <div class="flex items-center">
                                <i data-feather="credit-card" class="text-blue-500 w-5 h-5 mr-3"></i>
                                <span>Bank Account</span>
                            </div>
                            <span class="text-green-600 text-sm font-medium">Connected</span>
                        </div>
                        <div class="flex items-center justify-between mb-4">
                            <div class="flex items-center">
                                <i data-feather="mail" class="text-red-500 w-5 h-5 mr-3"></i>
                                <span>Google</span>
                            </div>
                            <span class="text-green-600 text-sm font-medium">Connected</span>
                        </div>
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <i data-feather="calendar" class="text-purple-500 w-5 h-5 mr-3"></i>
                                <span>Apple</span>
                            </div>
                            <span class="text-gray-500 text-sm font-medium">Not Connected</span>
                        </div>
                    </div>
                </div>

                <!-- Billing Information -->
                <div class="account-section bg-white rounded-lg shadow overflow-hidden">
                    <div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
                        <h2 class="text-lg font-semibold text-dark">Billing Information</h2>
                        <button class="text-primary hover:text-opacity-80 text-sm font-medium">
                            Update
                        </button>
                    </div>
                    <div class="p-6">
                        <div class="mb-4">
                            <label class="block text-gray-500 text-sm mb-1">Plan</label>
                            <p class="font-medium">Premium - $29.99/month</p>
                        </div>
                        <div class="mb-4">
                            <label class="block text-gray-500 text-sm mb-1">Payment Method</label>
                            <div class="flex items-center">
                                <i data-feather="credit-card" class="text-primary w-5 h-5 mr-2"></i>
                                <span class="font-medium">Visa ending in 4242</span>
                            </div>
                        </div>
                        <div>
                            <label class="block text-gray-500 text-sm mb-1">Next Billing Date</label>
                            <p class="font-medium">June 15, 2023</p>
                        </div>
                        <button class="w-full mt-4 bg-primary hover:bg-opacity-90 text-white py-2 px-4 rounded-md transition">
                            View Billing History
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <custom-footer></custom-footer>
    
    <script>
        feather.replace();
    </script>
</body>
</html>