-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (80 loc) · 3.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spinwheel</title>
<link rel="icon" href="/apple-touch-icon.png" type="image/png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<main class="content">
<div class="inner-wrapper">
<section class="welcome section active display-block">
<div class="section-inner-wrapper">
<h2 class="headline">BORIOL.CH</h2>
<h2 class="headline__main">
<span>Glücksrad</span>
</h2>
<div class="desc">
<p>
Spiel mit und sichere dir deinen Gutschein für deinen nächsten Einkauf.
</p>
</div>
<div class="start-game-action">
<button type="button" class="start-game next-section">Start</button>
</div>
</div>
</section>
<section class="spinwheel section display-none">
<div class="section-inner-wrapper">
<div class="wheel-container">
<div class="canvas-wrapper">
<canvas id="canvas" width="500" height="500" style="background-color: transparent;" data-responsiveMinWidth="180" data-responsiveScaleHeight="true">
<p style="color: white" align="center">Sorry, your browser doesn't support canvas. Please try another.</p>
</canvas>
</div>
<div class="start-game-action spin">
<button type="button" class="start-game spin-the-wheel" onClick="startSpin();">Drehe das Rad</button>
</div>
</div>
</div>
</section>
<section class="get-your-prize section display-none">
<div class="section-inner-wrapper">
<div class="form-wrapper">
<h2 class="prize-title">Du hast es geschafft!</h2>
<div class="prize-info"></div>
<div class="form-desc">Bitte füllen Sie das untenstehende Formular aus, damit wir Ihnen Ihre Belohnung zusenden können!</div>
<form name="winner" method="POST" data-netlify="true">
<div class="form-row">
<div class="form-row half">
<label for="firstName">Vorname:</label>
<input type="text" id="firstName" name="firstName" required>
</div>
<div class="form-row half">
<label for="lastName">Nachname:</label>
<input type="text" id="lastName" name="lastName" required>
</div>
</div>
<div class="form-row full">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
</div>
<input type="hidden" id="rewardDataVal" name="rewardDataVal" value="" />
<div>
<button type="submit" class="submit-prize">Schicken</button>
</div>
</form>
</div>
</div>
</section>
</div>
</main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/gsap.min.js" integrity="sha512-cOH8ndwGgPo+K7pTvMrqYbmI8u8k6Sho3js0gOqVWTmQMlLIi6TbqGWRTpf1ga8ci9H3iPsvDLr4X7xwhC/+DQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="js/Winwheel.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>