website/layouts/tarifs/section.html

57 lines
2 KiB
HTML
Raw Permalink Normal View History

2022-12-10 10:37:36 +00:00
{{ define "main" }}
<main class="large-container">
{{ .Content }}
<div class="pricing-layout">
<div>
2023-10-23 17:56:35 +00:00
<div class="moves">
<h2>Forfait déplacement</h2>
<ul>
{{ range $.Site.Data.pricing.move }}
<li class="move-item">
De {{ .min }} à {{ .max }} km : <span class="move-price">{{ if eq .price 0 }}Gratuit{{ else }}{{ .price }} €{{ end }}</span>
</li>
{{ end }}
</ul>
2022-12-10 10:37:36 +00:00
</div>
2023-10-23 17:56:35 +00:00
<div class="forfaits">
{{ range $.Site.Data.pricing.forfait }}
<div class="forfait">
<h2>{{ .name }}</h2>
<div class="forfait-price">{{ .price }} €</div>
<ul>
2022-12-10 10:37:36 +00:00
{{ range .components }}
2023-10-23 17:56:35 +00:00
<li>{{ .name }}</li>
2022-12-10 10:37:36 +00:00
{{ end }}
2023-10-23 17:56:35 +00:00
</ul>
</div>
{{ end }}
2022-12-10 10:37:36 +00:00
</div>
</div>
2023-10-23 17:56:35 +00:00
<div class="operations-container">
<h2>Liste des opérations</h2>
<div class="operations-mosaic">
{{ range $.Site.Data.pricing.standalone }}
<div class="operations-category">
<h3>{{ .name }}</h3>
<table cellspacing="0" cellpadding="0" class="operations-table">
<tr>
<th>Opération</th>
<th class="operation-price">Prix</th>
</tr>
{{ range .components }}
<tr>
<td>{{ .name }}</td>
<td class="operation-price">{{ .price }} €</td>
</tr>
{{ end }}
</table>
</div>
{{ end }}
</div>
2022-12-10 10:37:36 +00:00
</div>
</div>
</main>
{{ end }}