-
Notifications
You must be signed in to change notification settings - Fork 3
/
entry.html
57 lines (48 loc) · 2.07 KB
/
entry.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="shortcut icon" href="https://avatars.githubusercontent.com/u/97837242?s=200&v=4" type="image/x-icon">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Trispace:wght@200&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/css/style.css">
<title>copydog</title>
</head>
<body id="body">
<div style="padding: 10% 0;">
<h1 class="heading">copydog.</h1>
<div id="jRoom" class="container">
<!-- <a id="jback" class="d-none back"><h2 ><-</h2></a> -->
<h1 align="center">
Join Room
</h1>
<!-- <div id="codeI" align="center" class="d-none"><input style="font-family: Trispace;"type="text" placeholder="Enter the code"></div> -->
</div>
<div id="cRoom" class="container">
<!-- <a id="cback" class="d-none back"><h2 ><-</h2></a> -->
<h1 align="center">
Create Room
</h1>
<!-- <div id="ccodeI" align="center" class="d-none"><input type="text" style="font-family: Trispace;"type="text" placeholder="Enter a code"></div> -->
</div>
<div align="center"> <a id="back" class="d-none"><h2><-</h2></a></div>
<div class="footer">Made with 🤍 by cipherguys</div>
</div>
</body>
<script src="/socket.io/socket.io.js"></script>
<script>
var socket = io();
function createroom(){
socket.emit('create-room',10);
location.href='/room/10';
}
function joinroom(){
socket.emit('join-room',11);
location.href='/joinroom/11';
}
</script>
<script src="/js/main.js"></script>
</html>