prime8dev

prime8dev
git clone https://git.prime8.dev/prime8dev.git
Log | Files | Refs | README | LICENSE

commit eec79bff26625000344e2694d33de10044179361
parent f88318e4e4bb416b372396968ed8bf94987c84d0
Author: Damian Myrda <damian@prime8.dev>
Date:   Thu, 12 Nov 2026 00:24:12 +0000

logo: hamster everywhere (animated about portrait + favicon, still frame for terminal logo)

Diffstat:
Minternal/utils/logo.go | 6+++---
Minternal/web/templates/layout.gohtml | 2+-
Minternal/web/templates/partials/about.gohtml | 2+-
Astatic/favicon.gif | 0
Mstatic/favicon.png | 0
Astatic/hamster.gif | 0
Astatic/hamster.png | 0
7 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/internal/utils/logo.go b/internal/utils/logo.go @@ -13,12 +13,12 @@ import ( var logoMu sync.Mutex -const logoPath = "static/me.jpg" +const logoPath = "static/hamster.png" // logoCrop frames the face: fractions of the source image (x0, y0, x1, y1). -var logoCrop = [4]float64{0.12, 0.08, 0.88, 0.84} +var logoCrop = [4]float64{0.1, 0.25, 0.9, 1.0} -// LogoASCII renders static/me.jpg for terminals. Colored output uses +// LogoASCII renders static/hamster.png for terminals. Colored output uses // half-block cells (upper half = foreground, lower half = background), so each // cell carries two truecolor pixels and the portrait reads as a photo. Plain // output falls back to ascii art. diff --git a/internal/web/templates/layout.gohtml b/internal/web/templates/layout.gohtml @@ -30,7 +30,7 @@ <meta name="author" content="{{.About.Name}}"> <meta name="robots" content="index, follow"> <meta name="theme-color" content="#0d0d0d"> - <link rel="icon" type="image/png" href="/static/favicon.png"> + <link rel="icon" type="image/gif" href="/static/favicon.gif"> <link rel="apple-touch-icon" href="/static/favicon.png"> <link rel="manifest" href="/static/site.webmanifest"> <script defer src="https://metrics.prime8.dev/script.js" data-website-id="d3032378-7959-4411-92ec-f67e20399fe4"></script> diff --git a/internal/web/templates/partials/about.gohtml b/internal/web/templates/partials/about.gohtml @@ -3,7 +3,7 @@ <div class="about-layout"> <div class="section"> <div class="fetch"> - <img class="fetch-logo" src="/static/me-sm.jpg" width="480" height="480" decoding="async" alt="{{.About.Name}} - {{.About.Profession}}" loading="eager"> + <img class="fetch-logo" src="/static/hamster.gif" width="240" height="240" decoding="async" alt="{{.About.Name}} - {{.About.Profession}}" loading="eager"> <div class="fetch-info"> <div class="fetch-title"><span class="shell-user">{{.About.Handle}}</span>@<span class="shell-host">prime8</span></div> <div class="fetch-rule" aria-hidden="true">----------------</div> diff --git a/static/favicon.gif b/static/favicon.gif Binary files differ. diff --git a/static/favicon.png b/static/favicon.png Binary files differ. diff --git a/static/hamster.gif b/static/hamster.gif Binary files differ. diff --git a/static/hamster.png b/static/hamster.png Binary files differ.