-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
108 lines (108 loc) · 5.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>SPACESECTOR.io</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="author" content="Michał Redmer <[email protected]>" />
<link rel="icon" href="/static/img/png/icon.png" />
<link rel="stylesheet" href="/static/css/main.css" />
<script>var isAdBlockActive = true;</script>
<!--<script src="https://kit.fontawesome.com/ed6c3f397f.js" crossorigin="anonymous"></script>-->
<script src="/static/js/fontawesome.js"></script>
<script src="/static/js/ads.js"></script>
<script src="/static/js/simplebar.min.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="/static/js/pixi.min.js"></script>
<script src="/static/js/game.js" type="module" async></script>
</head>
<body>
<div id="spawnscreen">
<div id="spawnscreenCenter">
<svg id="gameLogo" width="256" height="256">
<defs>
<filter id="f2" x="0" y="0" width="200%" height="200%">
<feOffset result="offOut" in="SourceGraphic" dx="0" dy="0" />
<feGaussianBlur result="blurOut" in="offOut" stdDeviation="4" />
<feBlend in="SourceGraphic" in2="blurOut" mode="normal" />
</filter>
</defs>
<g filter="url(#f2)">
<polygon points="146,96 109.5,96 93,67 163,67" />
<polygon points="146,96 109.5,96 93,67 163,67" transform="rotate(120, 128, 128)"/>
<polygon points="146,96 109.5,96 93,67 163,67" transform="rotate(240, 128, 128)" />
<polygon points="128,0 93,61 163,61" />
<polygon points="128,0 93,61 163,61" transform="rotate(120, 128, 128)"/>
<polygon points="128,0 93,61 163,61" transform="rotate(240, 128, 128)" />
<circle id="logoRing" cx="128" cy="128" r="32" stroke-width="12" />
<circle id="logoCenter" cx="128" cy="128" r="16" />
</g>
</svg>
<header id="header">
SpaceSector.io
</header>
<input type="text" id="nameInput" class="box" placeholder="Name" spellcheck="false" maxlength="15" />
<button id="spawn" class="boxFill">Play</button>
</div>
<div id="changelog" class="box">
<header id="changelogHeader"></header>
<div id="changelogContent"></div>
</div>
<div id="social" class="box">
<a id="discordButton" href="#" target="_blank">
<div class="socialHoverBg"></div>
<i class="fab fa-discord"></i>
<span>Discord</span>
</a>
<a id="redditButton" href="#" target="_blank">
<div class="socialHoverBg"></div>
<i class="fab fa-reddit"></i>
<span>Reddit</span>
</a>
<a id="youtubeButton" href="#" target="_blank">
<div class="socialHoverBg"></div>
<i class="fab fa-youtube"></i>
<span>YouTube</span>
</a>
</div>
</div>
<div id="chat">
<header id="chatHeader">
<div id="chatClose"></div>
</header>
<div id="chatSimplebarContainer" data-simplebar>
<div id="chatMessages">
<p>Loading chat...</p>
</div>
</div>
<textarea id="chatInput" maxlength="200"></textarea>
</div>
<div id="modalContainer">
<div id="modalOverlay"></div>
<div id="modal" class="box">
<div id="modalRelative">
<div id="modalClose">×</div>
<header id="modalHeader"></header>
<div id="modalSimplebarContainer" data-simplebar>
<div id="modalContent"></div>
</div>
</div>
</div>
</div>
<div id="console" class="box">
<header id="consoleHeader"></header>
<div id="consoleContent" data-simplebar>
<textarea id="consoleInput" spellcheck="false"></textarea>
</div>
</div>
<noscript>
<div id="noscript">
<div>
<h1>JavaScript disabled</h1>
<p>This game cannot function properly without JavaScript support in your browser. Please enable it to play this game. <a href="https://www.enablejavascript.io" target="_blank" style="color: black">Learn how</a></p>
</div>
</div>
</noscript>
</body>
</html>