-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
76 lines (72 loc) · 2.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<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=Roboto:ital,wght@0,300;0,400;1,400&display=swap"
rel="stylesheet">
<meta name="description" content="Corporate wordle. A new puzzle is available each day.">
<link rel="stylesheet" href="./styles.css">
<title>Corporate Wordle</title>
<link rel="apple-touch-icon" sizes="180x180" href="./favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon/favicon-16x16.png">
<link rel="manifest" href="./favicon/site.webmanifest">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BSNMXNRCDD"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-BSNMXNRCDD');
</script>
</head>
<body>
<header>
<div>Corporate Wordle</div>🟩🟨⬛<div id='sub-header'>Words from our office lingo!</div>
</header>
<section id='canvas'>
<div id='messages'></div>
<div id='board'></div>
<div id='keypad'>
<div id='alphabets'></div>
<div id='special-keys'></div>
</div>
</section>
<section id="banner">
<div>
Congratulations! You did it.
</div>
<div class='banner-msg'>Share your score with friends & spread word about the corporate wordle ;)</div>
<div class='share'>Share</div>
<div>Come back tomorrow for a new puzzle.</div>
<div class='divider'></div>
<div>Can't wait till tomorrow?</div>
<div class='share' id='restart-random' onclick="startGame(true)">Restart with a random wordle</div>
</section>
<section id="answer-banner">
<div>
Oh o!.
</div>
<div id='answer-text'></div>
<div class='banner-msg'>Better luck next time.</div>
<div>Come back tomorrow for a new puzzle.</div>
<div class='divider'></div>
<div>Can't wait till tomorrow?</div>
<div class='share' id='restart-random' onclick="startGame(true)">Restart with a random wordle</div>
</section>
<footer>
<div>Made with ♥ in India by <a href="https://www.linkedin.com/in/gauravbehere/"> Gaurav Behere</a></div>
<div>Inspired by <a href="https://www.powerlanguage.co.uk/wordle/">Wordle</a></div>
<div><a href="https://github.com/gauravbehere/wordle">Source Code</a></div>
</footer>
<script type="module" src='./app.js' onload="startGame()"></script>
<script>
const startGame = (random = false) => {
wordle.startGame(random);
}
</script>
</body>
</html>