-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ed5a48
commit 8d6c0bf
Showing
17 changed files
with
154 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,5 @@ | |
// | ||
//= require jquery | ||
//= require jquery_ujs | ||
//= require bootstrap | ||
//= require_tree . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Place all the behaviors and hooks related to the matching controller here. | ||
# All this logic will automatically be available in application.js. | ||
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Place all the styles related to the Pages controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: http://sass-lang.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
$navbarBackgroundHighlight: #29264d; | ||
$navbarBackground: #29264d; | ||
|
||
@import 'bootstrap'; | ||
@import 'bootstrap-responsive'; | ||
|
||
body{ | ||
font-family: arial,helvetica,sans-serif; | ||
} | ||
|
||
a{ | ||
color: $grayLight; | ||
} | ||
|
||
.hero-unit{ | ||
background-color: $purple; | ||
} | ||
|
||
.footer{ | ||
margin-top:100px; | ||
margin-left:45%; | ||
color: $grayLight; | ||
a{ | ||
color: $gray; | ||
} | ||
} | ||
|
||
.container{ | ||
color:black; | ||
} | ||
|
||
.navbar-inner{ | ||
@include box-shadow(none !important); | ||
border:0; | ||
} | ||
|
||
.color-override1{ | ||
color: #8a8a8a !important; | ||
} | ||
|
||
.color-override2{ | ||
color: #bfbfbf !important; | ||
} | ||
|
||
.hero-text{ | ||
text-align: center; | ||
} | ||
|
||
.btn-primary{ | ||
background-color: $purple; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class PagesController < ApplicationController | ||
def home | ||
end | ||
def about | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module PagesHelper | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="footer"> | ||
<small> | ||
©2013 A <%= link_to "Ryan Koven", "http://ryankoven.com" | ||
%> Production | ||
</small> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<div class="navbar" "navbar-fixed-top"> | ||
<div class="navbar-inner"> | ||
<div class="container"> | ||
|
||
<!-- .btn-navbar is used as the toggle for collapsed navbar content --> | ||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</a> | ||
|
||
<!-- Be sure to leave the brand out there if you want it shown --> | ||
<a class="brand color-override2" href="http://haikuremixproject.com">Haiku Remix</a> | ||
|
||
<!-- Everything you want hidden at 940px or less, place within here --> | ||
<div class="nav-collapse collapse"> | ||
<ul class="nav"> | ||
<li><%= link_to "Home", root_path, class: "color-override1" %></li> | ||
<li><%= link_to "Why", about_path, class: "color-override1" %></li> | ||
</ul> | ||
<ul class="nav pull-right"> | ||
<li><%= link_to "Login", "#", class: "color-override1" %></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>FirstProject</title> | ||
<%= stylesheet_link_tag "application", :media => "all" %> | ||
<%= javascript_include_tag "application" %> | ||
<%= csrf_meta_tags %> | ||
</head> | ||
<body> | ||
<head> | ||
<title>Haikus</title> | ||
<%= stylesheet_link_tag "application", :media => "all" %> | ||
<%= javascript_include_tag "application" %> | ||
<%= csrf_meta_tags %> | ||
</head> | ||
<body> | ||
|
||
<%= yield %> | ||
<%= render "layouts/header" %> | ||
<div class="container"> | ||
<%= yield %> | ||
</div> | ||
<%= render "layouts/footer" %> | ||
|
||
</body> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
|
||
<h1>About</h1> | ||
|
||
<p>Haikus are <%= link_to "fun", "http://haikuremixproject.com"%> | ||
|
||
</p> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
<div class="center hero-unit"> | ||
<h1>Time for <%= link_to "Haikus", "http://haikuremixproject.com" %> </h1> | ||
<p class="hero-text">The Cold of Winter | ||
<br /> | ||
So Overwhelming in Might | ||
<br /> | ||
Still Recedes with Time. | ||
</p> | ||
|
||
<p> | ||
<%= link_to "Remix", "#", class: "btn btn-large btn-primary remix" %> | ||
</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.