Skip to content

Commit

Permalink
Added hbs views
Browse files Browse the repository at this point in the history
  • Loading branch information
azadorozhniy committed Apr 8, 2015
1 parent c81518c commit c12c604
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 0 deletions.
Empty file removed public/scss/app.scss
Empty file.
15 changes: 15 additions & 0 deletions src/server/views/default.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<html>
<head>
<title>Awesome Memory Game</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Better approach is to use stylus or sass but here is just prototype -->
<link type="text/css" rel="stylesheet" href="/assets/css/boostrap.css"/>
<link type="text/css" rel="stylesheet" href="/assets/css/styles.css"/>
</head>
<body>
{{{body}}}

{{> scripts}}
</body>
</html>
3 changes: 3 additions & 0 deletions src/server/views/index.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{!< default}}
<div class="mind-game"></div>
<script type="text/javascript" src="/dist/bundle.js"></script>
17 changes: 17 additions & 0 deletions src/server/views/login.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{{!< default}}
<div class="jumbotron vertical-center">
<div class="container ">
<div class="row">
<div class="col-lg-8 col-md-7 col-sm-6">
<h1>Ommomom - Awesome Memory Game</h1>

<p class="lead">Train your memory with your favorite photos!</p>
</div>
<div class="col-lg-4 col-md-5 col-sm-6">
<a href="/auth/eyeem" class="btn btn-default btn-lg ">
Login with EyeEm
</a>
</div>
</div>
</div>
</div>
2 changes: 2 additions & 0 deletions src/server/views/partials/scripts.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<script type="text/javascript">
</script>

0 comments on commit c12c604

Please sign in to comment.