-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (83 loc) · 4.59 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>
<title>A Firework for You!</title>
<link rel="icon" href="favicon.png" type="image/png">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<meta property="og:title" content="A Firework for You!" />
<meta property="og:image" content="./favicon.png" />
<meta property="description" content="Happy Diwali!! Here a little generative something from us.." />
<!-- jQuery and JS bundle w/ Popper.js -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/p5.js"></script>
<script src="https://freshfork.github.io/p5.EasyCam/p5.easycam.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/addons/p5.sound.min.js"></script> -->
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="utf-8" />
</head>
<body>
<section id="header" class="bg-black white py-5">
<div class="mx-5">
<div class="row pt-5 mx-5">
<div class="col-12 col-md-6">
<em>NID Wali Diwali</em>
<h1 class="display-3 font-weight-bold" style ="font-size:50px; line-height: 50px; margin-top: 20px" >A firework <br>for you!</h1>
<div class="user-input mt-5">
<label for="name"><h6> <h2>✨</h2></br> </br> Enter your name to generate <br>your unique symbol of celebration</h6></label>
<div class="form-group">
<input type="text" class="rounded-0 mr-2" class="form-control" id="nameInput" aria-describedby="nameHelp" placeholder="Your name" style="margin-top:20px;"/>
<button class="" onclick="getValues()" style="margin-top: auto;">Submit</button>
<!-- <small id="nameHelp" class="form-text text-muted">enter some name</small> -->
</div>
</div>
<div class="how-to-use-note mt-5">
<!-- <p>Scroll down to see where all the celebrations are happening...</p> -->
</div>
<!-- <div class="how-to-use-note mt-5 row">
<img class="col-3" src="./rotate-label.png" />
<div class="col-9">
<p>Hey << name >> </p>
<p>Use your mouse to rotate the scene</p>
<p>When you like the view, hit save and share.</p>
</div>
</div> -->
</div>
<div class="col-12 col-md-6 mx-auto text-center">
<div id="user-sketch-container" class="sketch"></div>
<button id="save-user" class="mx-1">Download PNG</button>
<a href="#india">
<button id="add-to-map" class="mx-1 bg-white black px-2"> ↓ Add it to the Map ↓ </button>
</a>
</div>
</div>
</div>
</section>
<div class="header-end"></div>
<section id="india" class="bg-black white py-5" >
<div class="my-3 text-center" >
<p>🎉 Check out where everyone is celebrating 🎉</p>
<h4 class="display-4">Can you find yours?</h4>
<p style = "margin-top: 10px; color:gray">use the mouse to navigate</p>
</div>
<div id="india-sketch-container" class="sketch"></div>
<div class="text-center">
<button id="save-map">Download map</button>
</div>
</section>
<footer class="bg-black white p-3">
<p class="py-2">Made with <b style="color:red;">♥</b> by <a href="https://www.instagram.com/manj.who/">Manju</a> & <a href="https://allwinwilliams.github.io">Allwin</a>.</p>
</footer>
<script src="https://www.gstatic.com/firebasejs/8.0.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.0.2/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.0.2/firebase-database.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lodash@4.17.20/lodash.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js"></script> -->
<script src="./particle.js"></script>
<script src="./firework.js"></script>
<script src="./script.js"></script>
<script src="./service.js"></script>
<script src="./individual.js"></script>
<script src="./sketch.js"></script>
</body>
</html>