Moving badges to theme, fixing bug with links not being clickable, adding disclaimer to apps for distribution icons.

This commit is contained in:
Adsooi 2021-08-03 14:59:16 +02:00
parent 1171b352c5
commit 29770627da
No known key found for this signature in database
GPG key ID: 9C87C7D3A69E6BBE
40 changed files with 3375 additions and 43 deletions

View file

@ -0,0 +1 @@
{{ partial "badge.html" (dict "Icon" (.Get 0) "Lang" (.Get 1) "Alt" (.Get 2) ) }}

View file

@ -0,0 +1,19 @@
<div class="columns-container fill-width">
<div class="col2 column text-center">
<h3>{{ i18n "en" }}</h3>
{{ partial "badge.html" (dict "Icon" (.Get 0) "Lang" "en" "Alt" (.Get 1) ) }}
<br>
<div class="center fit-content">
<div class="code">&lt;img source="https://ad5001.eu/img/badges/en/{{ .Get 0 }}.svg" class="badge"/&gt;</div>
</div>
</div>
<div class="col2 column text-center">
<h3>{{ i18n "fr" }}</h3>
{{ partial "badge.html" (dict "Icon" (.Get 0) "Lang" "fr" "Alt" (.Get 1) ) }}
<br>
<div class="center fit-content">
<div class="code">&lt;img source="https://ad5001.eu/img/badges/fr/{{ .Get 0 }}.svg" class="badge"/&gt;</div>
</div>
</div>
</div>

View file

@ -0,0 +1 @@
{{ partial "section1.html" (dict "Image" (.Get 0) "Content" (.Inner | markdownify) ) }}

View file

@ -0,0 +1,4 @@
<section class="section-skewed padding-container-3" style="background: {{ .Get 1 | safeCSS }}; background: linear-gradient(170deg, {{ .Get 1 | safeCSS }} 0%, {{ .Get 0 | safeCSS }} 49%, {{ .Get 1 | safeCSS }} 100%);">
{{ .Inner | markdownify }}
</section>