-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
147 lines (130 loc) · 4 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui" />
<link rel="icon" type="image/png" href="https://kosmi.io/assets/favicon.png" />
<link href="https://fonts.googleapis.com/css?family=Lato&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Pacifico" />
<meta name="description" content="Online Multiplayer NES Emulator using WebRTC!" />
<title>NES Party</title>
<style type="text/css">
html,
body {
display: flex;
height: 100%;
width: 100%;
background-color: #080717;
font-family: Lato, Helvetica Neue, Arial, Helvetica, sans-serif;
margin: 0;
line-height: 24px;
}
a,
a:active,
a:visited,
a:hover {
color: #fff;
text-decoration: none;
}
#container {
margin: auto;
display: flex;
flex-direction: column;
background-color: rgba(0, 0, 0, .8);
color: #fff;
padding: 30px;
max-width: 600px;
}
#nesPartyLogo {
color: #ab2828;
font-size: 32px;
font-family: Pacifico, cursive;
text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
margin-bottom: 25px;
text-align: center;
}
#discordLink {
background-color: #7289da;
text-align: center;
margin: 20px;
padding: 5px;
border-radius: 5px;
}
#discordLink a {
margin-top: 10px;
display: block;
}
#createRoomButton {
background: #e0e1e2 none;
padding: 15px;
font-weight: bold;
text-decoration: none;
border-radius: 3px;
background-color: #23195c;
color: #fff;
font-size: 18px;
margin: 0 auto;
max-width: 400px;
display: flex;
text-align: center;
flex-direction: column;
}
#kosmiLogo {
margin: 0 auto;
width: 116px;
height: 37px;
background-image: url('https://kosmi.io/assets/banner.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
margin: 15px auto;
flex-direction: column;
display: flex;
}
#poweredBy {
display: flex;
flex-direction: column;
text-align: center;
margin-top: 20px;
font-size: 12px;
}
video {
max-width: 100%;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div id="container">
<div id="nesPartyLogo">NES Party</div>
<p>
NES Party is a way to play NES games with your friends online all from within your browser.
</p>
<video
loop="true"
autoplay
playsinline
muted
src="/snesparty.mp4"
></video>
This is how it works:
<ol>
<li>You create a room with a shareable link.</li>
<li>
You or a member of the room starts a ROM and becoming a host.
</li>
<li>
Play NES in online multiplayer!
</li>
</ol>
<a target="_blank" id="createRoomButton" rel="nofollow" href="https://app.kosmi.io/createRoom?app=NES_PARTY">
Click here to create a room and start playing!
</a>
<span id="poweredBy">Powered by
<a
id="kosmiLogo"
href="https://kosmi.io"
></a></span>
</div>
</body>
</html>