Merge pull request #33 from c-base/35c3-c-base-events

Add c-base local events to calendar
This commit is contained in:
Henri Bergius 2018-12-24 17:16:13 +01:00 committed by GitHub
commit a92c831bca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 74 additions and 0 deletions

72
35c3-events/c-base.js Normal file
View 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',
},
];

View file

@ -1,4 +1,5 @@
import dateformat from 'dateformat';
import baseevents from './c-base';
import '../elements/time';
function sortEvents(a, b) {
@ -47,6 +48,7 @@ function getEvents(number) {
});
return talks;
})
.then(talks => baseevents.concat(talks))
.then(talks => fetch('https://launchlibrary.net/1.3/launch/next/2')
.then(res => res.json())
.then((res) => {