internal/web/templates/landing.html

32a5f76e5b270097b63a5bba9a43557cf50ad63d
gitbay/internal/web/templates/landing.html history · blame · raw

23 lines · 1819 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
 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"><video autoplay muted loop playsinline controls width="1248" height="688" aria-describedby="demo-caption">
11  <source src="/static/img/demo.webm" type="video/webm">
12  <source src="/static/img/demo.mp4" type="video/mp4">
13</video>
14<figcaption id="demo-caption">Signup to release on gitbay.org from a terminal: register an SSH key, verify the mailed code, create a repository and push, file an issue, open and merge a request that closes it, then tag and publish a release.</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}}