Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaun Robinson committed Jan 30, 2011
0 parents commit 54ed275
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
gem 'sinatra'
gem 'compass'
gem 'haml'
gem 'sass'
Empty file added README
Empty file.
21 changes: 21 additions & 0 deletions application.rb
@@ -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
5 changes: 5 additions & 0 deletions config.ru
@@ -0,0 +1,5 @@
#require 'rubygems'
require 'sinatra'
require 'haml'
require 'compass'
run Sinatra::Application
6 changes: 6 additions & 0 deletions css/style.scss
@@ -0,0 +1,6 @@
body {
background-color: #000;
a {
text-decoration: none;
}
}
Binary file added public/.DS_Store
Binary file not shown.
Empty file added public/robots.txt
Empty file.
Binary file added views/.DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions views/index.haml
@@ -0,0 +1,2 @@
%h1 What Up
%h2 Yeya
10 changes: 10 additions & 0 deletions views/layout.haml
@@ -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

10 changes: 10 additions & 0 deletions views/style.scss
@@ -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.