Fixing a few visual bugs and translations.

This commit is contained in:
Adsooi 2021-08-02 20:06:46 +02:00
parent b64d1bdb6a
commit de13fe549a
No known key found for this signature in database
GPG key ID: 9C87C7D3A69E6BBE
5 changed files with 35 additions and 10 deletions

View file

@ -82,14 +82,14 @@
a img { a img {
width: Min(300px, calc(100% - 2em)); width: Min(300px, calc(100% - 2em));
box-shadow: 0px 0px 2px 0px #000000; box-shadow: 0px 0px 0px 0px #000000;
transition: box-shadow 0.15s ease-in-out, filter 0.15s ease-in-out; transition: box-shadow 0.15s ease-in-out, filter 0.15s ease-in-out;
border-radius: 1em; border-radius: 0.5em;
filter: brightness(100%); filter: brightness(100%);
&:hover { &:hover {
box-shadow: 0px 0px 8px 0px #000000; box-shadow: 0px 0px 8px 0px #000000;
filter: brightness(85%); filter: brightness(90%);
} }
} }
} }

View file

@ -58,6 +58,18 @@
}, },
"all": { "all": {
"other": "Without text" "other": "Without text"
},
"file": {
"other": "File:"
},
"websiteSource": {
"other": "Website source code"
},
"usingTheme": {
"other": "Using"
},
"poweredBy": {
"other": "Powered by"
} }
} }

View file

@ -58,6 +58,18 @@
}, },
"all": { "all": {
"other": "Sans texte" "other": "Sans texte"
},
"file": {
"other": "Fichier :"
},
"websiteSource": {
"other": "Code source du site"
},
"usingTheme": {
"other": "Utilise"
},
"poweredBy": {
"other": "Fonctionne avec"
} }
} }

View file

@ -116,21 +116,21 @@
<h3>{{ .Title }}</h3> <h3>{{ .Title }}</h3>
{{ if hasPrefix .Title "Flatpak" }} {{ if hasPrefix .Title "Flatpak" }}
<a href="{{ .URL }}" class="padding-container-1"> <a href="{{ .URL }}" class="padding-container-1">
<img src="/img/platforms/{{ $lang }}/flathub.svg"></img> <img src="/img/badges/{{ $lang }}/flathub.svg"></img>
</a> </a>
<br><br>{{ i18n "warnExternalWebsite" "flathub.org" }} <br><br>{{ i18n "warnExternalWebsite" "flathub.org" }}
{{ else if hasPrefix .Title "Snap" }} {{ else if hasPrefix .Title "Snap" }}
<a href="{{ .URL }}" class="padding-container-1"> <a href="{{ .URL }}" class="padding-container-1">
<img src="/img/platforms/{{ $lang }}/snapcraft.svg"></img> <img src="/img/badges/{{ $lang }}/snapcraft.svg"></img>
</a> </a>
<br><br>{{ i18n "warnExternalWebsite" "snapcraft.io" }} <br><br>{{ i18n "warnExternalWebsite" "snapcraft.io" }}
{{ else if hasPrefix .Title "Firefox" }} {{ else if hasPrefix .Title "Firefox" }}
<a href="{{ .URL }}" class="padding-container-1"> <a href="{{ .URL }}" class="padding-container-1">
<img src="/img/platforms/{{ $lang }}/amo.svg"></img> <img src="/img/badges/{{ $lang }}/amo.svg"></img>
</a> </a>
<br><br>{{ i18n "warnExternalWebsite" "addons.mozilla.org" }} <br><br>{{ i18n "warnExternalWebsite" "addons.mozilla.org" }}
{{ else }} {{ else }}
File: {{ replace .Name "<version>" $appdata.version }}<br> {{ i18n "file" }} {{ replace .Name "<version>" $appdata.version }}<br>
<a href="{{ replace .URL "<version>" $appdata.version }}" class="primary" role="button"> <a href="{{ replace .URL "<version>" $appdata.version }}" class="primary" role="button">
<i class="icon-download icon-as-text" alt=""></i>{{ i18n "download" }} <i class="icon-download icon-as-text" alt=""></i>{{ i18n "download" }}
</a> </a>

View file

@ -10,12 +10,13 @@
</div> </div>
<div class="text-center col3"> <div class="text-center col3">
<br> <br>
{{ .Site.Copyright }} {{ .Site.Copyright }}<br>
<a href="{{ .Site.Params.websiteSource }}">{{ i18n "websiteSource" }}</a><br>
</div> </div>
<div class="col3 text-right padding-container-1"> <div class="col3 text-right padding-container-1">
<br> <br>
{{ .Site.Params.usingTheme }} <a href="/omegamma">Omegamma</a><br> {{ i18n "usingTheme" }} <a href="https://git.ad5001.eu/Ad5001/omegamma">Omegamma</a><br>
{{ .Site.Params.poweredBy }} <a href="https://gohugo.io">Hugo</a> {{ i18n "poweredBy" }} <a href="https://gohugo.io">Hugo</a>
</div> </div>
</div> </div>
<br> <br>