-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsourcecode.html
219 lines (190 loc) · 7.86 KB
/
sourcecode.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
214
215
216
217
218
219
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tamako Bot</title>
<meta name="description" content="Tamako Bot is a multipurpose bot - Tamako-Tech/Tamako-bot">
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
<meta name="twitter:image:src" content="https://avatars.githubusercontent.com/u/78588837?s=400&v=4" />
<meta name="twitter:site" content="@github" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Tamako-Tech/Tamako-bot" />
<meta name="twitter:description" content="Tamako Bot is a multipurpose bot - Tamako-Tech/Tamako-bot" />
<meta property="og:image" content="https://avatars.githubusercontent.com/u/78588837?s=400&v=4" />
<meta property="og:site_name" content="GitHub" />
<meta property="og:type" content="object" />
<meta property="og:title" content="Tamako-Tech/Tamako-bot" />
<meta property="og:url" content="https://tamako.tech/sourcecode" />
<meta property="og:description" content="Tamako Bot is a multipurpose bot - Tamako-Tech/Tamako-bot" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/pure-min.css" integrity="sha384-" crossorigin="anonymous">
<!--[if lte IE 8]>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/grids-responsive-old-ie-min.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/grids-responsive-min.css">
<!--<![endif]-->
<!--[if lte IE 8]>
<link rel="stylesheet" href="css/layouts/blog-old-ie.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="css/layouts/blog.css">
<!--<![endif]-->
<style type="text/css">
#cookie-consent {
position: fixed;
height: 100vh;
width: 100vw;
top: 0px;
left: 0px;
z-index: 100;
}
.cookie-consent-background {
position: absolute;
height: 100vh;
width: 100vw;
top: 0px;
left: 0px;
z-index: 101;
background-image: url('./img/desktop.png');
background-size: cover;
}
@media only screen and (max-width: 1050px) {
.cookie-consent-background {
background-image: url('./img/tablet.png');
}
}
@media only screen and (max-width: 550px) {
.cookie-consent-background {
background-image: url('./img/mobile.png');
}
}
.cookie-consent-content {
position: absolute;
height: 100vh;
width: 100vw;
top: 0px;
left: 0px;
z-index: 102;
padding: 0px 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
backdrop-filter: blur(10px);
background-color: rgba(0, 0, 0, .4);
}
.text-white {
color: white;
}
.hidden {
display: none;
}
.vid-div {
margin:20px 0px;
position: relative;
}
#vid-blocker {
position:absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
z-index: 5;
}
#video-frame {
width:100%;
}
@media only screen and (min-width: 1400px) {
#video-frame {
width: 80%;
}
}
</style>
</head>
<body>
<div id="layout" class="pure-g">
<div id="cookie-consent" class="pure-u-1">
<div class="cookie-consent-background"></div>
<div class="cookie-consent-content">
<h3 class="text-white">
We use cookies. If you're ok with that please click accept.
</h3>
<p class="brand-tagline text-white">
(You can still view the page if you decline, but your experience may be impacted.)
</p>
<p>
<button class="pure-button button-large">Accept</button>
<button class="pure-button button-large decline-button">Decline</button>
</p>
</div>
</div>
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<h1 class="brand-title">NEVER GONNA</h1>
<h2 class="brand-tagline">Give you up.<br/>Let you down.<br/>Run around.</br>Desert you.<br/></h2>
<h3>You've been rolled.</h3>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item">
<a class="pure-button" href="https://tamako.tech">Home Page</a>
</li>
<li class="nav-item">
<a class="pure-button" href="https://tamako.tech/docs/welcome">Docs</a>
</li>
</ul>
</nav>
</div>
</div>
<div class="content pure-u-1 pure-u-md-3-4">
<div>
<!-- A wrapper for all the blog posts -->
<div class="posts">
<section class="post">
<header class="post-header">
<h2 class="post-title">Looking For Source Code of Tamako?</h2>
<p class="post-description">Learn Node JS and make your own discord bot using discord.js.<br>Tamako's source code is private</p>
</header>
<div class="post-description">
<div class="vid-div">
<div id="vid-blocker"></div>
<iframe id="video-frame" src="https://www.youtube-nocookie.com/embed/ZlpBabvsvYE?&enablejsapi=1&autoplay=1&mute=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<p class="post-description">No controls on this video. You have no control over this situation.<br/><br/><br/><br/>Heheheheheh</p>
</div>
</section>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var player;
var frame = document.querySelector('#video-frame');
var cookieConsent = document.querySelector('#cookie-consent');
var firstScriptTag = document.querySelector('script');
var tag = document.createElement('script');
tag.id = 'iframe-demo';
tag.src = 'https://www.youtube.com/iframe_api';
frame.setAttribute('height', Math.floor(frame.clientWidth * .6));
cookieConsent.addEventListener('click', () => {
player.seekTo(0);
player.unMute();
cookieConsent.classList.add('hidden');
});
function onYouTubeIframeAPIReady() {
player = new YT.Player('video-frame');
}
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-94067710-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-94067710-2', { 'anonymize_ip': true });
</script>
</body>
</html>