summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb36
1 files changed, 36 insertions, 0 deletions
diff --git a/application.rb b/application.rb
new file mode 100644
index 0000000..b586b04
--- /dev/null
+++ b/application.rb
@@ -0,0 +1,36 @@
+[ 'rubygems', 'sinatra', 'haml','sass' ].each do |lib|
+ require lib
+end
+
+get '/?' do
+ haml :index
+end
+
+get '/software' do
+ haml :software
+end
+
+get '/services' do
+ haml :services
+end
+
+get '/publications' do
+ haml :publications
+end
+
+get '/contact' do
+ haml :contact
+end
+
+get '/links' do
+ haml :links
+end
+
+get '/awards' do
+ haml :awards
+end
+
+get '/style.css' do
+ header 'Content-Type' => 'text/css; charset=utf-8'
+ sass :style
+end