Skip to content

Commit

Permalink
links page
Browse files Browse the repository at this point in the history
  • Loading branch information
mattvanhorn committed Jul 6, 2012
1 parent fd91c4c commit 07ebe83
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
Binary file added app/assets/images/coeymans_landing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions app/assets/stylesheets/links.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#links {
width: 630px;
margin: 0 auto;

h1 {
text-align: center;
font-size: 36px;
}

p {
width: 240px;
float: left;
}

dl {
width: 340px;
margin-left: 20px;
float: right;
font-size: 16px;
}
dt {
margin-left: 0;
margin-bottom: 3px;
}
dd {
margin-left: 0;
margin-bottom: 12px;
}
a:link, a:visited {
color: #FFF;
}
}
22 changes: 22 additions & 0 deletions app/views/pages/links.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#links
%h1 Artists I Have Learned From...

= image_tag 'coeymans_landing.png', :size => '630x412'

%p
Over the years, I have had the privilege of meeting many artists that share my
passion for watercolor. Of those artists that I have met, these are the ones
that have had the most influence on my work.

%dl
%dt Alvaro Castagnet:
%dd= link_to 'www.alvarocastagnet.net', 'www.alvarocastagnet.net'

%dt Sandro La Ferla:
%dd= link_to 'sandrolaferla.com', 'http://sandrolaferla.com'

%dt Joe Garcia:
%dd= link_to 'www.joegarcia.com', 'http://www.joegarcia.com'

%dt Carol Carter:
%dd= link_to 'www.carol-carter.com', 'http://www.carol-carter.com'
2 changes: 2 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
# Sample of named route:
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
match 'biography' => 'pages#biography', :as => :biography
match 'links' => 'pages#links', :as => :links

# This route can be invoked with purchase_url(:id => product.id)

# Sample resource route (maps HTTP verbs to controller actions automatically):
Expand Down

0 comments on commit 07ebe83

Please sign in to comment.