-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
238 lines (219 loc) · 10.3 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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<!DOCTYPE html>
<html>
<head>
<title>Pythone.github.io</title>
<meta charset="UTF-8">
<meta http-quiv="X-UA-Compatible" content="IE=9" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Polyrise Website Builder">
<link rel="stylesheet" href="libraries/polyui/polyui.css">
<link rel="stylesheet" href="libraries/font-awesome/font-awesome.css">
<link rel="stylesheet" href="libraries/lity/lity.css">
<link rel="stylesheet" href="css/polyrise.css">
</head>
<body>
<div class="header polyriseblock notgrid bg-image bg-overlay3 minh100p" style="">
<div class="grid h100p">
<div class="grid__col--12 nomar h100p">
<div class="table">
<div class="cell tc">
<div class="panel--centered centered grid__col--12">
<h1>PYTHONE.GITHUB.IO<br></h1>
<h2>This is a reworked website of a Github forker and contributor, Pythone.<br></h2>
<div style="margin-bottom: 4em;">
<a href="https://github.com/Pythone">my profile</a>
<p>/</p>
<a href="https://github.com/Pythone/pythone.github.io">source code</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="mouse">
<div class="scroll"></div>
</div>
</div>
<div class="header polyriseblock notgrid bg-image minh100p bg-overlay3" style="box-shadow: rgba(99, 121, 207, 0) 0px 0px 0px 1600px inset; background-color: rgba(0, 0, 0, 0); background-position: 0% 0%; background-repeat: repeat; background-image: linear-gradient(45deg, rgb(251, 172, 127), rgb(229, 101, 138)); background-size: auto; background-origin: padding-box; background-clip: border-box; display: inline-table; padding: 1em;">
<div class="grid h100p">
<div class="grid__col--12 nomar h100p">
<div class="table">
<div class="cell">
<div class="panel--centered centered grid__col--12 tl">
<p class="bounceInUp bounceInUp1s whitetxt x-large editable">Polyrise-fork<br>
</p>
<h1 class="bounceInUp bounceInUp2s whitetxt editable">A fork of an open source drag and drop website builder called Polyrise.<br></h1>
<h2 class="bounceInUp bounceInUp3s whitetxt editable" style="font-size: 32px;">Bigger. Better. Stronger. That is the goal of this website builder fork. Used to create this site<br></h2>
<p style="margin-bottom: 4em;">
<a class="btn--blue bounceInUp bounceInUp3s editable" href="https://github.com/Pythone/Polyrise-fork">fork code</a>
<a class="btn--borderwhite bounceInUp bounceInUp3s editable" href="http://pythone.github.io/Polyrise-fork/" target="_blank">live Builder</a>
</p>
</div>
</div>
</div>
</div>
</div>
<div class="mouse blackMouse">
<div class="scroll"></div>
</div>
</div>
<div class="polyriseblock notgrid bg-image bg-overlay3" style="box-shadow: rgba(99, 121, 207, 0) 0px 0px 0px 1600px inset; padding: 3em 0px 0px;">
<div class="grid">
<div class="panel--centered centered grid__col--12">
<h1 class="headline-primary--grouped whitetxt editable">I fork, I contribute, therefore, I am part of the community!<br></h1>
<h2 class="headline-secondary--grouped whitetxt editable">An inspirational quote- from me<br></h2>
</div>
</div>
</div>
<script src="libraries/jquery/jquery.js"></script>
<script src="libraries/lity/lity.js"></script>
<script src="js/polyrise.js"></script>
<script>
/*
* Konami-JS ~
* :: Now with support for touch events and multiple instances for
* :: those situations that call for multiple easter eggs!
* Code: https://github.com/snaptortoise/konami-js
* Copyright (c) 2009 George Mandis (georgemandis.com, snaptortoise.com)
* Version: 1.6.2 (7/17/2018)
* Licensed under the MIT License (http://opensource.org/licenses/MIT)
* Tested in: Safari 4+, Google Chrome 4+, Firefox 3+, IE7+, Mobile Safari 2.2.1+ and Android
*/
var Konami = function (callback) {
var konami = {
addEvent: function (obj, type, fn, ref_obj) {
if (obj.addEventListener)
obj.addEventListener(type, fn, false);
else if (obj.attachEvent) {
// IE
obj["e" + type + fn] = fn;
obj[type + fn] = function () {
obj["e" + type + fn](window.event, ref_obj);
}
obj.attachEvent("on" + type, obj[type + fn]);
}
},
removeEvent: function (obj, eventName, eventCallback) {
if (obj.removeEventListener) {
obj.removeEventListener(eventName, eventCallback);
} else if (obj.attachEvent) {
obj.detachEvent(eventName);
}
},
input: "",
pattern: "38384040373937396665",
keydownHandler: function (e, ref_obj) {
if (ref_obj) {
konami = ref_obj;
} // IE
konami.input += e ? e.keyCode : event.keyCode;
if (konami.input.length > konami.pattern.length) {
konami.input = konami.input.substr((konami.input.length - konami.pattern.length));
}
if (konami.input === konami.pattern) {
konami.code(konami._currentLink);
konami.input = '';
e.preventDefault();
return false;
}
},
load: function (link) {
this._currentLink = link;
this.addEvent(document, "keydown", this.keydownHandler, this);
this.iphone.load(link);
},
unload: function () {
this.removeEvent(document, 'keydown', this.keydownHandler);
this.iphone.unload();
},
code: function (link) {
window.location = link
},
iphone: {
start_x: 0,
start_y: 0,
stop_x: 0,
stop_y: 0,
tap: false,
capture: false,
orig_keys: "",
keys: ["UP", "UP", "DOWN", "DOWN", "LEFT", "RIGHT", "LEFT", "RIGHT", "TAP", "TAP"],
input: [],
code: function (link) {
konami.code(link);
},
touchmoveHandler: function (e) {
if (e.touches.length === 1 && konami.iphone.capture === true) {
var touch = e.touches[0];
konami.iphone.stop_x = touch.pageX;
konami.iphone.stop_y = touch.pageY;
konami.iphone.tap = false;
konami.iphone.capture = false;
konami.iphone.check_direction();
}
},
touchendHandler: function () {
konami.iphone.input.push(konami.iphone.check_direction());
if (konami.iphone.input.length > konami.iphone.keys.length) konami.iphone.input.shift();
if (konami.iphone.input.length === konami.iphone.keys.length) {
var match = true;
for (var i = 0; i < konami.iphone.keys.length; i++) {
if (konami.iphone.input[i] !== konami.iphone.keys[i]) {
match = false;
}
}
if (match) {
konami.iphone.code(konami._currentLink);
}
}
},
touchstartHandler: function (e) {
konami.iphone.start_x = e.changedTouches[0].pageX;
konami.iphone.start_y = e.changedTouches[0].pageY;
konami.iphone.tap = true;
konami.iphone.capture = true;
},
load: function (link) {
this.orig_keys = this.keys;
konami.addEvent(document, "touchmove", this.touchmoveHandler);
konami.addEvent(document, "touchend", this.touchendHandler, false);
konami.addEvent(document, "touchstart", this.touchstartHandler);
},
unload: function () {
konami.removeEvent(document, 'touchmove', this.touchmoveHandler);
konami.removeEvent(document, 'touchend', this.touchendHandler);
konami.removeEvent(document, 'touchstart', this.touchstartHandler);
},
check_direction: function () {
x_magnitude = Math.abs(this.start_x - this.stop_x);
y_magnitude = Math.abs(this.start_y - this.stop_y);
x = ((this.start_x - this.stop_x) < 0) ? "RIGHT" : "LEFT";
y = ((this.start_y - this.stop_y) < 0) ? "DOWN" : "UP";
result = (x_magnitude > y_magnitude) ? x : y;
result = (this.tap === true) ? "TAP" : result;
return result;
}
}
}
typeof callback === "string" && konami.load(callback);
if (typeof callback === "function") {
konami.code = callback;
konami.load();
}
return konami;
};
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
module.exports = Konami;
} else {
if (typeof define === 'function' && define.amd) {
define([], function() {
return Konami;
});
} else {
window.Konami = Konami;
}
};
var easter_egg = new Konami('https://pythone.github.io/') </script>
</body>
</html>