forked from anuragverma108/WildGuard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
user.html
133 lines (116 loc) · 2.54 KB
/
user.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User Profile</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
background-color: #f7f7f7;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.user-container {
width: 100%;
max-width: 400px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
text-align: center;
}
.user-container img {
width: 100px;
height: 100px;
border-radius: 50%;
margin-bottom: 15px;
}
.user-container h1 {
font-size: 24px;
font-weight: 600;
color: #333;
}
.user-container p {
color: #777;
margin-bottom: 20px;
}
.user-info {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.user-info div {
text-align: center;
}
.user-info div h3 {
font-size: 18px;
color: #333;
}
.user-info div p {
color: #777;
font-size: 14px;
}
.btn-logout {
background-color: #a4db75;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.btn-logout:hover {
background-color: #87c358;
}
/* responsive design for different viewports */
@media (max-width: 600px) {
.user-container {
padding: 15px;
max-width: 90%;
}
.user-container h1 {
font-size: 20px;
}
.user-info div h3 {
font-size: 16px;
}
.btn-logout {
font-size: 14px;
padding: 8px 15px;
}
}
</style>
</head>
<body>
<div class="user-container">
<img src="https://randomuser.me/api/portraits/thumb/men/77.jpg" alt="User Profile Pictures">
<h1>Arman Bhadoriya</h1>
<p>arman@gmail.com</p>
<div class="user-info">
<div>
<h3>120</h3>
<p>Followers</p>
</div>
<div>
<h3>80</h3>
<p>Following</p>
</div>
<div>
<h3>15</h3>
<p>Posts</p>
</div>
</div>
<button class="btn-logout">Logout</button>
</div>
</body>
</html>