-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
521 additions
and
151 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,13 @@ export default { | |
year: 'Years', | ||
attendees: 'Attendees', | ||
speakers: 'Speakers', | ||
confirmed_speakers: 'Confirmed speakers', | ||
confirmed_speakers: 'Confirmed Speakers', | ||
sponsors: 'Sponsors', | ||
confirmed_sponsors: 'Some of our Sponsors', | ||
location: 'Location', | ||
location_title: 'Location', | ||
hotel: 'Intercontinental Nanjing', | ||
address: 'No.1 Zhongyang Road, Gulou District, Nanjing, China', | ||
tickets: 'Tickets', | ||
buy_tickets: 'buy tickets', | ||
|
||
|
@@ -66,6 +71,8 @@ export default { | |
<p>NingJS Conf has three sponsorship levels: gold, silver, bronze. Your support is very important to the conference, and the conference committee ensures that these contributions are well recognized. We list the benefits and costs below. We are open to any sponsorship needs - chat with an organizer about package details at <a href='mailto:[email protected]'>[email protected]</a>.</p>`, | ||
call_for_sponsors_mini_intro: 'Interested in supporting the local JavaScript community in China? There is no better way then helping sponsor JSConf 2016 in Nanjing.', | ||
gold_sponsor: 'Gold Sponsor', | ||
|
||
call_for_volunteers_intro: 'Are you a fan of Javascript/Node.js/React, etc.? Do you want to be a part of an international developer community? Do you think you can be up for a big challenge?', | ||
silver_sponsor: 'Silver Sponsor', | ||
bronze_sponsor: 'Bronze Sponsor', | ||
what_else_sponsor: 'What else can you sponsor?', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,11 @@ export default { | |
speakers: '讲师', | ||
confirmed_speakers: '已确认讲师', | ||
sponsors: '赞助商', | ||
confirmed_sponsors: '部分赞助商', | ||
location: '地址', | ||
location_title: '大会地址', | ||
hotel: '南京绿地洲际酒店', | ||
address: '南京市鼓楼区中央路1号(地铁1号线鼓楼站4A口出北行170米)', | ||
tickets: '购票', | ||
buy_tickets: '购票参会', | ||
|
||
|
@@ -63,6 +68,7 @@ export default { | |
<h4>赞助方案</h4> | ||
<p>2016宁JS提供三个等级的赞助方案: 金,银,铜。您的支持对于大会来说非常重要,能够保证大会主办人员更好地组织与筹办这次活动。我们将详细列出不同方案的特权以及费用,如果您对于赞助文档有任何的需求与疑问,请告诉我们!<a href='mailto:[email protected]'>[email protected]</a></p>`, | ||
call_for_sponsors_mini_intro: '有兴趣支持JavaScript中国社区?成为我们2016宁JS的赞助商吧', | ||
call_for_volunteers_intro: '你是Javascript/Node.js/React的忠实粉丝吗?想要成为国际开发者社区的一员吗?你愿意接受更大的挑战吗?', | ||
gold_sponsor: '金牌赞助商', | ||
silver_sponsor: '银牌赞助商', | ||
bronze_sponsor: '铜牌赞助商', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import React, { Component } from 'react'; | ||
import { render } from 'react-dom'; | ||
import { Map, Marker, Popup, TileLayer } from 'react-leaflet'; | ||
|
||
const position = [32.06257,118.7781]; | ||
|
||
export default class MapComponent extends Component { | ||
|
||
render() { | ||
return ( | ||
<Map center={position} zoom={13}> | ||
<TileLayer | ||
url='http://{s}.tile.osm.org/{z}/{x}/{y}.png' | ||
attribution='© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' | ||
/> | ||
<Marker position={position}> | ||
<Popup> | ||
<span><strong></strong><span>鼓楼区中央路1号(地铁1号线鼓楼站4A口出北行170米)</span> | ||
</Popup> | ||
</Marker> | ||
</Map> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React, {Component} from 'react' | ||
|
||
export default class LevelItem extends Component { | ||
render () { | ||
const {level, data} = this.props | ||
const sponsorArray = data.map((sponsor, i) => { | ||
return ( | ||
<a key={i} href={sponsor.link} ><img src={sponsor.logo} /></a> | ||
) | ||
}) | ||
return ( | ||
<div className='level'> | ||
<h3>{ level }</h3> | ||
<div className='list'> | ||
{ sponsorArray } | ||
</div> | ||
</div> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React, { Component } from 'react' | ||
import _ from 'lodash' | ||
import LevelItem from './LevelItem' | ||
|
||
import 'styles/speakers/style.scss' | ||
|
||
/* Sponsor data */ | ||
const sponsorData = require('./sponsors.json') | ||
|
||
export default class Index extends Component { | ||
|
||
covert(arr1, arr2, arr3) { | ||
return arr1.reduce((p, n) => { | ||
p[n.name] = [n].concat(arr2.filter(i => i.name === n.name)) | ||
return p | ||
}, {}) | ||
} | ||
|
||
render() { | ||
const { __, query } = this.props | ||
|
||
const levels = Object.keys(sponsorData).map((level, i) => { | ||
return (<LevelItem key={i} level={level} data={sponsorData[level]} />) | ||
}) | ||
return ( | ||
<div className='sponsors-container'> | ||
{ levels } | ||
</div> | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"Organizer": [{ | ||
"name": "Wiredcraft", | ||
"logo": "/assets/images/sponsors/wiredcraft.png", | ||
"link": "https://wiredcraft.com/" | ||
}], | ||
"Gold": [{ | ||
"name": "Ucloud", | ||
"logo": "/assets/images/sponsors/ucloud.png", | ||
"link": "https://www.ucloud.cn/" | ||
}], | ||
|
||
"Silver": [{ | ||
"name": "Teambition", | ||
"logo": "/assets/images/sponsors/teambition.png", | ||
"link": "https://www.teambition.com/" | ||
}, { | ||
"name": "Qiniu", | ||
"logo": "/assets/images/sponsors/qiniu.png", | ||
"link": "https://github.com/yyx990803" | ||
}, { | ||
"name": "Mapbox", | ||
"logo": "/assets/images/sponsors/mapbox.png", | ||
"link": "https://www.mapbox.com/" | ||
}, { | ||
"name": "aliyun", | ||
"logo": "/assets/images/sponsors/aliyun.png", | ||
"link": "https://www.aliyun.com/" | ||
|
||
}, { | ||
"name": "goyoo", | ||
"logo": "/assets/images/sponsors/goyoo.png", | ||
"link": "http://www.goyoo.com/" | ||
}], | ||
"Bronze": [{ | ||
"name": "Oneapm", | ||
"logo": "/assets/images/sponsors/oneapm.png", | ||
"link": "http://www.oneapm.com/" | ||
}], | ||
"Media": [{ | ||
"name": "Segmentfault", | ||
"logo": "/assets/images/sponsors/sf.png", | ||
"link": "https://segmentfault.com/" | ||
}, { | ||
"name": "Technode", | ||
"logo": "/assets/images/sponsors/technode.png", | ||
"link": "http://technode.com/" | ||
}] | ||
} |
Oops, something went wrong.