Skip to content

Commit 0bee13f

Browse files
author
Andrew Dunkman
committed
Added logo, favicon.
1 parent 85e5719 commit 0bee13f

8 files changed

Lines changed: 1748 additions & 37 deletions

File tree

app.coffee

100644100755
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ stylus = require 'stylus'
88
data = require './data'
99

1010
app.configure 'development', () ->
11-
app.use(stylus.middleware({src: path.join(__dirname, '/public')}))
12-
app.use(express.logger({format: ':method :url'}))
13-
app.use(express.static(path.join(__dirname, '/public')))
11+
app.use stylus.middleware { src: path.join(__dirname, 'public') }
12+
app.use express.logger { format: ':method :url' }
13+
app.use express.static path.join(__dirname, 'public')
1414

1515
app.configure 'production', () ->
16-
app.use(stylus.middleware({src: path.join(__dirname, '/public'), compress: true }))
17-
app.use(express.logger({format: ':method :url'}))
18-
app.use(express.static(path.join(__dirname, '/public')))
16+
app.use stylus.middleware { src: path.join(__dirname, 'public'), compress: true }
17+
app.use express.logger { format: ':method :url' }
18+
app.use express.static path.join(__dirname, 'public')
1919

20-
app.set 'views', path.join(__dirname, '/views')
20+
app.set 'views', path.join(__dirname, 'views')
2121
app.set 'view engine', 'jade'
2222

2323
app.get '/', data.load('tweets', 'messages'), (req, res) ->

public/css/app.css

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,29 @@ html,
44
padding: 0;
55
}
66
body {
7-
background: transparent url("images/bgpattern.png");
7+
background: #46483e url("images/bgpattern.png");
88
height: 100%;
99
}
1010
a {
11-
color: #73a53e;
11+
color: #8cc84b;
1212
}
1313
#wrapper {
1414
width: 1024px;
1515
margin: 0 auto;
1616
height: 100%;
1717
font-weight: bold;
18-
color: #fff;
19-
font-family: sans-serif;
18+
color: #d2d8ba;
19+
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
2020
font-size: 2em;
2121
text-align: center;
2222
}
2323
#wrapper h1 {
24-
text-shadow: 0.1em 0.1em 0.2em #000;
25-
padding-top: 1em;
24+
margin: 30px 0 10px 0;
25+
height: 200px;
26+
max-width: 100%;
27+
min-width: 900px;
28+
background: url("images/nodekc-dark.png") no-repeat center center;
29+
text-indent: -90000px;
2630
}
2731
#wrapper p {
2832
font-size: 0.8em;

public/css/app.styl

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
html, *
22
margin 0
33
padding 0
4-
4+
55
body
6-
background transparent url('images/bgpattern.png')
6+
background #46483E url('images/bgpattern.png')
77
height 100%
88

99
a
10-
color #73A53E
10+
color #8CC84B
1111

1212
#wrapper
1313
width 1024px
1414
margin 0 auto
1515
height 100%
1616
font-weight bold
17-
color white
18-
font-family sans-serif
17+
color #D2D8BA
18+
font-family 'Helvetica Neue', Helvetica, Arial, sans-serif
1919
font-size 2em
2020
text-align center
2121

2222
h1
23-
text-shadow 0.1em 0.1em 0.2em black
24-
padding-top 1em
23+
margin 30px 0 10px 0
24+
height 200px
25+
max-width 100%
26+
min-width 900px
27+
background url('images/nodekc-dark.png') no-repeat center center
28+
text-indent -90000px
2529

2630
p
2731
font-size .8em
@@ -38,13 +42,13 @@ a
3842
margin-left 10px
3943
height 160px
4044
overflow auto
41-
ul
45+
ul
4246
padding 0
4347
margin-left 10px
4448
list-style-type none
45-
h2
49+
h2
4650
font-size .6em
47-
a.message
51+
a.message
4852
font-size .5em
4953
p.teaser
5054
font-size .5em
@@ -54,11 +58,10 @@ a
5458
li.panel.tweets
5559
p.tweet
5660
font-size 1em
57-
span
61+
span
5862
font-size .5em
5963
color #ccc
6064
margin-bottom 5px
6165
margin-left 3px
6266
text-decoration underline
63-
64-
67+

public/css/images/nodejs-dark.ai

Lines changed: 1703 additions & 0 deletions
Large diffs are not rendered by default.

public/css/images/nodekc-dark.png

18.6 KB
Loading

public/css/images/nodekc-dark.psd

181 KB
Binary file not shown.

public/favicon.ico

1.12 KB
Binary file not shown.

views/layout.jade

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
!!! 5
22
html(lang="en")
33
title NodeKC - Kansas City's Node.js user group
4-
4+
55
script
66
var _gaq = _gaq || [];
77
_gaq.push(['_setAccount', 'UA-27907751-4']);
@@ -17,27 +17,28 @@ html(lang="en")
1717

1818
body
1919
#wrapper
20-
h1 Welcome to NodeKC!
21-
22-
p site coming... for now visit the
23-
a(href='http://groups.google.com/group/kc-nodejs', title='NodeKC Google Group') google group
20+
h1 NodeKC
21+
22+
p site coming… for now visit the
23+
a(href='http://groups.google.com/group/kc-nodejs', title='NodeKC Google Group')
24+
| google group
2425
ul#panels
2526
li.panel
2627
h2 Recent Group Messages
2728
ul
2829
each item in messages
29-
li
30+
li
3031
a.message(href=item.guid)#{item.title}
3132
p.teaser #{item.desc}
3233
li.panel.tweets
33-
h2 Tweets
34+
h2 Tweets
3435
a(href='http://twitter.com/nodekc') @nodekc
35-
36+
3637
ul
3738
each item in tweets.results
38-
li
39-
p.tweet #{item.text}
40-
span #{item.created_at}
39+
li
40+
p.tweet #{item.text}
41+
span #{item.created_at}
4142
li.panel
4243
h2 Members
4344
p Unknown

0 commit comments

Comments
 (0)