Update composes.helper.js
This commit is contained in:
parent
f6ca82aaba
commit
315ed41a93
@ -2,6 +2,36 @@
|
||||
const cdnHelper = require('./cdn.helper');
|
||||
const fetch = require("node-fetch");
|
||||
|
||||
const partnersCurrent = [{
|
||||
name: "CantabriaLabs",
|
||||
image: "https://cdnapp2.loquedeverdadimporta.org/partners/cantabria_labs/banner_live.jpg",
|
||||
width: "1080",
|
||||
height: "540",
|
||||
link: "https://es.surveymonkey.com/r/habitos-fotoproteccion-2019"
|
||||
},{
|
||||
name: "Gonvarri",
|
||||
image: "https://cdnapp2.loquedeverdadimporta.org/partners/gonvarri/banner_live.jpg",
|
||||
width: "1080",
|
||||
height: "540",
|
||||
link: "http://www.emotionaldriving.com/mensajes/"
|
||||
}];
|
||||
|
||||
const partnersPast = [{
|
||||
name: "CantabriaLabs",
|
||||
image: "https://cdnapp2.loquedeverdadimporta.org/partners/cantabria_labs/banner_past.jpg",
|
||||
width: "1080",
|
||||
height: "445",
|
||||
link: "default"
|
||||
}, {
|
||||
name: "Gonvarri",
|
||||
image: "https://cdnapp2.loquedeverdadimporta.org/partners/gonvarri/banner_past.jpg",
|
||||
width: "1080",
|
||||
height: "445",
|
||||
link: "https://twitter.com/hashtag/ED${city}?src=hash"
|
||||
}];
|
||||
|
||||
|
||||
|
||||
const valuesComposer = (values) => (values) ? values.map(value => ({id: value.id, name: value.name,})): values;
|
||||
|
||||
const citiesComposer = (city, context) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user