Skip to content

Commit

Permalink
Added everything page
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris committed Jan 20, 2011
1 parent c302aeb commit ef0490d
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 12 deletions.
6 changes: 6 additions & 0 deletions app/controllers/geronimo_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
class GeronimoController < ApplicationController

def everything
@page_name = "Everything"
render :layout => 'g_application'
end


def index
blog = Blog.latest_for_frontpage
@latest_front_page_blogpost = blog ? blog.blogtext : "Nothing to say"
Expand Down
22 changes: 12 additions & 10 deletions app/views/geronimo/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,18 @@
<div>o</div>
<div>!</div>
</div>
<div id="AcrossAgain">
<span id="G-AA">G</span>
<span id="E-AA">e</span>
<span id="R-AA">r</span>
<span id="O-AA">o</span>
<span id="N-AA">n</span>
<span id="I-AA">i</span>
<span id="M-AA">m</span>
<span id="O2-AA">o</span>
<span id="BANG-AA">!</span>
<div id="AcrossAgain" >
<a href="/everything" class="BioLink">
<span id="G-AA">G</span>
<span id="E-AA">e</span>
<span id="R-AA">r</span>
<span id="O-AA">o</span>
<span id="N-AA">n</span>
<span id="I-AA">i</span>
<span id="M-AA">m</span>
<span id="O2-AA">o</span>
<span id="BANG-AA">!</span>
</a>
</div>
</span>
</div>
Expand Down
8 changes: 6 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@

root :to => "geronimo#index"

match '/blogs', :to => 'geronimo#blogs'
match '/all_shows', :to => 'geronimo#shows'
match "/myspace" => redirect("http://www.myspace.com/thegeronimoband")
match "/facebook" => redirect("http://www.facebook.com/thegeronimoband")

match '/everything', :to => 'geronimo#everything'
match '/blogs', :to => 'geronimo#blogs'
match '/all_shows', :to => 'geronimo#shows'
match '/contact', :to => 'pages#contact'
match '/about', :to => 'pages#about'
match '/help', :to => 'pages#help'
Expand Down
37 changes: 37 additions & 0 deletions public/stylesheets/geronimo.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,22 @@ a:hover {
color: orange;
}


a.BioLink{
color: #CD0000;
text-decoration: none;
}

a.BioLink:visited {
color: #CD0000;
text-decoration: none;
}

a.BioLink:hover {
color: lightblue;
text-decoration: none;
}

.BandName{
font-size: 40px;
color: white
Expand All @@ -170,6 +186,27 @@ a:hover {
margin: 40px;
}

.everythingHeader{
margin: 20px;
}

.everythingContainer{
padding: 10px;
background-color: #FF9966;
}

.everythingContainerAlt{
padding: 10px;
background-color: #99FF66;
}

#EverythingContainer
{
margin: 40px;
font-size: 14px;
width: 740px;
}

#ShowsContainer
{
margin: 40px;
Expand Down

0 comments on commit ef0490d

Please sign in to comment.