<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>
10
15
<p><aclass="explorelink"href="/explore">explore public repositories →</a></p>
11
16
{{if .Accounts}}<pclass="meta">have an account? mint a browser session from your terminal: <code>gitbay web login</code>{{if .Signup}} · new here? <ahref="/register">create an account</a>{{end}}</p>{{end}}
12
17
</div>
internal/web/templates/layout.html+4−1
@@ -61,13 +61,16 @@
61
61
<spanclass="grow"></span>
62
62
{{if $.Viewer}}<formmethod="post"action="/{{.OwnerName}}/{{.Name}}/pin"class="inline"><buttontype="submit"class="btn"aria-pressed="{{if field $ "Pinned"}}true{{else}}false{{end}}"><spanaria-hidden="true">{{if field $ "Pinned"}}★{{else}}☆{{end}}</span> {{if field $ "Pinned"}}Pinned{{else}}Pin{{end}}</button></form>{{end}}
63
63
</div>
64
{{$top := topTab (str $ "Tab")}}
65
{{/* The header is the same on every tab: it sits above the tab bar,
66
and anything shown on one tab and not another would move the
67
navigation between clicks of that navigation. */}}
64
68
{{with field $ "Desc"}}<pclass="repodesc">{{.}}</p>{{end}}
65
69
{{with field $ "Topics"}}<pclass="topics">{{range .}}<aclass="chip topic"href="/explore?q={{.}}">{{.}}</a> {{end}}</p>{{end}}