Layouts reorganisation, moving images, new layout for single app!
This commit is contained in:
parent
9c4d84b35b
commit
ff89fb94a2
21 changed files with 222 additions and 22 deletions
layouts
31
layouts/apps-list.html
Normal file
31
layouts/apps-list.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
{{ define "main" }}
|
||||
{{ partial "section1.html" (dict "Image" "/img/app0.png" "Content" .Content) }}
|
||||
<div id="appslist" class="grid center">
|
||||
{{ $site := .Site }}
|
||||
{{ range .Site.Data.list }}
|
||||
{{ $index := . }}
|
||||
{{ $data := index $site.Data $site.Language.Lang }}
|
||||
{{ with index $data.apps $index }}
|
||||
<div class="padding-container">
|
||||
<div class="block-preview" style="background-image: url(/img/preview/{{ $index }}.png);">
|
||||
<div class="label">
|
||||
<h2 class="flex"> <img src="/icons/apps/{{ $index }}.png" class="icon-larger-text" alt=""/> {{ .name }}</h2>
|
||||
<p class="show-on-hover">{{ .description }}</p>
|
||||
<p class="show-on-hover">{{ i18n "status" }} {{ .status }}</p>
|
||||
<p class="flex show-on-hover">{{ i18n "worksOn" }}
|
||||
{{ range .platforms }}<img src="/icons/platform/{{ . }}.svg" alt="{{ . }}" title="{{ . }}" class="icon-larger-text" />{{ end }}
|
||||
</p>
|
||||
<p class="flex show-on-hover">{{ i18n "translated" }}
|
||||
{{ range .translated }}<img src="/icons/flag/{{ . }}.svg" alt="{{ i18n . }}" title="{{ i18n . }}" class="icon-larger-text" />{{ end }}
|
||||
</p>
|
||||
<div class="show-on-hover">
|
||||
<a href="{{ $index }}" role="button" class="primary"><img src="/icons/lookup.svg" class="icon-as-text" alt=""/>{{ i18n "learnMore" }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue