Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Commit

Permalink
added some images
Browse files Browse the repository at this point in the history
  • Loading branch information
kbingman committed Aug 8, 2010
1 parent 62afb41 commit 681d545
Show file tree
Hide file tree
Showing 36 changed files with 7,719 additions and 11 deletions.
9 changes: 9 additions & 0 deletions Jimfile
@@ -0,0 +1,9 @@
// bundled_path: public/javascripts/bundled.js
// compressed_path: public/javascripts/compressed.js
// vendor_dir: public/javascripts/vendor

/ start adding your requirements below:

jquery
sammy

2 changes: 2 additions & 0 deletions app/routes/site.rb
Expand Up @@ -2,6 +2,8 @@ class Main

get '/' do
response['Cache-Control'] = 'max-age=600, public'
@assets = ['01_january', '02_february', '03_march', '04_april', '05_may', '06_june',
'07_july', '08_august', '09_september', '10_october', '11_november', '12_december']
haml :'pages/home'
end

Expand Down
2 changes: 1 addition & 1 deletion app/views/css/_base.sass
Expand Up @@ -11,7 +11,7 @@ h1
@include adjust-font-size($h1-scale, 0.6, 0.4)
font-weight: normal
h2
@include adjust-font-size($h2-scale, 1.5, 0.5)
@include adjust-font-size($h2-scale, 0, 0.5)
font-weight: normal
h3
@include adjust-font-size($h3-scale, 1.5, 0.5)
Expand Down
23 changes: 22 additions & 1 deletion app/views/css/_layout.sass
Expand Up @@ -16,6 +16,7 @@
:margin 0
:font-family "MuseoSans_500"
:color #777
:text-shadow 0 0 0 #777
h1#title
:position absolute
:top 24px
Expand All @@ -24,6 +25,7 @@
:font-size 4em
:font-family "MuseoSans_100"
:margin 0
:text-shadow 0 0 0 #ccc
h1#bkr
:position absolute
:text-indent -10000px
Expand All @@ -32,8 +34,27 @@
:right 0
:height 130px
:width 330px
:background url('/images/logo.png') no-repeat
a
:display block
:height 130px
:width 330px
:background url('/images/logo.png') no-repeat

#content
+clearfix
:padding 12px

#main
:width 504px
:float left

#sidebar
:width 408px
:float right

#footer
:clear both
:text-align right
:padding 12px 12px 0


10 changes: 10 additions & 0 deletions app/views/css/_thumbnails.sass
@@ -0,0 +1,10 @@
#thumbnails
ul
+clearfix
:margin 0
:padding 0
li
:float left
:margin 0 6px 6px 0
img
:float left
13 changes: 11 additions & 2 deletions app/views/css/_variables.sass
Expand Up @@ -18,9 +18,18 @@ $h4-scale: 1.18
margin: 0
padding: 0


= clearfix
:*display inline-block
&:after
:content " "
:display block
:height 0
:clear both
:visibility hidden

=border-radius($radius: 4px)
-webkit-border-radius: $radius
-moz-border-radius: $radius
border-radius: $radius
border-radius: $radius


3 changes: 2 additions & 1 deletion app/views/css/brewgirls.sass
Expand Up @@ -2,4 +2,5 @@
@import _variables.sass
@import _typography.sass
@import _base.sass
@import _layout.sass
@import _layout.sass
@import _thumbnails.sass
7 changes: 6 additions & 1 deletion app/views/layouts/application.haml
Expand Up @@ -10,6 +10,11 @@
#header
%h3 Bitch Kitty Racing Presents
%h1#title Brew Girls 2011
%h1#bkr BKR
%h1#bkr
%a{ :href => 'http://bitchkittyracing.com' } BKR
#content
!= yield
#footer
%p
© 2010
%a{ :href => 'http://bitchkittyracing.com' } Bitch Kitty Racing
3 changes: 3 additions & 0 deletions app/views/pages/_thumbnails.haml
@@ -0,0 +1,3 @@
%li.thumbnail
%a{ :href => "/display/#{asset}.jpg" }
%img{ :src => "/thumbnails/#{asset}.jpg" }
22 changes: 18 additions & 4 deletions app/views/pages/home.haml
@@ -1,6 +1,20 @@
#remove-me
#main
#thumbnails
%ul
- @assets.each do |asset|
!= partial :'pages/_thumbnails', :asset => asset


#sidebar
:markdown
## Pretty Big Headline




Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.
Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur
ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate
eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum
felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi.



Binary file added public/display/01_january.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/display/02_februar.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/display/03_marz.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/display/04_april.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/display/05_may.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/display/06_june.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/display/07_july.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/display/08_august.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/display/09_september.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/display/10_october.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/display/11_november.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/display/12_december.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 681d545

Please sign in to comment.