diff --git a/static/grandlyon-sau/_custom.scss b/static/grandlyon-sau/_custom.scss index 79282614..0ee17d98 100644 --- a/static/grandlyon-sau/_custom.scss +++ b/static/grandlyon-sau/_custom.scss @@ -370,32 +370,30 @@ div.cell > div { } } } - @each $service in (grandlyon-connect, trabool, toodego, cozy, ecolyo, pilote) { - div.#{$service} { - a { - background-image: url('img/service-#{$service}.png'); - background-repeat: no-repeat; - background-size: 200px auto; - background-position: center top; - padding-top: 150px; - position: relative; - filter: grayscale(1); - &:hover { - filter: none; - &::after { - background-color: $primary-color; - } - } + div.service-sau.has-asset-picture { + a { + background-repeat: no-repeat; + background-size: 200px auto; + background-position: center 10%; + padding-top: 150px; + position: relative; + filter: grayscale(1); + &:hover { + filter: none; &::after { - position: absolute; - top: 145px; - background-color: #000000; - display: block; - height: calc(100% - 145px); + background-color: $primary-color; } } + &::after { + position: absolute; + top: 145px; + background-color: #000000; + display: block; + height: calc(100% - 145px); + } } } + } } } diff --git a/static/grandlyon-sau/config.json b/static/grandlyon-sau/config.json index 1dd191cc..39cd830f 100644 --- a/static/grandlyon-sau/config.json +++ b/static/grandlyon-sau/config.json @@ -3,5 +3,14 @@ "variables": { "theme_color": "#E42320", "favicon": "grandlyon-sau/img/favicon.png" + }, + "settings": { + "combo": { + "COMBO_CELL_ASSET_SLOTS.update": { + "data_linkcell": { + "picture": { "prefix": "Image" } + } + } + } } } diff --git a/static/grandlyon-sau/img/service-cozy.png b/static/grandlyon-sau/img/service-cozy.png deleted file mode 100644 index 0a3416f0..00000000 Binary files a/static/grandlyon-sau/img/service-cozy.png and /dev/null differ diff --git a/static/grandlyon-sau/img/service-ecolyo.png b/static/grandlyon-sau/img/service-ecolyo.png deleted file mode 100644 index 9e1f619a..00000000 Binary files a/static/grandlyon-sau/img/service-ecolyo.png and /dev/null differ diff --git a/static/grandlyon-sau/img/service-grandlyon-connect.png b/static/grandlyon-sau/img/service-grandlyon-connect.png deleted file mode 100644 index 4e34f9df..00000000 Binary files a/static/grandlyon-sau/img/service-grandlyon-connect.png and /dev/null differ diff --git a/static/grandlyon-sau/img/service-pilote.png b/static/grandlyon-sau/img/service-pilote.png deleted file mode 100755 index e3b54c05..00000000 Binary files a/static/grandlyon-sau/img/service-pilote.png and /dev/null differ diff --git a/static/grandlyon-sau/img/service-toodego.png b/static/grandlyon-sau/img/service-toodego.png deleted file mode 100644 index 009de9c9..00000000 Binary files a/static/grandlyon-sau/img/service-toodego.png and /dev/null differ diff --git a/static/grandlyon-sau/img/service-trabool.png b/static/grandlyon-sau/img/service-trabool.png deleted file mode 100644 index 456eb713..00000000 Binary files a/static/grandlyon-sau/img/service-trabool.png and /dev/null differ diff --git a/templates/variants/grandlyon-sau/combo/cells/service-sau/link-cell.html b/templates/variants/grandlyon-sau/combo/cells/service-sau/link-cell.html new file mode 100644 index 00000000..a5401453 --- /dev/null +++ b/templates/variants/grandlyon-sau/combo/cells/service-sau/link-cell.html @@ -0,0 +1,5 @@ +{% load assets %} +{% get_asset cell=cell type='picture' as asset %} +