Layouts reorganisation, moving images, new layout for single app!
@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{ partial "section-app-header.html" (dict "Data" .Params.SectionHeader "Site" .Site) }}
|
||||
<br>
|
||||
<!-- About section -->
|
||||
<section class="center content-center padding-container">
|
||||
<h1>{{ .Params.About.Title }}</h1>
|
||||
<p>{{ .Params.About.Content | markdownify }}</p>
|
||||
</section>
|
||||
<!--<img class="center" src="{{ .Params.About.Screenshot | safeHTMLAttr }}"/>-->
|
||||
<!-- other sections -->
|
||||
{{ range .Params.Sections }}
|
||||
<section class="center content-center columns-container padding-container">
|
||||
{{ if eq .Type "text|image" }}
|
||||
<div class="column col2 text-right vertical-center">
|
||||
{{ .Content | markdownify }}
|
||||
</div>
|
||||
<div class="column col2">
|
||||
<img class="vertical-center fill-width" src="/img/{{ .Image }}.png"/>
|
||||
</div>
|
||||
{{ else if eq .Type "image|text" }}
|
||||
<div class="column col2">
|
||||
<img class="vertical-center fill-width" src="/img/{{ .Image }}.png"/>
|
||||
</div>
|
||||
<div class="column col2 text-left vertical-center">
|
||||
{{ .Content | markdownify }}
|
||||
</div>
|
||||
{{ else if eq .Type "text-image" }}
|
||||
<div class="column text-center">
|
||||
{{ .Content | markdownify }}
|
||||
<img src="/img/{{ .Image }}"/>
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
<br>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
@ -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 }}
|
||||
|
@ -1,4 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<div style="background: #A08888">
|
||||
<h1>Test</h1>
|
||||
{{ end }}
|
@ -0,0 +1,27 @@
|
||||
<!-- heading sections for apps -->
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{ $appdata := index $data.apps .Data.AppIndex }}
|
||||
{{ with .Data }}
|
||||
<section style="background: {{ .Background | safeCSS }};" class="section-header">
|
||||
<div class="columns-container">
|
||||
<div class="column col3 text-right vertical-center {{ if .TextWhite }}text-white{{ end }}">
|
||||
<br>
|
||||
<h1 class="flex flex-right"> <img src="/icons/apps/{{ .AppIndex | safeHTML }}.png" class="icon-larger-text" alt=""/>{{ $appdata.name | safeHTML }}</h1>
|
||||
<h2>{{ $appdata.description | safeHTML }}</h2>
|
||||
{{ if .ShowPlatforms }}
|
||||
<p class="flex flex-right">{{ i18n "availableOn" }}
|
||||
{{ range $appdata.platforms }}<img src="/icons/platform/{{ . }}.svg" alt="{{ . }}" title="{{ . }}" class="icon-larger-text icon-monochrome" />{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
<br>
|
||||
</div>
|
||||
<div class="column col2-3 flex">
|
||||
<img class="vertical-center-img" src="/img/full/{{ .AppIndex }}.png"/>
|
||||
</div>
|
||||
</div>
|
||||
<div style="background: {{ .BottomBackground | safeCSS }}; height: {{ .BottomHeight | safeCSS }}; width: 100%; margin-top: -{{ .BottomHeight | safeCSS }};">
|
||||
<div style="float: left">{{ .BottomLeft | safeHTML }}</div>
|
||||
<div style="float: right">{{ .BottomRight | safeHTML }}</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 3.4 KiB |
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm8.003 8.657c-1.276-3.321-4.46-4.605-5.534-4.537 3.529 1.376 4.373 6.059 4.06 7.441-.307-1.621-1.286-3.017-1.872-3.385 3.417 8.005-4.835 10.465-7.353 7.687.649.168 1.931.085 2.891-.557.898-.602.983-.638 1.56-.683.686-.053-.041-1.406-1.539-1.177-.616.094-1.632.819-2.88.341-1.508-.576-1.46-2.634.096-2.015.337-.437.088-1.263.088-1.263.452-.414 1.022-.706 1.37-.911.228-.135.829-.507.795-1.23-.123-.096-.32-.219-.766-.193-1.736.11-1.852-.518-1.967-.808.078-.668.524-1.534 1.361-1.931-1.257-.193-2.28.397-2.789 1.154-.809-.174-1.305-.183-2.118-.031-.316-.24-.666-.67-.878-1.181 1.832-2.066 4.499-3.378 7.472-3.378 5.912 0 8.263 4.283 8.003 6.657z"/></svg>
|
After Width: | Height: | Size: 819 B |
Before Width: | Height: | Size: 112 KiB |
Before Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 66 KiB |