Permalink
Browse files

initial commit, please help get this sucker working

  • Loading branch information...
0 parents commit 94937c65de6fdc58d0adbecb8034b86820b05341 @seaofclouds committed Mar 15, 2009
Showing with 51 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +19 −0 app.rb
  3. +9 −0 sass/_base.sass
  4. +1 −0 sass/screen.sass
  5. +1 −0 views/_footer.haml
  6. +1 −0 views/_header.haml
  7. +1 −0 views/index.haml
  8. +17 −0 views/layout.haml
@@ -0,0 +1,2 @@
+.DS_Store
+*/.DS_Store
@@ -0,0 +1,19 @@
+require 'rubygems'
+require 'compass'
+require 'sinatra'
+
+configure do
+ Compass.configuration do |config|
+ config.project_path = File.dirname(__FILE__)
+ config.sass_dir = "sass"
+ end
+end
+
+get '/stylesheets/screen.css' do
+ content_type 'text/css', :charset => 'utf-8'
+ sass :screen, :sass => Compass.sass_engine_options
+end
+
+get '/' do
+ haml :index
+end
@@ -0,0 +1,9 @@
+!blueprint_grid_columns = 24
+!blueprint_grid_width = 30px
+!blueprint_grid_margin = 10px
+
+!font_color = #333
+
+@import compass/reset.sass
+@import compass/utilities.sass
+@import blueprint/screen.sass
@@ -0,0 +1 @@
+@import base.sass
@@ -0,0 +1 @@
+%p footer
@@ -0,0 +1 @@
+%h1 header
@@ -0,0 +1 @@
+index content
@@ -0,0 +1,17 @@
+!!!
+!!! XML
+!!! Strict
+%html{ :xmlns => "http://www.w3.org/1999/xhtml", :lang => "en", 'xml:lang' => "en" }
+ %head
+ %title compass sinatra
+ %meta{'http-equiv'=>"Content-Type", :content=>"text/html; charset=iso-8859-1"}/
+ %meta{'http-equiv'=>"Content-Language", :content=>"en-us"}/
+ %link{:href=>"/stylesheets/screen.css", :media=>"screen", :rel=>"stylesheet", :type=>"text/css"}/
+ %body
+ .container
+ .header
+ = partial :header
+ .body
+ = yield
+ .footer
+ = partial :footer

0 comments on commit 94937c6

Please sign in to comment.