Merge pull request #33 from c-base/35c3-c-base-events
Add c-base local events to calendar
This commit is contained in:
commit
a92c831bca
2 changed files with 74 additions and 0 deletions
72
35c3-events/c-base.js
Normal file
72
35c3-events/c-base.js
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
module.exports = [
|
||||||
|
{
|
||||||
|
allDay: true,
|
||||||
|
start: '2018-12-24T15:24:51+0000',
|
||||||
|
end: '2018-12-24T15:24:51+0000',
|
||||||
|
title: 'Gitterboxen durchfengeln lassen',
|
||||||
|
id: 'c-base',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
allDay: true,
|
||||||
|
start: '2018-12-24T15:24:51+0000',
|
||||||
|
end: '2018-12-24T15:24:51+0000',
|
||||||
|
title: 'Lict planen',
|
||||||
|
id: 'c-base',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
allDay: true,
|
||||||
|
start: '2018-12-24T15:24:51+0000',
|
||||||
|
end: '2018-12-24T15:24:51+0000',
|
||||||
|
title: 'Tischbeine holen, 22x4',
|
||||||
|
id: 'c-base',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
allDay: true,
|
||||||
|
start: '2018-12-24T15:24:51+0000',
|
||||||
|
end: '2018-12-24T15:24:51+0000',
|
||||||
|
title: 'c-cretariat zuende bauen',
|
||||||
|
id: 'c-base',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
allDay: true,
|
||||||
|
start: '2018-12-24T15:24:51+0000',
|
||||||
|
end: '2018-12-24T15:24:51+0000',
|
||||||
|
title: 'DMX-Kabel mit Gaffer/Teppich zur Antenne legen, von Fengel absegnen lassen',
|
||||||
|
id: 'c-base',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
allDay: true,
|
||||||
|
start: '2018-12-25T15:24:51+0000',
|
||||||
|
end: '2018-12-25T15:24:51+0000',
|
||||||
|
title: 'Alle Safeties checken',
|
||||||
|
id: 'c-base',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
allDay: true,
|
||||||
|
start: '2018-12-25T15:24:51+0000',
|
||||||
|
end: '2018-12-25T15:24:51+0000',
|
||||||
|
title: 'Tische aufbauen',
|
||||||
|
id: 'c-base',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
allDay: true,
|
||||||
|
start: '2018-12-25T15:24:51+0000',
|
||||||
|
end: '2018-12-25T15:24:51+0000',
|
||||||
|
title: 'Monitore anhängen mit dazz)',
|
||||||
|
id: 'c-base',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
allDay: true,
|
||||||
|
start: '2018-12-25T15:24:51+0000',
|
||||||
|
end: '2018-12-25T15:24:51+0000',
|
||||||
|
title: 'projection mapping von riot platzieren',
|
||||||
|
id: 'c-base',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
allDay: false,
|
||||||
|
start: '2018-12-25T18:00:00+0000',
|
||||||
|
end: '2018-12-25T18:00:00+0000',
|
||||||
|
title: 'Abnahme',
|
||||||
|
id: 'c-base',
|
||||||
|
},
|
||||||
|
];
|
|
@ -1,4 +1,5 @@
|
||||||
import dateformat from 'dateformat';
|
import dateformat from 'dateformat';
|
||||||
|
import baseevents from './c-base';
|
||||||
import '../elements/time';
|
import '../elements/time';
|
||||||
|
|
||||||
function sortEvents(a, b) {
|
function sortEvents(a, b) {
|
||||||
|
@ -47,6 +48,7 @@ function getEvents(number) {
|
||||||
});
|
});
|
||||||
return talks;
|
return talks;
|
||||||
})
|
})
|
||||||
|
.then(talks => baseevents.concat(talks))
|
||||||
.then(talks => fetch('https://launchlibrary.net/1.3/launch/next/2')
|
.then(talks => fetch('https://launchlibrary.net/1.3/launch/next/2')
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|
Loading…
Reference in a new issue