-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·74 lines (69 loc) · 2.11 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
layout: default
---
{% assign shuffled_apps = site.apps | shuffle %}
<div class="container">
<header class="clearfix">
<h1><img src="{{ site.url }}/img/memair_logo.png" alt="memair logo" width="75"/> {{ site.name }}</h1>
</header>
<div id="grid-gallery" class="grid-gallery">
<section class="grid-wrap">
<ul class="grid">
<li class="grid-sizer"></li><!-- for Masonry column width -->
{% for app in shuffled_apps %}
<li>
<figure>
<center>
<div class="logo-thumb"><img src="{{ site.url }}/img/app_logos/{{ app.logo }}"></div>
<center>
<figcaption>
<h3>{{ app.title}}</h3>
<p>{{ app.subtitle }}</p>
</figcaption>
</figure>
</li>
{% endfor %}
</ul>
</section><!-- // grid-wrap -->
<section class="slideshow">
<ul>
{% for app in shuffled_apps %}
<li>
<figure>
<center>
<div class="logo"><img src="{{ site.url }}/img/app_logos/{{ app.logo }}"></div>
<center>
<figcaption>
<h3>{{ app.title}}</h3>
<p>{{ app.description }}</p>
{% if app.beta_install_link %}
<input type="button" class="install beta" onclick="location.href='{{ app.beta_install_link}}';" value="Install Beta" />
{% elsif app.install_link %}
<input type="button" class="install" onclick="location.href='{{ app.install_link}}';" value="Install" />
{% elsif app.visit_link %}
<input type="button" class="install" onclick="location.href='{{ app.visit_link}}';" value="Visit" />
{% else %}
<input type="button" class="install disabled" value="Coming soon..." />
{% endif %}
</figcaption>
</figure>
</li>
{% endfor %}
</ul>
<nav>
<span class="icon nav-prev"></span>
<span class="icon nav-next"></span>
<span class="icon nav-close"></span>
</nav>
<div class="info-keys icon">Navigate with arrow keys</div>
</section><!-- // slideshow -->
</div><!-- // grid-gallery -->
</div>
<!-- Wakes up apps that hibernate, basically I'm cheap and using heroku free instances for simple apps -->
{% for app in site.apps %}
{% if app.wake_up_link %}
<script>
fetch('https://cors.io/?{{ app.wake_up_link}}');
</script>
{% endif %}
{% endfor %}