feat(web): basin bowl logo, drop landing welcome line
3 files changed, +2 −3
- static/style.css modified +1 −1
- templates/index.html modified +0 −1
- templates/layout.html modified +1 −1
static/style.css modified
| @@ -292,7 +292,7 @@ a.label{opacity:.75}a.label.on,a.label:hover{opacity:1;text-decoration:none} | ||
| 292 | 292 | .linkbutton{background:none;border:0;padding:0;font:inherit;color:var(--muted);cursor:pointer} |
| 293 | 293 | .linkbutton:hover{color:var(--del);text-decoration:underline} |
| 294 | 294 | 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} | |
| 296 | 296 | .landing{margin:0} |
| 297 | 297 | .landing>p{margin:.2rem 0 1rem} |
| 298 | 298 | .landing a.arrow{text-decoration:underline} |
templates/index.html modified
| @@ -10,7 +10,6 @@ | ||
| 10 | 10 | </div> |
| 11 | 11 | {{else}} |
| 12 | 12 | <div class="landing"> |
| 13 | -<p>Welcome to <a href="/">{{.Host}}</a>, a small forge for code worth reading.</p> | |
| 14 | 13 | <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> |
| 15 | 14 | <h3 class="featured">Featured projects</h3> |
| 16 | 15 | <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 @@ | ||
| 14 | 14 | <body{{if .Fluid}} class="fluid"{{end}}> |
| 15 | 15 | <header> |
| 16 | 16 | <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> | |
| 18 | 18 | <a href="/projects">projects</a> |
| 19 | 19 | <span class="spacer"></span> |
| 20 | 20 | {{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}} |