styles and js
authorAndrew Otto <acotto@gmail.com>
Tue, 14 Feb 2012 19:34:34 +0000 (11:34 -0800)
committerAndrew Otto <acotto@gmail.com>
Tue, 14 Feb 2012 19:34:34 +0000 (11:34 -0800)
lib/main.co [new file with mode: 0644]
lib/server.co
www/css/kraken.styl [new file with mode: 0644]
www/js/kraken-ui [new symlink]
www/layout.jade

diff --git a/lib/main.co b/lib/main.co
new file mode 100644 (file)
index 0000000..9ca68c9
--- /dev/null
@@ -0,0 +1 @@
+console.log 'hi'
\ No newline at end of file
index 7f664bb..ce61012 100755 (executable)
@@ -71,6 +71,7 @@ app.configure ->
     
     app.use express.static WWW
     app.use express.static VAR
+    app.use express.static "#{CWD}/static"
     app.use express.errorHandler do
         dumpExceptions : true
         showStack      : true
diff --git a/www/css/kraken.styl b/www/css/kraken.styl
new file mode 100644 (file)
index 0000000..7467fea
--- /dev/null
@@ -0,0 +1,2 @@
+body
+    font-family menlo
\ No newline at end of file
diff --git a/www/js/kraken-ui b/www/js/kraken-ui
new file mode 120000 (symlink)
index 0000000..58677dd
--- /dev/null
@@ -0,0 +1 @@
+../../lib
\ No newline at end of file
index f22bb78..06361ed 100644 (file)
@@ -1,3 +1,10 @@
-body
-  div
-    != body
+!!! html
+html
+    head
+        link(href="/css/kraken.css", type='text/css', media='screen', rel='stylesheet')
+    body
+        div
+            != body
+        .scripts 
+            script(src="vendor/jquery.min.js")
+            script(src="/js/kraken-ui/main.js")