The wordmark next to the logo is set in the sans face, semibold and at body size instead of small monospace. Page titles, status page footers, the web manifest, the API document, PDF exports, test emails and the README use the name UptimeSebi; technical identifiers stay lowercase. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
27 lines
1.1 KiB
Templ
27 lines
1.1 KiB
Templ
package web
|
|
|
|
// brandMark is the logo: a pulse that ends in the status dot. The line takes
|
|
// the text color, so it works on light and dark backgrounds.
|
|
templ brandMark(size string) {
|
|
<svg viewBox="0 0 48 48" class={ size, "shrink-0" } aria-hidden="true">
|
|
<path d="M3 26h9l4-12 6 23 5-16 3 5h6" fill="none" stroke="currentColor" stroke-width="5" stroke-linejoin="round" stroke-linecap="square"></path>
|
|
<circle cx="42" cy="26" r="5.5" fill="#2f7d4f"></circle>
|
|
</svg>
|
|
}
|
|
|
|
// brandLockup is the logo with the wordmark, linking home.
|
|
templ brandLockup(href string) {
|
|
<a href={ templ.SafeURL(href) } class="flex items-center gap-2 text-base font-semibold tracking-tight">
|
|
@brandMark("h-6 w-6")
|
|
<span>UptimeSebi</span>
|
|
</a>
|
|
}
|
|
|
|
// faviconLinks belong in every page's head.
|
|
templ faviconLinks() {
|
|
<link rel="icon" href="/static/brand/favicon.svg" type="image/svg+xml"/>
|
|
<link rel="icon" href="/static/brand/favicon-32.png" sizes="32x32" type="image/png"/>
|
|
<link rel="apple-touch-icon" href="/static/brand/apple-touch-icon.png"/>
|
|
<link rel="manifest" href="/static/brand/site.webmanifest"/>
|
|
}
|