~gitpocket/gitpocket

1

feat(web): basin bowl logo, drop landing welcome line

commit
83ec1708fcc9d3815e15687069b51d4d369c3061 browse tree
parent
b8a47d8aa84e4a4c975601441fb5e2337127b98f
author
obscurejames <354576047+obscurejames@users.noreply.github.com>
signature
Signed by: ~james SHA256:KlzJ0P0gvJcnOYpaxD5yCUw52ImHttTKRjVAEnnYnKg
date
2026-10-04 14:10 UTC

3 files changed, +2 −3

static/style.css modified

@@ -292,7 +292,7 @@ a.label{opacity:.75}a.label.on,a.label:hover{opacity:1;text-decoration:none}
292292 .linkbutton{background:none;border:0;padding:0;font:inherit;color:var(--muted);cursor:pointer}
293293 .linkbutton:hover{color:var(--del);text-decoration:underline}
294294 nav.site .brand{display:inline-flex;align-items:center;gap:.4rem}
295-.ring{display:inline-block;width:1.05rem;height:1.05rem;border:2px solid var(--fg);border-radius:50%}
295+.logo{width:1.45rem;height:1.45rem;fill:var(--primary)}.logo .wave{fill:none;stroke:var(--primary);stroke-width:2;stroke-linecap:round}
296296 .landing{margin:0}
297297 .landing>p{margin:.2rem 0 1rem}
298298 .landing a.arrow{text-decoration:underline}

templates/index.html modified

@@ -10,7 +10,6 @@
1010 </div>
1111 {{else}}
1212 <div class="landing">
13-<p>Welcome to <a href="/">{{.Host}}</a>, a small forge for code worth reading.</p>
1413 <p><a class="btn primary" href="/register">Register here ▸</a> or <a class="arrow" href="/login">Log in ▸</a> to get started, or check out some of our featured projects:</p>
1514 <h3 class="featured">Featured projects</h3>
1615 <div class="featuredgrid">{{range .Data.Featured}}<div class="feature"><h4><a class="owner" href="/~{{.Owner.Name}}">~{{.Owner.Name}}</a>/<a href="/{{.Path}}">{{.Name}}</a></h4>{{if .Description}}<blockquote>{{.Description}}</blockquote>{{end}}{{if .Tags}}<p class="tags">{{range .Tags}}<a href="/projects?tag={{.}}">#{{.}}</a>{{end}}</p>{{end}}</div>{{end}}</div>

templates/layout.html modified

@@ -14,7 +14,7 @@
1414 <body{{if .Fluid}} class="fluid"{{end}}>
1515 <header>
1616 <nav class="site">
17-<a class="brand" href="/"><span class="ring"></span>{{.Host}}</a>
17+<a class="brand" href="/"><svg class="logo" viewBox="0 0 24 24" aria-hidden="true"><path class="wave" d="M3 6.5c1.5-1.6 3-1.6 4.5 0s3 1.6 4.5 0 3-1.6 4.5 0 3 1.6 4.5 0"/><path d="M2.5 10.5h19a9.5 9.5 0 0 1-19 0z"/></svg>{{.Host}}</a>
1818 <a href="/projects">projects</a>
1919 <span class="spacer"></span>
2020 {{if .User}}<span>Logged in as <a href="/~{{.User.Name}}">~{{.User.Name}}</a> — <form method="post" action="/logout"><button>Log out</button></form></span>{{else}}<span class="auth"><a href="/login">Log in</a> — <a href="/register">Register</a></span>{{end}}