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-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-content: space-evenly;
|
||||
align-content: center;
|
||||
|
||||
a{
|
||||
img{
|
||||
|
@ -18,12 +19,20 @@ ul.sponsors-per-event-list{
|
|||
&.level-big{
|
||||
flex-direction:column;
|
||||
a{
|
||||
width:100%;
|
||||
min-height:100px;
|
||||
max-width:100%;
|
||||
}
|
||||
}
|
||||
&.level-middle{
|
||||
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
|
||||
size: big
|
||||
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
|
||||
url: https://www.credit-agricole.fr/
|
||||
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
|
||||
size: middle
|
||||
orgs:
|
||||
|
@ -32,10 +32,16 @@ compet:
|
|||
ammount: 1000€
|
||||
- title: Supporters
|
||||
size: little
|
||||
type: nameonly
|
||||
orgs:
|
||||
- name: Boulangerie
|
||||
logo: boulangerie.png
|
||||
- name: Boulangerie Vanille et Chocolat
|
||||
url: https://www.facebook.com/p/Vanille-ou-chocolat-Boulangerie-du-ch%C3%A2teau-Gaillon-100077801287091/
|
||||
ammount: 100€
|
||||
- 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€
|
||||
- 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>
|
||||
<h2>{{ .Site.Params.partner_per_compet }}</h2>
|
||||
{{ $showammount:= false }}
|
||||
<ul class=sponsors-per-event-list>
|
||||
<li class=event>
|
||||
{{ $pagelanguage := .Page.Lang }}
|
||||
|
@ -8,9 +9,10 @@
|
|||
<div class=supporters>
|
||||
{{ range .levels }}
|
||||
<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 }}">
|
||||
{{ 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 }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue