Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Mizerany committed Oct 2, 2007
1 parent 0106146 commit f0bc231
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 2 deletions.
87 changes: 87 additions & 0 deletions site/index.htm
@@ -0,0 +1,87 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Sinatra : Classy web-development dressed in a DSL</title>
</head>

<body>
<style type="text/css" media="screen">
body {
background-color: #fff;
color: #333;
font-size: 0.75em;
}

#container {
width: 600px;
margin: 0 auto;
font-size: 1.5em;
}

#container pre {
font-size: .8em;
background-color: #F5F6C9;
width: 100%;
}

#container note {
font-size: .7em;
}

#banner {
width: 600px;
text-align: center;
}

pre {
padding: 10px;
}

.clear {
clear: both;
}
</style>

<div id="container">
<div id="banner">
<img src='logo.png' />
<h2><em>Classy web-development dressed in a DSL</em></h2>
</div>
<div class="clear"></div>
<div>
<div>
<p>
<strong>Install!</strong><br/>
<pre>gem install sinatra -y</pre>
</p>
<p>
<strong>Write!</strong> (any filename you wish)<br/>
<pre>
# lyrics.rb
require 'rubygems'
require 'sinatra'</pre>
<note>yup.. that's it for a sec</note><br />
</p>
<p>
<strong>Run!</strong><br />
<pre>ruby lyrics.rb</pre>
</p>
<p>
<strong>Bask!</strong><br />
<pre>http://localhost:4567</pre>
</p>
<p>
<strong>Example!</strong>
<pre>
get '/' do
"Now that's a fine looking dame!"
end</pre>
</p>
</div>
</div>
</div>
</body>
</html>
17 changes: 15 additions & 2 deletions site/index.html
Expand Up @@ -58,7 +58,7 @@ <h2><em>Classy web-development dressed in a DSL</em></h2>
<pre>gem install sinatra -y</pre>
</p>
<p>
<strong>Write!</strong> (any filename you wish)<br/>
<strong>Require!</strong> (any filename you wish)<br/>
<pre>
# lyrics.rb
require 'rubygems'
Expand All @@ -74,12 +74,25 @@ <h2><em>Classy web-development dressed in a DSL</em></h2>
<pre>http://localhost:4567</pre>
</p>
<p>
<strong>Example!</strong>
<strong>Write!</strong>
<pre>
get '/' do
"Now that's a fine looking dame!"
end</pre>
</p>
<p>
<strong>Examples!</strong><br />
<pre><a href="http://repo.or.cz/w/sinatra.git?a=tree;f=examples;h=fd7513e49762738ad945adbb2e15bb31528b4207;hb=HEAD">here</a></pre>
</p>
<p>
<strong>Contribute!</strong><br />
<pre><a href="http://repo.or.cz/w/sinatra.git">using git</a></pre>
</p>
<p>
<strong>Docs!</strong><br />
<pre>Read the simple code for now -- They're comming</pre>
</p>

</div>
</div>
</div>
Expand Down

0 comments on commit f0bc231

Please sign in to comment.