zed/server/templates/releases.hbs

34 lines
1.4 KiB
Handlebars
Raw Normal View History

2021-09-15 19:57:25 +03:00
{{#> layout }}
<div class="max-w-screen-lg p-10 mx-auto font-extralight text-main lg:p-20">
2021-09-17 21:59:02 +03:00
{{#if current_user}}
2021-09-21 01:23:01 +03:00
<h1 class="mb-10 font-display font-extralight">Releases</h1>
<p class="mt-5 leading-relaxed">Zed is currently only available on OS X.</p>
<p class="mt-5 leading-relaxed">We are frequently shipping new versions, check back regularly to get the most recent version.</p>
{{#if releases}}
2021-09-17 21:59:02 +03:00
<ul class="mt-10 leading-relaxed">
2021-09-15 19:57:25 +03:00
{{#each releases}}
2021-09-17 21:59:02 +03:00
<li id="release-{{name}}" class="mb-5">
<a class="text-lg leading-relaxed underline hover:text-gray-300" href="/releases/{{tag_name}}/{{assets.0.name}}">Zed {{name}}</a></h2>
2021-09-21 01:23:01 +03:00
<p class="mt-2 text-gray-400">
2021-09-17 22:06:38 +03:00
<a class="hover:text-white" href="https://github.com/zed-industries/zed/releases/tag/{{tag_name}}">Release Notes</a>
2021-09-17 21:59:02 +03:00
</p>
</li>
2021-09-15 19:57:25 +03:00
{{/each}}
2021-09-17 21:59:02 +03:00
</ul>
2021-09-15 19:57:25 +03:00
2021-09-17 21:59:02 +03:00
{{/if}}
{{else}}
2021-09-15 19:57:25 +03:00
2021-09-21 01:23:01 +03:00
<h1 class="mb-10 font-display font-extralight">Hold it!</h1>
<p class="mt-5 leading-relaxed">You can't access this without <a href=" /sign_in" class="mt-5 leading-relaxed underline hover:text-white">logging in</a>.</p>
<p class="mt-5 leading-relaxed">Try <a href="/community" class="mt-5 leading-relaxed underline hover:text-white">joining our community</a> to get access to updates & releases.</p>
2021-09-17 21:59:02 +03:00
{{/if}}
2021-09-15 19:57:25 +03:00
</div>
{{/layout}}