Merge pull request #23 from svc-design/feat/homepage-icons
feat: generate favicon.ico and 32px icon from logo.png
This commit is contained in:
commit
05ee17fad0
@ -6,6 +6,17 @@ YARN := $(shell command -v yarn 2>/dev/null)
|
||||
|
||||
.PHONY: init dev build export clean info
|
||||
|
||||
icon:
|
||||
@echo "🎨 Generating favicon and icon images..."
|
||||
@if ! command -v magick &> /dev/null; then \
|
||||
echo "❌ ImageMagick (magick) not found. Please install it (e.g. brew install imagemagick)."; \
|
||||
exit 1; \
|
||||
fi
|
||||
@mkdir -p public/icons
|
||||
@magick ../logo.png -resize 32x32 public/icons/cloudnative_32.png
|
||||
@magick ../logo.png -resize 64x64 -background none -define icon:auto-resize=64,48,32,16 public/favicon.ico
|
||||
@echo "✅ Icons generated successfully."
|
||||
|
||||
init:
|
||||
@echo "🔧 Installing dependencies for homepage..."
|
||||
@if [ -z "$(YARN)" ]; then \
|
||||
|
||||
BIN
ui/homepage/public/favicon.ico
Normal file
BIN
ui/homepage/public/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
BIN
ui/homepage/public/icons/cloudnative_32.png
Normal file
BIN
ui/homepage/public/icons/cloudnative_32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
ui/logo.png
Normal file
BIN
ui/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
Loading…
Reference in New Issue
Block a user