Files
probot.github.io/_layouts/app.html
Brandon Keepers 7f1e6b4a13 Add /apps/ listing
2017-08-20 10:11:33 -05:00

77 lines
3.0 KiB
HTML

---
layout: default
---
<div class="page-section">
<div class="container-lg px-3">
<div class="d-flex d-flex-row gutter-spacious">
<div class="flex-column col-9">
<h1 class="alt-h1 lh-condensed-ultra">{{ page.title }}</h1>
<div class="text-gray-light">{{ page.description }}</div>
</div>
<div class="flex-column col-3 text-center">
<a class="mt-1 mb-2 d-block btn btn-primary btn-large" href="https://github.com/apps/{{ page.slug }}/installations/new" data-proofer-ignore>
{% octicon plus class:"mr-2" %}
Add to GitHub
</a>
<div class="text-gray-light">
<div class="d-inline mr-3 tooltipped tooltipped-s" aria-label="{{ page.stars }} stars">{% octicon star heigh:16 class:"v-align-middle" %} <span class="">{{ page.stars }}</span></div>
</div>
</div>
</div>
</div>
</div>
<div class="bg-gray-dark text-white">
<div class="container-lg px-3 py-6">
<div class="d-flex flex-row d-flex-row gutter-spacious">
<div class="flex-coumn col-9">
<div class="">
<div class="sixteen-by-nine rounded-1 bg-white overflow-hidden">
{% for screenshot in page.screenshots %}
<input class="switcher-input" id="screenshot-{{ forloop.index }}" type="radio" name="switcher"{% if forloop.index == 1 %} checked{% endif %}>
<div class="switcher-item content d-flex flex-items-center flex-justify-center p-3">
<img src="{{ screenshot }}" style="max-width:100%; max-height:100%;" alt="Screenshot of {{ page.title }} app">
</div>
{% endfor %}
</div>
{% if page.screenshots.size > 1 %}
<div class="d-flex flex-items-center flex-justify-center mt-3">
{% for screenshot in page.screenshots %}
<label for="screenshot-{{ forloop.index }}" class="rounded-1 border border-gray-light mx-2" style="width:125px; height: 70px; background-image: url({{ screenshot }}); background-size: cover; background-position: center; cursor: pointer;">
</label>
{% endfor %}
</div>
{% endif %}
</div>
</div>
<div class="flex-column col-3">
<h4 class="mb-1 alt-h4 text-gray">Repository</h4>
<p>
<a class="text-inherit" href="https://github.com/{{ page.repository }}">{{ page.repository }}</a>
</p>
<h4 class="mb-1 alt-h4 text-gray">Author</h4>
<p>
<a class="text-inherit" href="https://github.com/{{ page.author }}">{{ page.author }}</a>
</p>
<h4 class="mb-1 alt-h4 text-gray">Updated</h4>
<p><span class="text-white">{{ page.updated | date: "%B %e, %Y"}}</p>
</div>
</div>
</div>
</div>
<div class="py-6">
<div class="container-lg px-3">
<div class="d-flex flex-row gutter-spacious">
<div class="flex-coumn col-9">
<div class="markdown-body">
{{ content }}
</div>
</div>
<div class="flex-column col-3">
</div>
</div>
</div>
</div>