internal/web/templates/landing.html
18 lines · 1365 bytes
1{{define "title"}}{{.Site}}{{end}}
2{{define "content"}}
3<div class="landing">
4<h1>{{.Site}}</h1>
5<p class="lede">A CLI-first git forge. SSH is the API: repositories, issues, and
6merge requests are managed from your terminal with nothing but OpenSSH —
7the web is a fast, readable rendering of that state.</p>
8<pre class="quickstart">ssh git@{{.Host}} help # every command, no client needed
9git clone ssh://git@{{.Host}}/owner/repo.git</pre>
10<div class="facets">
11 <section><h2>Read</h2><p>Browse and clone any public repository, over HTTPS or <code>git://</code>, with no account. Every commit shows whether its signature was verified.</p></section>
12 <section><h2>Write</h2><p>Push over SSH with the key you already have. <code>ssh git@{{.Host}} repo create you/project</code> is the whole onboarding; issues, merge requests and reviews are commands too.</p></section>
13 <section><h2>Review</h2><p>The web is a rendering of the same state: read a diff, comment on a line, approve, merge. Everything it can do, the terminal can do first.</p></section>
14</div>
15<p><a class="explorelink" href="/explore">explore public repositories →</a></p>
16{{if .Accounts}}<p class="meta">have an account? log in from your terminal: <code>gitbay web login</code>{{if .Signup}} · new here? <a href="/register">create an account</a>{{end}}</p>{{end}}
17</div>
18{{end}}