From ba8e5963280f014fabd9a222cb2dc1843141a870 Mon Sep 17 00:00:00 2001 From: Thanatat Tamtan Date: Tue, 16 Jun 2026 09:39:55 +0700 Subject: [PATCH 1/2] feat: use the product logo for the brand mark and favicon Replace the generated rocket favicon (favicon.svg) and the magenta-tile + rocket navbar mark with the actual product logo (the gradient "D"), copied from the console repo. The navbar brand now renders the logo via (webp + png); the favicon uses the product mark (webp + png), matching the console and website. Co-Authored-By: Claude Opus 4.8 (1M context) --- assets/style/_layout.scss | 14 +++++--------- layouts/_default/baseof.html | 3 ++- layouts/partials/navbar.html | 5 ++++- static/favicon.png | Bin 0 -> 16420 bytes static/favicon.svg | 13 ------------- static/favicon.webp | Bin 0 -> 1718 bytes static/img/logo.png | Bin 0 -> 16420 bytes static/img/logo.webp | Bin 0 -> 1718 bytes 8 files changed, 11 insertions(+), 24 deletions(-) create mode 100644 static/favicon.png delete mode 100644 static/favicon.svg create mode 100644 static/favicon.webp create mode 100644 static/img/logo.png create mode 100644 static/img/logo.webp diff --git a/assets/style/_layout.scss b/assets/style/_layout.scss index ce1a4d8..bb708df 100644 --- a/assets/style/_layout.scss +++ b/assets/style/_layout.scss @@ -26,16 +26,12 @@ color: var(--color-content-inv); letter-spacing: -0.01em; } -.navbar-brand .mark { - width: 1.6rem; - height: 1.6rem; - display: grid; - place-items: center; - border-radius: var(--radius-sm); - background: linear-gradient(150deg, var(--color-primary-500), var(--color-primary-700)); - box-shadow: 0 0 0 1px hsla(335, 80%, 53%, 0.35), 0 4px 14px -4px hsla(335, 80%, 53%, 0.7); +.navbar-brand picture { display: inline-flex; } +.navbar-brand .brand-logo { + width: 1.75rem; + height: 1.75rem; + display: block; } -.navbar-brand .mark svg { width: 1rem; height: 1rem; color: #fff; } .navbar-brand .tag { font-family: var(--font-family-mono); font-size: var(--font-size-100); diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6b84265..dfad32e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,7 +7,8 @@ {{- if .IsHome }}{{ .Site.Title }} โ€” Deploy and run containers {{- else }}{{ $title }} ยท {{ .Site.Title }}{{ end }} - + +