[www] Collective/Person pages updated

This commit is contained in:
Roman Timashev committed 2017-10-23 23:15:36 +03:00
1 parent b2191200da
commit 39ce95746f
14 files changed
+200 -123

No files matched your search

+8 -6
View File
@@ -47,16 +47,18 @@ class Image {
const a = this.getArtifact(size)
const a2 = this.getArtifact(retinaSize)
const srcset = !a2
? null
: [{
url: a2.url,
density: ImageArtifactType.RETINA_DENSITY,
}]
return {
src: a.url,
width: a.width,
height: a.height,
set: [
{
url: a2.url,
density: ImageArtifactType.RETINA_DENSITY,
}
]
set: srcset,
}
}
}