-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (56 loc) · 2.98 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./css/tailwind.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap"
rel="stylesheet">
<title>Frontend Mentor | NFT preview card component</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
*{
font-family: 'Outfit', sans-serif;
}
</style>
</head>
<body class="flex bg-blue-bg items-center flex-col">
<div class="p-5 w-min bg-blue-card my-auto rounded-2xl shadow-lg flex flex-col items-start gap-y-4 mx-auto">
<div
class="h-[284px] md:h-[300px] w-[284px] md:w-[300px] rounded-lg relative after:absolute hover:after:bg-cyan/40 group after:transition-colors after:duration-200 after:bg-transparent after:inset-0 flex overflow-hidden">
<img src="images/image-equilibrium.jpg" alt="Equilibrium" class="aspect-square" alt="Equilibrium">
<img src="images/icon-view.svg" alt="icon-view"
class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 opacity-0 group-hover:opacity-100 transition-all duration-300">
</div>
<a href="#" class="mt-2 transition-colors duration-200 font-semibold text-white text-2xl hover:text-cyan">Equilibrium
#3429</a>
<div class="mt-1 flex flex-shrink font-light text-soft-blue text-normal">
Our Equilibrium collection promotes balance and calm.
</div>
<div class="flex w-full justify-between items-center">
<span class="inline-flex items-center gap-x-2 text-cyan font-semibold ">
<svg width="11" height="18" xmlns="http://www.w3.org/2000/svg">
<path d="M11 10.216 5.5 18 0 10.216l5.5 3.263 5.5-3.262ZM5.5 0l5.496 9.169L5.5 12.43 0 9.17 5.5 0Z"
fill="#00FFF8" /></svg>
0.041 ETH
</span>
<div class="inline-flex items-center gap-x-2 font-light text-soft-blue">
<svg width="17" height="17" xmlns="http://www.w3.org/2000/svg">
<path
d="M8.305 2.007a6.667 6.667 0 1 0 0 13.334 6.667 6.667 0 0 0 0-13.334Zm2.667 7.334H8.305a.667.667 0 0 1-.667-.667V6.007a.667.667 0 0 1 1.334 0v2h2a.667.667 0 0 1 0 1.334Z"
fill="#8BACD9" /></svg>
3 days left
</div>
</div>
<div class="flex items-center justify-start gap-x-4 border-t text-soft-blue border-blue-line w-full pt-4 pb-3">
<img src="images/image-avatar.png" alt="" class="h-9 w-9 font-light rounded-full border-2 border-soft-blue">
<span>Creation of <a href="#" class="font-normal text-white hover:text-cyan">Jules Wyvern</a></span>
</div>
</div>
</body>
</html>