diff --git a/internal/web/server_test.go b/internal/web/server_test.go index bcaeeb7..e96b375 100644 --- a/internal/web/server_test.go +++ b/internal/web/server_test.go @@ -92,7 +92,7 @@ func TestEveryPageRenders(t *testing.T) { for _, path := range []string{"/", "/?msg=saved", "/settings/profile", "/inventory", "/inventory?relationship=partner", "/inventory/new", "/inventory/1", "/inventory/import", "/inventory/export", - "/settings/ai", "/settings/accounts", "/settings/core", "/static/app.css", "/favicon.ico", "/static/favicon.png", "/static/logo.png", "/search", "/search?q=rival", "/search?q=nothing+here", "/static/htmx.min.js", "/healthz", + "/settings/ai", "/settings/accounts", "/settings/core", "/static/app.css", "/favicon.ico", "/static/favicon.png", "/static/logo.png", "/static/apple-touch-icon.png", "/search", "/search?q=rival", "/search?q=nothing+here", "/static/htmx.min.js", "/healthz", "/content", "/content/1", "/content/1?dismissed=1", "/inbox", "/inbox?msg=drafted", "/content/scheduled", "/content/published"} { rec := do(h, http.MethodGet, path, nil, nil) diff --git a/internal/web/static/app.css b/internal/web/static/app.css index 384fb6a..f6fb8ec 100644 --- a/internal/web/static/app.css +++ b/internal/web/static/app.css @@ -118,7 +118,7 @@ h3 { font-size: 1rem; font-weight: 650; margin: 0 0 0.5rem; letter-spacing: -0.0 } .brand { display: flex; align-items: center; gap: 0.55rem; padding: 0.85rem 0.9rem 0.7rem; color: inherit; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em; } -.brand .logo { width: 1.75rem; height: 1.75rem; object-fit: contain; flex: none; } +.brand .logo { width: 1.75rem; height: 1.75rem; object-fit: cover; flex: none; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); } .search { position: relative; margin: 0 0.6rem 0.4rem; display: flex; align-items: center; } .search .icon { position: absolute; left: 0.65rem; color: hsl(var(--muted-foreground)); pointer-events: none; } diff --git a/internal/web/static/apple-touch-icon.png b/internal/web/static/apple-touch-icon.png new file mode 100644 index 0000000..0a249be Binary files /dev/null and b/internal/web/static/apple-touch-icon.png differ diff --git a/internal/web/static/favicon.ico b/internal/web/static/favicon.ico index 3d86e2b..013b184 100644 Binary files a/internal/web/static/favicon.ico and b/internal/web/static/favicon.ico differ diff --git a/internal/web/static/favicon.png b/internal/web/static/favicon.png index 8a639d5..8233267 100644 Binary files a/internal/web/static/favicon.png and b/internal/web/static/favicon.png differ diff --git a/internal/web/static/logo.png b/internal/web/static/logo.png index ab0020e..ae1b35f 100644 Binary files a/internal/web/static/logo.png and b/internal/web/static/logo.png differ diff --git a/internal/web/templates/layout.html b/internal/web/templates/layout.html index cb498a1..1df10b6 100644 --- a/internal/web/templates/layout.html +++ b/internal/web/templates/layout.html @@ -7,7 +7,7 @@ {{.Title}} ยท Supermarket - +