Adds a very bad and minimal representation of icons
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Benjamin Bach 2023-01-21 23:42:43 +01:00
parent c21dcbd199
commit 0f778e4c0c
Signed by: benjaoming
GPG key ID: 7D49441634585664
2 changed files with 11 additions and 11 deletions

View file

@ -204,6 +204,10 @@ aside > footer img:hover {
opacity : 1;
}
.badge-icon {
width: 30px;
height: auto;
}
dl.dl-services {
display : grid;

View file

@ -1,26 +1,22 @@
<h2>{{ i18n "badges_headline" }}</h2>
<dl class="dl-badges">
{{ range $badge_key, $badge := $.Site.Data.badges.da.badges.badges }}
<dt>{{ title .name }}</dt>
<h3>
{{ title .name }}
<img src="{{ "/static/img" | absURL }}/badges/{{ .icon }}" class="badge-icon">
</h3>
<dd>{{ markdownify .description }}</dd>
{{ markdownify .description }}
{{ end }}
</dl>
<h2>{{ i18n "status_headline" }}</h2>
<dl class="dl-status">
{{ range $.Site.Data.badges.da.status.status }}
<dt>{{ title .name }}</dt>
<h3>{{ title .name }}</h3>
<dd>{{ markdownify .description }}</dd>
{{ markdownify .description }}
{{ end }}
</dl>