-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (89 loc) · 4.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Force latest available IE rendering engine and Chrome Frame (if installed) -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Socket Chess</title>
<meta name="description" content="">
<!-- Mobile Screen Resizing -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Icons: place in the root directory -->
<!-- https://github.com/audreyr/favicon-cheat-sheet -->
<!-- feature detection -->
<!-- <script src="dist/js/detects.js"></script> -->
<!-- favicon -->
<link rel="shortcut icon" type="image/png" href="/img/favicon.ico"/>
<!-- stylesheets -->
<link rel="stylesheet" href="sweet-alert.css">
<link rel="stylesheet" href="chessboard.css">
<link rel="stylesheet" href="kraken.min.css">
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0/pure-min.css">
<link rel="stylesheet" href="main.css">
</head>
<body>
<!-- Old Browser Warning -->
<!--[if lt IE 9]>
<section class="container">
Did you know that your web browser is a bit old? Some of the content on this site might not work right as a result. <a href="http://whatbrowser.org">Upgrade your browser</a> for a faster, better, and safer web experience.
</section>
<![endif]-->
<nav class="nav">
<ul>
<li><a href="">get started</a></li>
<li><a href="">learn</a></li>
<li><a href="">watch</a></li>
<li><a href="">play</a></li>
</ul>
</nav>
<img class="logo" src="img/logo.png" alt="chess logo">
<h1>Wanna play a game?</h1>
<div class="button-wrap">
<a href="#" id="createButton" class="button-primary pure-button">Create a game</a>
<a href="#" id="joinButton" class="button-primary pure-button"> Join a game</a>
</div>
<div class="modal username-modal">
<h1>Enter a username:</h1>
<form id="userForm" action="">
<input id="userName" type="text"><button>Submit</button>
</form>
</div>
<div class="modal game-modal">
<h1>Enter a username:</h1>
<input id="joinUserName" type="text">
<h1>Enter a game code:</h1>
<form id="gameForm" action="">
<input id="gameCode" type="text"><button>Submit</button>
</form>
</div>
<!-- <main id="main">
<div id="board"></div>
<div class="userList"></div>
<div class="chat">
<ul id="messages"></ul>
<form id="chatForm" action="">
<input id="m" autocomplete="off" /><button>Send</button>
</form>
</div>
</main> -->
<!-- Javascript -->
<!-- In the footer for better performance -->
<script src="/socket.io/socket.io.js"></script>
<script src="http://code.jquery.com/jquery-1.11.1.js"></script>
<script src='jquery.throttleDebounce.js'></script>
<script src='sweet-alert.min.js'></script>
<!-- <script src='chess.js'></script>
<script src='chessboard.min.js'></script> -->
<script src='main.js'></script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<!-- (Via HTML5 Boilerplate: http://html5boilerplate.com/) -->
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X');ga('send','pageview');
</script>
</body>
</html>