Skip to content

Commit 6609691

Browse files
committed
contact & location pages - 50% of BrisJS#4
1 parent 7fdd262 commit 6609691

File tree

5 files changed

+619
-35
lines changed

5 files changed

+619
-35
lines changed

app/app.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ function hashChange(options){
3232
if(thisHash === hash){
3333
page.style.display = 'block';
3434
links[0].className += ' active';
35-
links[1].className += ' active';
35+
links[1] && (links[1].className += ' active');
3636
} else {
3737
page.style.display = 'none';
3838
links[0].className = links[0].className.replace(/active/, '');
39-
links[1].className = links[1].className.replace(/active/, '');
39+
links[1] && (links[1].className = links[1].className.replace(/active/, ''));
4040
}
4141
if(options.jump !== false) document.body.scrollTop = 0;
4242
document.body.className = hash;

data/contact.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
{
3+
"name": "Kevin Vanderbeken",
4+
"role": "Fearless Leader",
5+
"bio": "Organizes BrisJS talks, wrangles sponsorship, ensures there's beer.",
6+
"twitter": "https://twitter.com/kevdesign",
7+
"email": "[email protected]",
8+
"photo": "https://www.gravatar.com/avatar/c4686543022fdb8978acb8ff4995c284?s=500"
9+
},
10+
{
11+
"name": "Ash Kyd",
12+
"role": "Assistant Busybody",
13+
"bio": "Organizes BrisJS Social, steps up when Kev's out of town.",
14+
"twitter": "https://twitter.com/ashkyd",
15+
"email": "[email protected]",
16+
"photo": "https://www.gravatar.com/avatar/24073d0e70921eda1a2ae25e2cceb057?s=500"
17+
}
18+
]

images/logo-lowres.svg

+104
Loading

0 commit comments

Comments
 (0)