Skip to content

Commit

Permalink
Remove the layout file because we don't need it, and add some text ab…
Browse files Browse the repository at this point in the history
…out forking the project
  • Loading branch information
AndrewVos committed Feb 7, 2012
1 parent eefc249 commit 6d58cb8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 25 deletions.
4 changes: 4 additions & 0 deletions lib/public/css/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.container {
text-align: center;
}

h1 {
text-align: center;
margin-top: 20px;
Expand Down
42 changes: 28 additions & 14 deletions lib/views/index.haml
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
%div.container
- song = Songs.random_song
%div.song
%h2
%a.song-title{:href => song[:url]}= "#{song[:artist]} - #{song[:track]}"
%h3
%a{:href => "/"} Click here for another fucking awesome song
%iframe.player{:title => "#{song[:artist]} - #{song[:track]}",
:src => song[:url].gsub("watch?v=", "embed/"),
:type => "text/html",
:width => "640",
:height => "390",
:frameborder => "0",
:allowFullScreen => ""}
!!!

%html
%head
%link{:rel => "stylesheet", :href => "/css/bootstrap.min.css"}
%link{:rel => "stylesheet", :href => "/css/style.css"}
%title fuckingawesomesongs.com
%body
%div.container
%a{:href => "/"}
%h1 fuckingawesomesongs.com

- song = Songs.random_song
%div.song
%h2
%a.song-title{:href => song[:url]}= "#{song[:artist]} - #{song[:track]}"
%h3
%a{:href => "/"} Click here for another fucking awesome song
%iframe.player{:title => "#{song[:artist]} - #{song[:track]}",
:src => song[:url].gsub("watch?v=", "embed/"),
:type => "text/html",
:width => "640",
:height => "390",
:frameborder => "0",
:allowFullScreen => ""}

%p
Got a song that you think should be here?
%a{:href => "https://github.com/AndrewVos/fuckingawesomesongs.com"} Fork this project on github!
11 changes: 0 additions & 11 deletions lib/views/layout.haml

This file was deleted.

0 comments on commit 6d58cb8

Please sign in to comment.