-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprofile-card.html
47 lines (39 loc) · 1.8 KB
/
profile-card.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Mazyar">
<link rel="stylesheet" href="style/style.css" />
<title>Profile Card</title>
</head>
<section class="font-montserrat bg-[#071e34] flex font-medium items-center justify-center h-screen">
<section class="w-64 mx-auto bg-[#20354b] rounded-2xl px-8 py-6 shadow-lg">
<div class="flex items-center justify-between">
<span class="text-gray-400 text-sm">2d ago</span>
<span class="text-emerald-400">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z" />
</svg>
</span>
</div>
<div class="mt-6 w-fit mx-auto">
<img src="https://randomuser.me/api/portraits/men/46.jpg" class="rounded-full w-28 " alt="profile picture" srcset="">
</div>
<div class="mt-8 ">
<h2 class="text-white font-bold text-2xl tracking-wide">Jonathan <br/> Smith</h2>
</div>
<p class="text-emerald-400 font-semibold mt-2.5" >
Active
</p>
<div class="h-1 w-full bg-black mt-8 rounded-full">
<div class="h-1 rounded-full w-2/5 bg-yellow-500 "></div>
</div>
<div class="mt-3 text-white text-sm">
<span class="text-gray-400 font-semibold">Storage:</span>
<span>40%</span>
</div>
</section>
</section>
</html>