Add c-base local events to calendar
This commit is contained in:
parent
d980cc2594
commit
4a7e139b6b
2 changed files with 39 additions and 0 deletions
37
35c3-events/c-base.js
Normal file
37
35c3-events/c-base.js
Normal file
|
@ -0,0 +1,37 @@
|
|||
module.exports = [
|
||||
{
|
||||
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 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) => {
|
||||
|
|
Loading…
Reference in a new issue