style: use cropped text-only logo in header

This commit is contained in:
Do Siki
2026-04-26 23:54:12 +02:00
parent 25bb5ede07
commit 6ee03b7339
3 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
from PIL import Image
img = Image.open('proto/public/mozdit_logo.png')
# Crop box is (left, upper, right, lower)
cropped = img.crop((380, 140, 880, 300))
cropped.save('proto/public/mozdit_logo_text.png')
Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

+1 -1
View File
@@ -50,7 +50,7 @@ export default function Header() {
className="group flex items-center gap-2 transition-all duration-200" className="group flex items-center gap-2 transition-all duration-200"
> >
<img <img
src="/mozdit_logo.png" src="/mozdit_logo_text.png"
alt={siteConfig.general.name} alt={siteConfig.general.name}
className="h-10 w-auto transition-transform duration-200 group-hover:scale-105" className="h-10 w-auto transition-transform duration-200 group-hover:scale-105"
/> />