windhamdavid 2 years ago
parent
commit
530c5d1dd2
4 changed files with 8 additions and 20 deletions
  1. 1 1
      README.md
  2. 4 13
      src/js/components/Index.js
  3. 1 1
      src/js/io.js
  4. 2 5
      views/layout.jade

+ 1 - 1
README.md

@@ -45,7 +45,7 @@ npm run build
 npm test
 ```
 
-* App will run on **localhost:3000**
+* App will run on **localhost:8888**
 
 License
 -------

+ 4 - 13
src/js/components/Index.js

@@ -41,11 +41,11 @@ const Index = React.createClass({
   render() {
     return (
       <div>
-        <img src="/img/knight.png"
-             width="122"
-             height="122"
+        <img src="/img/king.svg"
+             width="50"
+             height="50"
              className="knight" />
-        <h1>Reti Chess</h1>
+        <h1>How about a nice game of chess?</h1>
 
         <div id="create-game">
           <CreateGameForm
@@ -63,15 +63,6 @@ const Index = React.createClass({
             :null}
           </p>
         </div>
-
-        <p>
-          Click the button to create a game. Send the link to your friend.
-          Once the link is opened your friend‘s browser, game should begin 
-          shortly. Colors are picked randomly by computer.
-        </p>
-        <p>
-          <a href="/about" className="alpha">Read more about Reti Chess</a>
-        </p>
       </div>
     );
   },

+ 1 - 1
src/js/io.js

@@ -1,6 +1,6 @@
 import io from 'socket.io-client';
 
 
-const HOST = 'http://localhost:3000';
+const HOST = 'http://localhost:8888';
 
 export default io.connect(HOST);

+ 2 - 5
views/layout.jade

@@ -4,7 +4,7 @@ html(lang='en')
     - if (typeof(title) !== 'undefined')
       title #{title} | Chess | David A. Windham
     - else
-      title Reti Chess
+      title Chess vs. David
     meta(charset='utf-8')
     meta(name='robots', content='index, follow')
     meta(name='viewport', content='width=device-width, initial-scale=1')
@@ -18,10 +18,7 @@ html(lang='en')
         
     footer
       #footer.clearfix
-        p.center 2015&nbsp;&nbsp;&ndash;&nbsp;&nbsp;Reti Chess is distributed under 
-          a(href='http://github.com/romanmatiasko/reti-chess/blob/master/LICENSE.md') the MIT License
-          | &nbsp;&nbsp;&ndash;&nbsp;&nbsp;
-          a(href='http://github.com/romanmatiasko/reti-chess') Github
+        p.center 
 
     - if (process.env.NODE_ENV === 'development')
       script(src='/js/vendor.js')