-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (80 loc) · 4.08 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta property="og:title" content="timesince.link" />
<meta property="og:image" content="https://timesince.link/timesince.jpg" />
<meta property="og:description" content="timesince.link" />
<meta property="og:url" content="https://timesince.link/" />
<meta property="og:type" content="website" />
<link rel="shortcut icon" type="image/svg+xml" href="/favicon.svg">
<meta name="theme-color" content="#ffffff">
<meta charset="UTF-8">
<meta name="viewport">
<title>timesince.link</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<div id="menulines" onclick="toggleAbout()">
<svg id="line1" viewBox="0 0 168 33" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"
stroke-linejoin="round" stroke-miterlimit="2">
<path d="M0 32C9 32 19 0 28 0s19 32 28 32S75 0 84 0s19 32 28 32 19-32 28-32 19 32 28 32" fill="none" />
</svg>
<svg id="line2" viewBox="0 0 168 33" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"
stroke-linejoin="round" stroke-miterlimit="2">
<path d="M0 32C9 32 19 0 28 0s19 32 28 32S75 0 84 0s19 32 28 32 19-32 28-32 19 32 28 32" fill="none" />
</svg>
<svg id="line3" viewBox="0 0 168 33" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"
stroke-linejoin="round" stroke-miterlimit="2">
<path d="M0 32C9 32 19 0 28 0s19 32 28 32S75 0 84 0s19 32 28 32 19-32 28-32 19 32 28 32" fill="none" />
</svg>
</div>
<div id="aboutwrapper" onclick="toggleAbout()">
<div id="about" onclick="event.stopPropagation()">
<div id="xbuttoncontainer">
<div id="xbuttonclickable" onclick="toggleAbout()">
<svg id="xbutton" viewBox="0 0 305 305" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd"
clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path d="M305 0L0 305M0 0l305 305" fill="none" />
</svg>
</div>
</div>
<a href="/" id="aboutHomeLink"><h2>
<img id="logoHand" src="logoHand.svg" width="80px" style="vertical-align: middle; position: absolute">
<img src="logoMain.svg" width="80px" style="vertical-align: middle">
timesince.link
</h2></a>
<p>A tool made by <a href="https://coekuss.com/">Coekuss</a> to help you
appreciate life events and new habits. Adding structure to your personal
progress.
</p>
<p>The link contains all the info about your event so you can
bookmark it, send it to people, or whatever else.
</p>
<p>
<a href="https://github.com/coekuss/timesince.link">Github</a>
</p>
</div>
</div>
<div id="fadeInWrapper"></div>
<div id="wrapper">
<div id="content">
<p>It has been</p>
<div id="timesinceWrapper">
<svg id="cycleUnitLeft" onclick="cycleUnit('left')" viewBox="0 0 1000 400" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"
stroke-linejoin="round" stroke-miterlimit="2">
<path d="M199.069.051L-.123 199.244 199.069 398.43M-.123 199.244h533.466" fill="none" />
</svg>
<span id="timesince" onclick="cycleDecimal()"></span>
<svg id="cycleUnitRight" onclick="cycleUnit('right')" viewBox="0 0 1000 400" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"
stroke-linejoin="round" stroke-miterlimit="2">
<path d="M199.069.051L-.123 199.244 199.069 398.43M-.123 199.244h533.466" fill="none" />
</svg>
</div>
<p>since</p>
<p id="event"></p>
</div>
</div>
</body>
</html>