forked from ayusharma/birthday
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·213 lines (193 loc) · 6.73 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="ie lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="ie lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="ie lt-ie9"> <![endif]-->
<!--[if gt IE 8]> <html> <![endif]-->
<!--[if !IE]><!-->
<html lang="en"><!-- <![endif]-->
<head>
<title>Happy Birthday</title>
<meta charset="UTF-8" />
<meta name="description" content="Happy Birthday Friend">
<meta name="robots" content="index, follow" />
<link rel="author" href="https://github.com/singhnir" />
<meta name="keywords" content="Birthday, Happy">
<!-- Strat of Facebook Meta -->
<meta property="og:type" content="E-Greeting" />
<meta property="og:image" content="favicon.ico" />
<meta property="og:description" content="Wish you a very Happy Birthday">
<!-- End of Facebook Meta Tags -->
<meta name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<link rel="stylesheet" type="text/css" href="loading.css">
<link href='http://fonts.googleapis.com/css?family=Signika' rel='stylesheet' type='text/css'>
<!-- <link href='http://fonts.googleapis.com/css?family=Nunito' rel='stylesheet' type='text/css'> -->
<link rel="stylesheet/less" href="cake.less">
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.1.0/less.min.js"></script>
</head>
<body>
<div class="loading"></div>
<audio class="song" controls loop>
<source src="hbd.mp3">
</source>
Your browser isn't invited for super fun audio time.
</audio>
<div class="balloons text-center" id="b1">
<h2 style="color:#F2B300;">C</h2>
</div>
<div class="balloons text-center" id="b2">
<h2 style="color:#0719D4;">R</h2>
</div>
<div class="balloons text-center" id="b3">
<h2 style="color:#D14D39;">I</h2>
</div>
<div class="balloons text-center" id="b4">
<h2 style="color:#8FAD00;">S</h2>
</div>
<div class="balloons text-center" id="b5">
<h2 style="color:#8377E4;">^_^</h2>
</div>
<div class="balloons text-center" id="b6">
<h2 style="color:#99C96A;">~v~</h2>
</div>
<div class="balloons text-center" id="b7">
<h2 style="color:#20CFB4;">:3</h2>
</div>
<img src="Balloon-Border.png" width="100%" class="balloon-border">
<div class="container">
<div class="row">
<div class="col-md-2 col-xs-2 bulb-holder">
<div class="bulb" id="bulb_yellow"></div>
</div>
<div class="col-md-2 col-xs-2 bulb-holder">
<div class="bulb" id="bulb_red"></div>
</div>
<div class="col-md-2 col-xs-2 bulb-holder">
<div class="bulb" id="bulb_blue"></div>
</div>
<div class="col-md-2 col-xs-2 bulb-holder">
<div class="bulb" id="bulb_green"></div>
</div>
<div class="col-md-2 col-xs-2 bulb-holder">
<div class="bulb" id="bulb_pink"></div>
</div>
<div class="col-md-2 col-xs-2 bulb-holder">
<div class="bulb" id="bulb_orange"></div>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<img src="banner.png" class="bannar">
</div>
</div>
<div class="row cake-cover">
<div class="col-md-12 texr-center">
<div class="cake">
<div class="velas">
<div class="fuego"></div>
<div class="fuego"></div>
<div class="fuego"></div>
<div class="fuego"></div>
<div class="fuego"></div>
</div>
<div class="cobertura"></div>
<div class="bizcocho"></div>
</div>
</div>
</div>
<div class="row message">
<div class="col-md-12">
<p>Today is...</p>
<p>as beautiful as any other day,</p>
<p>but this one is special—</p>
<p>It's your birthday!</p>
<p><strong>Do you know...?</strong></p>
<p>Another year has gone by in a blink,</p>
<p>and now a new chapter begins.</p>
<p>Let's make this day</p>
<p>a celebration to remember.</p>
<p>I wish you joy,</p>
<p>a life full of ease,</p>
<p>and for all your dreams to come true.</p>
<p><strong>Remember this:</strong></p>
<p>You are like a free bird,</p>
<p>flying high in the blue sky.</p>
<p>Challenges may come,</p>
<p>but don’t worry—</p>
<p>God has your back.</p>
<p>This year will be brighter,</p>
<p>full of happiness along the way.</p>
<p>So keep your spirit high,</p>
<p>cherish every moment,</p>
<p>and wear your most beautiful smile.</p>
<p><strong>Lastly...</strong></p>
<p>From the bottom of my heart,</p>
<p>I wish you</p>
<p>a very happy birthday. 🎉</p>
</div>
</div>
<div class="navbar navbar-fixed-bottom">
<div class="row">
<div class="col-md-6 text-center col-md-offset-3">
<button class="btn btn-primary" id="turn_on">Turn On Lights</button>
<button class="btn btn-primary" id="play">Play Music</button>
<button class="btn btn-primary" id="bannar_coming">Let's Decorate</button>
<button class="btn btn-primary" id="balloons_flying">Fly With Balloons</button>
<button class="btn btn-primary" id="cake_fadein">Most Delicious Cake Ever</button>
<button class="btn btn-primary" id="light_candle"> Light Candle</button>
<button class="btn btn-primary" id="wish_message">Happy Birthday</button>
<button class="btn btn-primary" id="story">A message for you</button>
<!-- <button class="btn btn-primary" id="cake_cut">Lrt's Cut the Cake</button> -->
</div>
</div>
<!-- <div class="col-md-2">
</div>
<div class="col-md-2">
</div>
<div class="col-md-2">
</div>
<div class="col-md-2">
</div>
<div class="col-md-2">
</div> -->
</div>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script src="effect.js"></script>
<!-- <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-58229732-1', 'auto');
ga('send', 'pageview');
</script> -->
<script>
let step = 0;
const actions = [
'turn_on',
'play',
'bannar_coming',
'balloons_flying',
'cake_fadein',
'light_candle',
'wish_message',
'story'
];
document.addEventListener('keydown', function(event) {
if (event.code === 'Space') {
if (step < actions.length) {
document.getElementById(actions[step]).click();
step++;
}
}
});
</script>
</html>