-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·40 lines (37 loc) · 1.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
layout: page
---
<section class="flex flex-col sm:flex-row mt-12 mb-12 justify-center items-center max-w-screen-lg m-auto">
<img class="h-auto filter drop-shadow-xl w-1/6" style="border-radius: 22.5%;"
src="{{ site.app_icon | relative_url }}" alt="app icon" />
<div class="m-4 text-center sm:text-left">
<h1 class="text-4xl font-bold">{{ site.app_name }}</h1>
<p class="text-xl font-semibold mb-4 mt-4">{{ site.app_subtitle }}</p>
<div class="flex justify-center space-x-2 max-w-full">
<a href="{{ site.app_download }}" target="_blank" rel="noopener noreferrer">
<img class="h-14" src="assets/apple-badge.png" alt="download" />
</a>
{% if site.app_github %}
<a href="{{ site.app_github }}" target="_blank" rel="noopener noreferrer">
<img class="h-14" src="assets/github-badge.png" alt="open on github" />
</a>
{% endif %}
</div>
</div>
</section>
<section class="max-w-screen-lg m-auto">
<h2 class="ml-6 text-2xl font-bold">Screenshots</h2>
<div class="flex gap-x-7 overflow-x-scroll">
{% assign screenshots = site.static_files | where: "screenshot", true %}
{% for img in screenshots %}
<img class="{% if forloop.first %}ml-7{% endif %} {% if forloop.last %}mr-7{% endif %} w-80 h-auto transform transition duration-300 hover:scale-110 my-7"
src="{{ img.path | relative_url }}" alt="{{ img.name }}">
{% endfor %}
</div>
</section>
{% if site.app_description %}
<section class="max-w-screen-lg m-auto px-6 markdown">
<h2 class="text-2xl font-bold mb-3">Description</h2>
{{ site.app_description | markdownify }}
</section>
{% endif %}