NGI award logo

This commit is contained in:
yflory 2018-11-14 16:51:50 +01:00
parent 67f3eb40a9
commit 434d557444
3 changed files with 22 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

View file

@ -85,10 +85,18 @@ define([
h('div.row.justify-content-sm-center',[
h('div.col-12.col-sm-4.cp-index-block.cp-index-block-host', h('div', [
Pages.setHTML(h('span'), Msg.home_host),
h('img', {
src: "/customize/images/AGPL.png",
title: Msg.home_host_agpl
})
h('div.cp-img-container', [
h('img.agpl', {
src: "/customize/images/AGPL.png",
title: Msg.home_host_agpl
}),
h('a.img', {
href:'#'
}, h('img.ngi', {
src: "/customize/images/ngi.png",
title: 'NGI Award winner'
}))
])
])),
h('div.col-12.col-sm-4.cp-index-block.cp-index-block-product', h('div', [
Msg.home_product

View file

@ -216,12 +216,18 @@
flex-flow: column;
justify-content: space-evenly;
}
img {
.cp-img-container {
display: flex;
}
img, a.img {
margin: auto;
max-width: 70%;
background: white;
max-height: 50px;
margin-top: 1em;
&.agpl {
max-height: 50px;
}
&.ngi {
max-height: 100px;
}
}
}