-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile.html
More file actions
249 lines (232 loc) · 11.4 KB
/
Copy pathprofile.html
File metadata and controls
249 lines (232 loc) · 11.4 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IRONZONE - My Profile</title>
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="styles/header.css">
<link rel="stylesheet" href="styles/profile.css">
</head>
<body>
<!-- Header Component -->
<header class="header">
<div class="header__container">
<button class="header__menu-btn" id="menuBtn">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<line x1="3" y1="6" x2="21" y2="6"></line>
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="18" x2="21" y2="18"></line>
</svg>
</button>
<h1 class="header__logo">IRONZONE</h1>
<!-- Desktop Navigation Menu -->
<nav class="desktop-menu">
<a class="desktop-menu__item" href="index.html">HOME</a>
<a class="desktop-menu__item" href="category.html">CATEGORIES</a>
<a class="desktop-menu__item" href="profile.html">PROFILE</a>
</nav>
<button class="header__cart-btn" id="cartBtn">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<circle cx="9" cy="21" r="1"></circle>
<circle cx="20" cy="21" r="1"></circle>
<path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>
</svg>
</button>
</div>
</header>
<!-- Mobile Menu -->
<div class="mobile-menu__overlay" id="menuOverlay"></div>
<div class="mobile-menu" id="mobileMenu">
<div class="mobile-menu__items">
<a class="mobile-menu__item" href="index.html">
<div class="mobile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"></path>
</svg>
</div>
<span>HOME</span>
</a>
<a class="mobile-menu__item" href="category.html">
<div class="mobile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<path d="M3 3h8v8H3V3m10 0h8v8h-8V3M3 13h8v8H3v-8m10 0h8v8h-8v-8z"></path>
</svg>
</div>
<span>CATEGORIES</span>
</a>
<a class="mobile-menu__item" href="profile.html">
<div class="mobile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path>
</svg>
</div>
<span>PROFILE</span>
</a>
<a class="mobile-menu__item" href="cart.html">
<div class="mobile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<circle cx="9" cy="21" r="1"></circle>
<circle cx="20" cy="21" r="1"></circle>
<path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>
</svg>
</div>
<span>CART</span>
</a>
</div>
</div>
<!-- Profile Page -->
<main class="profile-page">
<!-- Profile Title -->
<div class="profile-page__header">
<h2 class="profile-page__title">PROFILE</h2>
</div>
<!-- User Profile Card -->
<section class="profile-card">
<div class="profile-card__container">
<!-- Avatar -->
<div class="profile-card__avatar">
<span class="profile-card__initial">M</span>
</div>
<!-- User Info -->
<div class="profile-card__info">
<h3 class="profile-card__name">Mayank Tripathi</h3>
<p class="profile-card__email">mayank.tripathi75@gmail.com</p>
</div>
</div>
<!-- Edit Profile Button -->
<button class="profile-card__edit-btn" id="editProfileBtn">
<span>EDIT PROFILE</span>
</button>
</section>
<!-- Stats Section -->
<section class="profile-stats">
<div class="profile-stat">
<p class="profile-stat__value">00</p>
<p class="profile-stat__label">Orders</p>
</div>
<div class="profile-stat">
<p class="profile-stat__value">00</p>
<p class="profile-stat__label">Saved</p>
</div>
<div class="profile-stat">
<p class="profile-stat__value">00</p>
<p class="profile-stat__label">Reviews</p>
</div>
</section>
<!-- Profile Menu -->
<section class="profile-menu">
<!-- Account Section -->
<div class="profile-menu__section">
<h3 class="profile-menu__section-title">Account Settings</h3>
<button class="profile-menu__item" id="myOrderBtn">
<div class="profile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M9 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-4"></path>
<polyline points="13 3 13 9 19 9"></polyline>
<path d="M9 13h6M9 17h3"></path>
</svg>
</div>
<span class="profile-menu__label">My Orders</span>
<div class="profile-menu__arrow">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</div>
</button>
<!-- Delivery Addresses -->
<button class="profile-menu__item" id="addressesBtn">
<div class="profile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
</div>
<span class="profile-menu__label">Delivery Addresses</span>
<div class="profile-menu__arrow">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</div>
</button>
<!-- Payment Methods -->
<button class="profile-menu__item" id="paymentBtn">
<div class="profile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect>
<line x1="1" y1="10" x2="23" y2="10"></line>
</svg>
</div>
<span class="profile-menu__label">Payment Methods</span>
<div class="profile-menu__arrow">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</div>
</button>
<!-- Notifications -->
<button class="profile-menu__item" id="notificationsBtn">
<div class="profile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path>
<path d="M13.73 21a2 2 0 0 1-3.46 0"></path>
</svg>
</div>
<span class="profile-menu__label">Notifications</span>
<div class="profile-menu__arrow">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</div>
</button>
<!-- Language -->
<button class="profile-menu__item" id="languageBtn">
<div class="profile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"></circle>
<path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path>
<line x1="2" y1="12" x2="22" y2="12"></line>
</svg>
</div>
<span class="profile-menu__label">Language</span>
<div class="profile-menu__value">English</div>
<div class="profile-menu__arrow">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</div>
</button>
<!-- Support -->
<button class="profile-menu__item" id="supportBtn">
<div class="profile-menu__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"></circle>
<path d="M12 16v-4M12 8h.01"></path>
</svg>
</div>
<span class="profile-menu__label">Support</span>
<div class="profile-menu__arrow">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</div>
</button>
</section>
<!-- Log Out Button -->
<section class="profile-logout">
<button class="logout-btn" id="logoutBtn">
<div class="logout-btn__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path>
<polyline points="16 17 21 12 16 7"></polyline>
<line x1="21" y1="12" x2="9" y2="12"></line>
</svg>
</div>
<span>LOG OUT</span>
</button>
</section>
</main>
<script src="js/main.js"></script>
<script src="js/profile.js"></script>
</body>
</html>