Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 54ed275a3b456eb0fddf079468393a41a32224eb @env committed Jan 30, 2011
BIN .DS_Store
Binary file not shown.
@@ -0,0 +1,4 @@
+gem 'sinatra'
+gem 'compass'
+gem 'haml'
+gem 'sass'
0 README
No changes.
@@ -0,0 +1,21 @@
+require 'sinatra'
+#require 'sinatra/compass'
+require 'haml'
+require 'sass'
+
+
+set :haml, :format => :html5
+
+
+get '/' do
+ haml :index
+end
+
+get '/:path' do
+ haml params[:path].to_sym
+end
+
+get '/style.css' do
+ content_type 'text/css', :charset => 'utf-8'
+ scss :style
+end
@@ -0,0 +1,5 @@
+#require 'rubygems'
+require 'sinatra'
+require 'haml'
+require 'compass'
+run Sinatra::Application
@@ -0,0 +1,6 @@
+body {
+ background-color: #000;
+ a {
+ text-decoration: none;
+ }
+}
Binary file not shown.
No changes.
Binary file not shown.
@@ -0,0 +1,2 @@
+%h1 What Up
+%h2 Yeya
@@ -0,0 +1,10 @@
+!!!
+%html{:lang => "en", "xml:lang" => "en", :xmlns => "http://www.w3.org/1999/xhtml"}
+ %head
+ %meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
+ %title Squiid
+ %link{:href => "assets/css/style.css", :media => "all", :rel => "stylesheet", :type => "text/css"}/
+ %body
+ .container
+ =yield
+
@@ -0,0 +1,10 @@
+body {
+ a {
+ text-decoration: none;
+ }
+}
+
+.container {
+ width: 960px;
+ margin: 0 auto;
+}

0 comments on commit 54ed275

Please sign in to comment.