zed/server/templates/updates.hbs

32 lines
1,006 B
Handlebars
Raw Normal View History

{{#> layout }}
2021-09-20 22:23:01 +00:00
<div class="max-w-screen-lg p-10 mx-auto font-thin text-main lg:p-20">
2021-09-17 18:59:02 +00:00
{{#if current_user}}
{{#if releases}}
2021-09-17 18:59:02 +00:00
2021-09-16 21:12:24 +00:00
{{#each releases}}
2021-09-20 14:34:18 +00:00
<article id="{{name}}" class="mb-20">
2021-09-20 22:23:01 +00:00
<h1 class="mb-2 font-display font-extralight">{{name}}</h1>
2021-09-22 15:38:14 +00:00
<a class="text-sm underline opacity-60 hover:no-underline" href="/releases/{{tag_name}}/{{assets.0.name}}">Download</a>
2021-09-20 14:34:18 +00:00
<div class="mt-10 type-prose">
2021-09-16 21:12:24 +00:00
{{{body}}}
</div>
<div class="mt-5">
2021-09-22 17:04:14 +00:00
<p>&mdash;&mdash;&mdash;</p>
</div>
2021-09-16 21:12:24 +00:00
</article>
{{/each}}
2021-09-17 18:59:02 +00:00
{{/if}}
2021-09-17 18:59:02 +00:00
{{else}}
2021-09-20 22:23:01 +00:00
<h1 class="mb-10 font-display font-extralight">Hold it!</h1>
<p class="mt-5 leading-7">You can't access this without <a href=" /sign_in" class="mt-5 leading-7 underline">logging in</a>.</p>
<p class="mt-5 leading-7">Try <a href="/community" class="mt-5 leading-7 underline">joining our community</a> to get access to updates & releases.</p>
{{/if}}
</div>
{{/layout}}