-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (40 loc) · 1.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="https://fav.farm/🔥" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@bedard/gradient</title>
<style>
body {
margin: 0;
padding: 0;
}
canvas {
height: 100vh;
position: fixed;
width: 100vw;
}
a {
position: fixed;
right: 0;
top: 0;
padding: 1rem;
color: rgba(0, 0, 0, 0.5);
}
a:hover {
color: rgba(0, 0, 0, 0.8);
}
</style>
</head>
<body>
<canvas></canvas>
<a href="https://github.com/scottbedard/gradient">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M15 22V18C15.14 16.75 14.78 15.49 14 14.5C17 14.5 20 12.5 20 9C20.08 7.75 19.73 6.52 19 5.5C19.28 4.35 19.28 3.15 19 2C19 2 18 2 16 3.5C13.36 3 10.64 3 8 3.5C6 2 5 2 5 2C4.7 3.15 4.7 4.35 5 5.5C4.27 6.52 3.92 7.75 4 9C4 12.5 7 14.5 10 14.5C9.61 14.99 9.32 15.55 9.15 16.15C8.98 16.75 8.93 17.38 9 18V22"></path>
<path d="M9 18c-4.51 2-5-2-7-2"></path>
</svg>
</a>
<script type="module" src="/src/example.js"></script>
</body>
</html>