Browse Source

NGI award logo

master
yflory 2 years ago
parent
commit
434d557444
3 changed files with 22 additions and 8 deletions
  1. BIN
      customize.dist/images/ngi.png
  2. 16
      customize.dist/pages/index.js
  3. 14
      customize.dist/src/less2/pages/page-index.less

BIN
customize.dist/images/ngi.png

Before After
Width: 266  |  Height: 262  |  Size: 5.0 KiB

16
customize.dist/pages/index.js

@ -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

14
customize.dist/src/less2/pages/page-index.less

@ -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;
}
}
}

Loading…
Cancel
Save