-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (59 loc) · 2.15 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" />
<title>Choo King's Clocks</title>
<script type="module" src="/src/main.ts" defer></script>
</head>
<body>
<div class="watch-container">
<div id="watch">
<div class="text-ring">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<defs>
<path id="circle-defs" d="M5,50 a45,45 0 1,0 90,0 a45,45 0 1,0 -90,0"/>
</defs>
</svg>
<div class="curved-text-container">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<text class="curved-text">
<textPath startOffset="50%" href="#circle-defs">Digital</textPath>
</text>
</svg>
</div>
<div class="curved-text-container">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<text class="curved-text">
<textPath startOffset="50%" href="#circle-defs">Analog</textPath>
</text>
</svg>
</div>
<div class="curved-text-container">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<text class="curved-text">
<textPath startOffset="50%" href="#circle-defs">Countdown</textPath>
</text>
</svg>
</div>
<div class="curved-text-container">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<text class="curved-text">
<textPath startOffset="50%" href="#circle-defs">Stopwatch</textPath>
</text>
</svg>
</div>
<div class="curved-text-container">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<text class="curved-text">
<textPath startOffset="50%" href="#circle-defs">Alarm</textPath>
</text>
</svg>
</div>
</div>
<div class="clock-container">
</div>
</div>
</div>
</body>
</html>