internal/web/templates/landing.html

419f6dfdc5489a0c6374e36dd1ebbfca68040056
gitbay/internal/web/templates/landing.html history · blame · raw

23 lines · 1953 bytes

 1{{define "title"}}{{.Site}}{{end}}
 2{{define "width"}}bounded{{end}}
 3{{define "content"}}
 4<div class="landing">
 5<h1>{{template "mark"}}{{.Site}}</h1>
 6<p class="lede">A git forge you drive from the terminal. Repositories, issues, merge requests and CI over SSH, with a fast, readable web view of the same state.</p>
 7<pre class="quickstart" tabindex="0">ssh git@{{.Host}} help                        # every command, no client to install
 8git clone ssh://git@{{.Host}}/owner/repo.git</pre>
 9<div class="routes"><a class="button primary" href="/explore">Explore repositories</a>{{if .Signup}}<a class="button btn" href="/register">Create an account</a>{{end}}</div>
10<figure class="shot"><picture>
11  <source srcset="/static/img/mr-dark.png" media="(prefers-color-scheme: dark)">
12  <img src="/static/img/mr-light.png" width="1280" height="900" alt="A merged merge request: the description on the left, and on the right two CI checks reporting success with how long each ran, an approval, and the source and target branches.">
13</picture>
14<figcaption>A merged merge request on this instance. The description is on the left; the column beside it carries the CI checks, the approval that let it merge, and the branches it went between.</figcaption>
15</figure>
16<div class="facets">
17  <section><h2>Read</h2><p>Browse and clone any public repository over HTTPS or <code>git://</code>, no account. Every commit shows whether its signature verified.</p></section>
18  <section><h2>Write</h2><p>Push over SSH with the key you already have. Create a repository, file an issue, open and merge a request, all as commands.</p></section>
19  <section><h2>Review</h2><p>Read a diff, comment on a line, approve, merge, in the browser or the terminal.</p></section>
20</div>
21{{if .Accounts}}<p class="meta">Have an account? {{if .EmailLogin}}<a href="/login">Sign in with an emailed link</a>, or run{{else}}Run{{end}} <code>ssh git@{{.Host}} web login</code>.</p>{{end}}
22</div>
23{{end}}