Skip to content

Commit

Permalink
adding games page
Browse files Browse the repository at this point in the history
  • Loading branch information
RichMcL committed Jan 31, 2015
1 parent 9d7fd0c commit b58795c
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 10 deletions.
Binary file added breakout/cartridge.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions controllers/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ var af = af || angular.module("af", ["ngRoute"]);
af.config(function($routeProvider){
$routeProvider.
when('/', {templateUrl:'views/home.html'}).
when('/code', {templateUrl:'views/code.html'}).
when('/fun', {templateUrl:'views/fun.html'}).
when('/games', {templateUrl:'views/games.html'}).
when('/about', {templateUrl:'views/about.html'}).
otherwise({redirectTo:'/'});
});
Expand Down
19 changes: 19 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,23 @@ header a {
}
#about .aboutText {
text-align: justify;
}

#games {
text-align: center;
margin: 0 auto;
max-width: 400px;
}
#games img {
border-radius: 70px;
box-shadow: 2px 2px 2px;
}

#breakout img {
height: 100px;
width: 100px;
}
#zelda img {
height: 100px;
width: 100px;
}
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
<nav>
<ul>
<li><a href="#/home">HOME</a></li>
<li><a href="#/code">CODE</a></li>
<li><a href="#/fun">FUN</a></li>
<li><a href="#/games">GAMES</a></li>
<li><a href="#/about">ABOUT</a></li>
</ul>
</nav>
Expand Down
5 changes: 0 additions & 5 deletions views/code.html

This file was deleted.

1 change: 0 additions & 1 deletion views/fun.html

This file was deleted.

15 changes: 15 additions & 0 deletions views/games.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<div id="games">
<div id="breakout">
<a href="/breakout">
<img src="/breakout/cartridge.jpg"><br/>
Breakout
</a>
</div>
<br/>
<div id="zelda">
<a href="/zelda">
<img src="/zelda/images/cartridge.png"><br/>
Zelda
</a>
</div>
</div>
Binary file added zelda/images/cartridge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b58795c

Please sign in to comment.