Build and push chill website image / build (push) Successful in 55s
Remove the download button and rename "Ouvrir" to "Voir" (View / Bekijken) on the release notes page. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
51 lines
2.5 KiB
HTML
51 lines
2.5 KiB
HTML
{{ define "main" }}
|
|
<style>
|
|
.rl-hero { padding: 9rem 1rem 5rem; text-align: center; background: linear-gradient(180deg, #0d242e 0%, #23627e 100%); color: #fff; }
|
|
.rl-hero p { color: #c9dde6; }
|
|
.rl-list { max-width: 64rem; margin: 0 auto; }
|
|
.rl-entry { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 3rem 0; border-top: 1px solid #e3e8ea; }
|
|
.rl-entry:first-child { border-top: 0; }
|
|
@media (min-width: 768px) { .rl-entry { grid-template-columns: 12rem 1fr; gap: 3rem; } }
|
|
.rl-version { font-size: 1.5rem; font-weight: 700; color: #0d242e; }
|
|
.rl-date { font-size: .875rem; color: #6b7a80; text-transform: capitalize; }
|
|
.rl-title { font-size: 1.875rem; font-weight: 700; color: #0d242e; margin: 0 0 1rem; }
|
|
.rl-highlights { list-style: none; padding: 0; margin: 0 0 1.75rem; }
|
|
.rl-highlights li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; color: #374151; }
|
|
.rl-highlights li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 9999px; background: #f46839; }
|
|
</style>
|
|
|
|
<section class="rl-hero">
|
|
<div class="container mx-auto px-4 text-center">
|
|
<h1 style="font-size:3rem;line-height:1.1;font-weight:700;margin-bottom:1.5rem">{{ .Params.title }}</h1>
|
|
<p class="text-xl max-w-2xl mx-auto mb-8">{{ .Params.description }}</p>
|
|
{{ with .Params.gitlabButton }}
|
|
<a href="{{ .url }}" target="_blank" rel="noopener" class="btn btn-primary">{{ .text }}</a>
|
|
{{ end }}
|
|
</div>
|
|
</section>
|
|
|
|
<section class="container mx-auto px-4" style="padding-top:2rem;padding-bottom:4rem">
|
|
<div class="rl-list">
|
|
{{ $lang := site.Language.Lang }}
|
|
{{ range site.Data.releases }}
|
|
<article class="rl-entry">
|
|
<div>
|
|
<div class="rl-version">{{ .version }}</div>
|
|
{{ with .date }}<div class="rl-date">{{ time.AsTime . | time.Format "January 2006" }}</div>{{ end }}
|
|
</div>
|
|
<div>
|
|
<h2 class="rl-title">{{ $.Params.versionLabel }} {{ .version }}</h2>
|
|
{{ with index .highlights $lang }}
|
|
<ul class="rl-highlights">
|
|
{{ range . }}<li>{{ . }}</li>{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
<a href="{{ .pdf | relURL }}" target="_blank" rel="noopener" class="btn btn-primary">{{ $.Params.openLabel }}</a>
|
|
</div>
|
|
</article>
|
|
{{ end }}
|
|
</div>
|
|
{{ .Content }}
|
|
</section>
|
|
{{ end }}
|