he
This commit is contained in:
parent
3c9beda960
commit
b3aff268ac
3 changed files with 29 additions and 12 deletions
|
@ -7,7 +7,8 @@ ul.sponsors-per-event-list{
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: space-evenly;
|
||||||
|
align-content: center;
|
||||||
|
|
||||||
a{
|
a{
|
||||||
img{
|
img{
|
||||||
|
@ -18,12 +19,20 @@ ul.sponsors-per-event-list{
|
||||||
&.level-big{
|
&.level-big{
|
||||||
flex-direction:column;
|
flex-direction:column;
|
||||||
a{
|
a{
|
||||||
width:100%;
|
min-height:100px;
|
||||||
|
max-width:100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.level-middle{
|
&.level-middle{
|
||||||
a{
|
a{
|
||||||
width:33%;
|
max-width:33%;
|
||||||
|
max-height:500px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.level-little{
|
||||||
|
flex-direction:column;
|
||||||
|
a::before{
|
||||||
|
content:"- ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,14 +4,14 @@ compet:
|
||||||
- title: Gros Sponsors
|
- title: Gros Sponsors
|
||||||
size: big
|
size: big
|
||||||
orgs:
|
orgs:
|
||||||
- name: Altair
|
|
||||||
ammount: 5000€
|
|
||||||
url: https://altair.com/
|
|
||||||
logo: https://www.nafems.org/images/logos/altair-2020.pagespeed.1588268967.png
|
|
||||||
- name: Crédit Agricole
|
- name: Crédit Agricole
|
||||||
url: https://www.credit-agricole.fr/
|
url: https://www.credit-agricole.fr/
|
||||||
logo: https://storage.googleapis.com/endurance-apps-liip/media/cache/credit-agricole-2021_no_filter_grid_fs/5a6609398d543f584e0c970e
|
logo: https://storage.googleapis.com/endurance-apps-liip/media/cache/credit-agricole-2021_no_filter_grid_fs/5a6609398d543f584e0c970e
|
||||||
ammount: 2500€ #5000€
|
ammount: 5000€
|
||||||
|
#- name: Altair
|
||||||
|
# ammount: 5000€
|
||||||
|
# url: https://altair.com/
|
||||||
|
# logo: https://www.nafems.org/images/logos/altair-2020.pagespeed.1588268967.png
|
||||||
- title: Sponsors
|
- title: Sponsors
|
||||||
size: middle
|
size: middle
|
||||||
orgs:
|
orgs:
|
||||||
|
@ -32,10 +32,16 @@ compet:
|
||||||
ammount: 1000€
|
ammount: 1000€
|
||||||
- title: Supporters
|
- title: Supporters
|
||||||
size: little
|
size: little
|
||||||
|
type: nameonly
|
||||||
orgs:
|
orgs:
|
||||||
- name: Boulangerie
|
- name: Boulangerie Vanille et Chocolat
|
||||||
logo: boulangerie.png
|
url: https://www.facebook.com/p/Vanille-ou-chocolat-Boulangerie-du-ch%C3%A2teau-Gaillon-100077801287091/
|
||||||
ammount: 100€
|
ammount: 100€
|
||||||
- name: Delbard
|
- name: Delbard
|
||||||
logo: delbard.png
|
logo: https://www.delbard.fr/wp-content/uploads/2019/02/logo-delbard2019.png
|
||||||
|
url: https://www.delbard.fr
|
||||||
ammount: 100€
|
ammount: 100€
|
||||||
|
- name: Le temps pour soi
|
||||||
|
url: https://www.facebook.com/LeTempsPourSoi
|
||||||
|
- name: La Marina
|
||||||
|
url: https://www.facebook.com/p/Restaurant-La-Marina-Gaillon-100057871380841/
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<div id="sponsors"></div>
|
<div id="sponsors"></div>
|
||||||
<h2>{{ .Site.Params.partner_per_compet }}</h2>
|
<h2>{{ .Site.Params.partner_per_compet }}</h2>
|
||||||
|
{{ $showammount:= false }}
|
||||||
<ul class=sponsors-per-event-list>
|
<ul class=sponsors-per-event-list>
|
||||||
<li class=event>
|
<li class=event>
|
||||||
{{ $pagelanguage := .Page.Lang }}
|
{{ $pagelanguage := .Page.Lang }}
|
||||||
|
@ -8,9 +9,10 @@
|
||||||
<div class=supporters>
|
<div class=supporters>
|
||||||
{{ range .levels }}
|
{{ range .levels }}
|
||||||
<h4 class=title>{{ if (and .titleen (eq $pagelanguage "en")) }}{{ .titleen }}{{ else }}{{ .title }}{{ end }}</h4>
|
<h4 class=title>{{ if (and .titleen (eq $pagelanguage "en")) }}{{ .titleen }}{{ else }}{{ .title }}{{ end }}</h4>
|
||||||
|
{{ $nameonly := (and (.type) (eq .type "nameonly")) }}
|
||||||
<div class="supporters-list level-{{ .size }}">
|
<div class="supporters-list level-{{ .size }}">
|
||||||
{{ range .orgs }}
|
{{ range .orgs }}
|
||||||
<a href="{{ .url | safeURL }}" title="{{ .name }}{{ if .ammount }} avec un montant de {{ .ammount }}{{ end }}"><img src="{{ .logo | safeURL }}"></a>
|
<a href="{{ .url | safeURL }}" title="{{ .name }}{{ if (and $showammount .ammount) }} avec un montant de {{ .ammount }}{{ end }}">{{ if (not $nameonly) }}<img src="{{ .logo | safeURL }}">{{ else }}{{ .name }} {{ end }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue