diff --git a/app.js b/app.js index b8bf554..ebe9d24 100644 --- a/app.js +++ b/app.js @@ -1,5 +1,5 @@ // Generated by CoffeeScript 1.3.3 -var app, cons, express, haml, http, routes, server; +var app, cons, express, haml, http, moment, routes, server; express = require('express'); @@ -11,6 +11,8 @@ cons = require('consolidate'); http = require('http'); +moment = require('the_time.js'); + app = express(); app.configure(function() { diff --git a/public/images/the-teacher.jpg b/public/images/the-teacher.jpg new file mode 100644 index 0000000..02520a8 Binary files /dev/null and b/public/images/the-teacher.jpg differ diff --git a/src/app.coffee b/src/app.coffee index e212f58..0b38803 100644 --- a/src/app.coffee +++ b/src/app.coffee @@ -3,6 +3,7 @@ routes = require './routes' haml = require 'hamljs' cons = require 'consolidate' http = require 'http' +moment = require 'the_time.js' app = express() app.configure -> diff --git a/views/index.haml b/views/index.haml index b0c1b07..a94f999 100644 --- a/views/index.haml +++ b/views/index.haml @@ -1 +1,45 @@ -%h1 Hello World! \ No newline at end of file +%h2 + %a{ href: "https://github.com/the-teacher" } github.com/the-teacher + %img{ src: "/images/the-teacher.jpg", style: "float:right" } +%p + %b Ilya N. Zykin, Russia, Saint Petersburg + %br + %i Ruby Frontend developer (school teacher in the past) + +%h2{ style: "color:MediumBlue" } My open-source projects + +%ol + %li + %h3 + %a{ href: "https://github.com/the-teacher/the_template" } TheTemplate + %p + %b Padrino Template App for frontend developers + %br + %i Use HAML, SASS and Coffee Script for frontend development right now! + %li + %h3 + %a{ href: "https://github.com/the-teacher/ExpressOnSteroids" } Express on Steroids + %p + %b Node.js/Express application + CoffeeScript + SASS + HAML + %br + %i Use HAML, SASS and Coffee Script for frontend development right now! + %li + %h3 + %a{ href: "https://github.com/the-teacher/TheTime.js" } TheTime.js + %p + %b Awesome JS Date wrapper for Node.js and Browser JS + %br + %i Makes work with JS Date object easier and more humane + %li + %h3 + %a{ href: "https://github.com/the-teacher/the_sortable_tree" } the_sortable_tree + %p + %b Engine Based Drag&Drop GUI for awesome_nested_set gem. Rails >=3.1 + %br + %i For building awesome tree based interfaces with awesome_nested_set gem + +%h3 TheTime.js test (build current month) + +- M = new Moment + += 2+2