Skip to content

Commit 8939815

Browse files
committed
initial commit
0 parents  commit 8939815

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+544
-0
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015"]
3+
}

.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.jshintignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
bower_components
3+
dist
4+
example

.jshintrc

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"curly": true,
3+
"eqeqeq": true,
4+
"newcap": true,
5+
"noarg": true,
6+
"noempty": true,
7+
"nonew": true,
8+
"sub": true,
9+
"undef": true,
10+
"unused": true,
11+
"trailing": true,
12+
"boss": true,
13+
"eqnull": true,
14+
"strict": true,
15+
"immed": true,
16+
"expr": true,
17+
"latedef": "nofunc",
18+
"quotmark": "single",
19+
"validthis": true,
20+
"indent": 2,
21+
"node": true,
22+
"browser": true
23+
}

all.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

all.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
4.24 KB
Loading

build/build

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
jade views/*.jade -o .
4+
5+
stylus --include-css --compress -o . css/all.styl
6+
cleancss --s0 -o all.css all.css
7+
8+
browserify_alone() {
9+
browserify $1 \
10+
--transform babelify \
11+
--plugin bundle-collapser/plugin \
12+
| uglifyjs \
13+
--mangle \
14+
--compress "comparisons=false,keep_fargs=true,unsafe=true,unsafe_comps=true,warnings=false" \
15+
--beautify "ascii_only=true,beautify=false" \
16+
--output $2
17+
}
18+
19+
browserify_alone js/main.js all.js
20+
browserify_alone js/service-worker.js service-worker.js

build/start

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
jade -w views/*.jade -o . &
4+
stylus --include-css -w css/all.styl -o . &
5+
watchify -vt babelify js/main.js -o all.js &
6+
watchify -vt babelify js/service-worker.js -o service-worker.js &
7+
open http://localhost:5000
8+
static-server --port 5000 .

css/all.styl

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@import 'css/reset'
2+
@import 'css/variables/colors'
3+
@import 'css/design/core'
4+
@import 'css/design/tags'
5+
@import 'css/design/tables'
6+
@import 'css/components/ly-core'
7+
@import 'css/components/ly-header'
8+
@import 'css/components/lk-link'
9+
@import 'css/components/lg-logo'
10+
@import 'css/components/md-markdown'

css/components/lg-logo.styl

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.lg-logo
2+
display block
3+
margin 0 auto
4+
max-width 350px
5+
height 50px
6+
text-indent -9999em
7+
background-position 0 0
8+
background-repeat no-repeat
9+
background-size contain
10+
background-image url("data:image/svg+xml;utf8,<svg viewBox='0 0 360 50' xmlns='http://www.w3.org/2000/svg'><path d='M252.71 10.427c8.75 0 14.473 6.306 14.473 14.975 0 8.67-5.723 14.977-14.473 14.977s-14.473-6.31-14.473-14.98c0-8.67 5.723-14.976 14.473-14.976M235.094 7.8l-7.892 6.438c-2.04-2.432-5.002-3.81-8.816-3.81-7.765 0-13.49 6.305-13.49 14.974 0 8.67 5.725 14.977 13.158 14.977 4.146 0 7.502-1.846 9.607-4.995l8.555 6.37c-3.88 5.517-10.46 8.08-16.84 8.08-14.54 0-25.132-9.526-25.132-24.436 0-14.907 10.593-24.43 25.13-24.43 5.2 0 11.778 1.773 15.724 6.83M157.03 48.653V2.152h31.645v9.458h-21.382v8.67h20.2v9.457h-20.2v9.46h22.565v9.457H157.03M107.517 2.152h15.396c15 0 27.565 6.37 27.565 23.38 0 15.043-12.303 23.122-26.184 23.122h-16.777V2.152M75.874.97c14.54 0 25.13 9.524 25.13 24.432 0 14.91-10.59 24.435-25.13 24.435s-25.13-9.525-25.13-24.435C50.744 10.494 61.334.97 75.874.97M44.23 48.654H30.81L10.48 15.552h-.13v33.102H.087V2.152h13.946l19.802 32.315h.132V2.152H44.23v46.502m274.868 0h-13.42L285.35 15.552h-.13v33.102h-10.264V2.152h13.946l19.803 32.315h.13V2.152H319.1v46.502m40.374-37.044h-20.988v9.457h19.406v9.458h-19.406v18.13h-10.262V2.15h31.25v9.458' fill='" + c-red + "'/></svg>")

css/components/lk-link.styl

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
links()
2+
color c-red
3+
text-decoration none
4+
border-bottom 1px dotted c-red
5+
6+
&:hover
7+
border-bottom-style solid
8+
9+
.lk-link
10+
links()

css/components/ly-core.styl

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
body
2+
word-wrap break-word
3+
overflow-x hidden
4+
overflow-y scroll
5+
margin 0 auto
6+
text-align center
7+
-webkit-font-smoothing antialiased
8+
-moz-osx-font-smoothing grayscale
9+
10+
.ly-main
11+
display inline-block
12+
text-align left
13+
width 100%
14+
15+
@media only screen and (min-width: 768px)
16+
.ly-main
17+
padding-bottom 80px

css/components/ly-header.styl

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.ly-header
2+
margin 80px
3+
4+
.ly-header-location
5+
font-size 25px
6+
text-align center

css/components/md-markdown.styl

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
.md-markdown
2+
blockquote
3+
position relative
4+
margin 0
5+
padding 12px 12px 12px 48px
6+
background-color c-light-pink
7+
8+
&:before
9+
content '\201c'
10+
font-family Georgia, serif
11+
color c-red
12+
position absolute
13+
top 20px
14+
left 8px
15+
font-size 65px
16+
font-weight 700
17+
line-height 40px
18+
margin-right 10px
19+
20+
h1,
21+
h2,
22+
h3,
23+
h4,
24+
h5,
25+
h6
26+
margin-top 0
27+
28+
img
29+
&:first-child
30+
margin-top 0
31+
32+
&:last-child
33+
margin-bottom 0
34+
35+
p
36+
&:first-child
37+
margin-top 0
38+
39+
&:last-child
40+
margin-bottom 0
41+
42+
li
43+
margin-top 10px
44+
45+
&:first-child
46+
margin-top 0
47+
48+
> ul,
49+
> ol
50+
margin-top 10px
51+
52+
a
53+
links()
54+
55+
h1,
56+
h2,
57+
h3,
58+
h4,
59+
h5,
60+
h6
61+
padding 10px 40px

css/design/core.styl

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
body,
2+
input,
3+
textarea,
4+
button
5+
font-family inconsolata,menlo,monospace
6+
color c-black
7+
8+
::selection
9+
background c-red
10+
color #fff
11+
text-shadow 0 1px rgba(#000, .2)

css/design/tables.styl

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
table
2+
width 100%
3+
4+
thead
5+
background-color darken(c-light-pink, 5%)
6+
7+
tbody tr
8+
background-color c-light-pink
9+
&:nth-child(even)
10+
background-color darken(c-light-pink, 2%)
11+
12+
th,
13+
td
14+
padding 10px
15+
16+
@media only screen and (max-width: 950px)
17+
table
18+
display block
19+
thead
20+
display none
21+
tbody
22+
display block
23+
tr
24+
display block
25+
margin-bottom 30px
26+
tr:last-child
27+
margin-bottom 0
28+
td
29+
display block
30+
td:before
31+
display block
32+
content attr(data-label)
33+
color c-red
34+
font-size 13px
35+
margin 0 0 5px

css/design/tags.styl

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
ul,
2+
ol
3+
padding 0
4+
margin 0
5+
list-style-position inside
6+
7+
ul
8+
list-style-type disc
9+
10+
li
11+
> ul,
12+
> ol
13+
margin-left 15px
14+
15+
b,
16+
strong,
17+
font-weight bold
18+
19+
i,
20+
em,
21+
font-style italic
22+
23+
ins
24+
text-decoration none
25+
26+
del
27+
text-decoration line-through
28+
29+
input,
30+
button
31+
border-radius 0
32+
33+
img
34+
max-width 100%
35+
border none
36+
37+
a,
38+
button
39+
outline none
40+
41+
button
42+
border none
43+
padding 6px 8px
44+
font-size 1.2em
45+
background transparent
46+
47+
sub,
48+
sup
49+
bottom 0
50+
line-height 18px

css/reset.styl

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
@import 'node_modules/normalize.css/normalize.css'
2+
@import 'node_modules/nib/index'
3+
4+
html,
5+
html:before,
6+
html:after,
7+
body,
8+
body:before,
9+
body:after
10+
box-sizing border-box
11+
12+
*,
13+
*:before,
14+
*:after
15+
box-sizing inherit

css/variables/colors.styl

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
c-red = #cc0000
2+
c-light-pink = #fff3f3
3+
c-black = #333

favicon.ico

32.2 KB
Binary file not shown.

index.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!---
2+
3+
NodeConf Argentina--><!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>NodeConf Argentina 2016</title><link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144x144-precomposed.png"><link rel="shortcut icon" href="/favicon.ico"><link rel="manifest" href="/manifest.json"><meta name="mobile-web-app-capable" content="yes"><meta name="theme-color" content="#cc0000"><meta name="msapplication-navbutton-color" content="#cc0000"><meta name="apple-mobile-web-app-status-bar-style" content="#cc0000"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="author" itemprop="creator" content="Nicolás Bevacqua &lt;[email protected]&gt;"><meta name="description" property="og:description" itemprop="description" content="NodeConf Argentina is a conference promoting adoption of Node.js in latin america. Visit us in sunny Buenos Aires for an unforgettable conference experience. Make friends and stay connected."><meta property="og:site_name" content="NodeConf Argentina"><meta property="og:url" itemprop="url" content="https://2016.nodeconf.com.ar"><link rel="canonical" href="https://2016.nodeconf.com.ar"><meta name="twitter:title" itemprop="name" property="og:title" content="NodeConf Argentina 2016"><meta name="twitter:description" content="NodeConf Argentina is a conference promoting adoption of Node.js in latin america. Visit us in sunny Buenos Aires for an unforgettable conference experience. Make friends and stay connected."><meta name="twitter:card" content="summary"><meta name="twitter:site" content="@nodeconfar"><meta name="twitter:creator" content="@nzgb"><meta property="og:image" itemprop="images" content="https://2016.nodeconf.com.ar/nodeconf.png"><meta name="twitter:image:src" content="https://2016.nodeconf.com.ar/nodeconf.png"><link rel="stylesheet" type="text/css" href="/all.css"><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Inconsolata:400,700"></head><body><header class="ly-header"><a class="lg-logo" href="/">NodeConf</a><div class="ly-header-location">Buenos Aires, Argentina</div></header><main class="ly-main"><p>Foo</p></main><footer><span>Organizers, sponsors and attendees are required to follow the</span><span> </span><a class="lk-link" href="/code-of-conduct.html">Code of Conduct</a><span>.</span></footer><script src="/all.js"></script><script src="/service-worker.js"></script></body></html>

js/main.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import registerWorker from './service-worker-registration'
2+
3+
registerWorker()

js/service-worker-registration.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export default function register () {
2+
if ('serviceWorker' in navigator) {
3+
navigator
4+
.serviceWorker
5+
.register('/service-worker.js')
6+
}
7+
}

0 commit comments

Comments
 (0)