internal/web/templates/landing.html

568741bf3226b21a023ff5dcd22b00fa0047350c
gitbay/internal/web/templates/landing.html

18 lines · 1381 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? mint a browser session 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}}
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form