Added Logos
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
# Traefik - Service Discovery and Load Balancing
|
||||
mvp-traefik:
|
||||
image: traefik:v3.0
|
||||
image: traefik:v3.6
|
||||
container_name: mvp-traefik
|
||||
restart: unless-stopped
|
||||
command:
|
||||
|
||||
BIN
frontend/public/images/makes/acura.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
frontend/public/images/makes/alfa-romeo.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
frontend/public/images/makes/aston-martin.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
frontend/public/images/makes/audi.png
Normal file
|
After Width: | Height: | Size: 57 KiB |
BIN
frontend/public/images/makes/bentley.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
frontend/public/images/makes/bmw.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
frontend/public/images/makes/buick.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
frontend/public/images/makes/cadillac.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
frontend/public/images/makes/chevrolet.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
frontend/public/images/makes/chrysler.png
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
frontend/public/images/makes/dodge.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
frontend/public/images/makes/ferrari.png
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
frontend/public/images/makes/fiat.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
frontend/public/images/makes/ford.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
frontend/public/images/makes/genesis.png
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
frontend/public/images/makes/gmc.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
frontend/public/images/makes/honda.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
frontend/public/images/makes/hummer.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
frontend/public/images/makes/hyundai.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
frontend/public/images/makes/infiniti.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
frontend/public/images/makes/isuzu.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
frontend/public/images/makes/jaguar.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
frontend/public/images/makes/jeep.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
frontend/public/images/makes/kia.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
frontend/public/images/makes/lamborghini.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
frontend/public/images/makes/land-rover.png
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
frontend/public/images/makes/lexus.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
frontend/public/images/makes/lincoln.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
frontend/public/images/makes/lotus.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
frontend/public/images/makes/maserati.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
frontend/public/images/makes/mazda.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
frontend/public/images/makes/mercedes-benz.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
frontend/public/images/makes/mercury.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
frontend/public/images/makes/mini.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
frontend/public/images/makes/mitsubishi.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
frontend/public/images/makes/nissan.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
frontend/public/images/makes/oldsmobile.png
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
frontend/public/images/makes/plymouth.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
frontend/public/images/makes/polestar.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
frontend/public/images/makes/pontiac.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
frontend/public/images/makes/porsche.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
frontend/public/images/makes/ram.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
frontend/public/images/makes/rivian.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
frontend/public/images/makes/rolls-royce.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
frontend/public/images/makes/saab.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
frontend/public/images/makes/scion.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
frontend/public/images/makes/smart.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
frontend/public/images/makes/subaru.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
frontend/public/images/makes/tesla.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
frontend/public/images/makes/toyota.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
frontend/public/images/makes/volkswagen.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
frontend/public/images/makes/volvo.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
129
scripts/download-make-logos.sh
Executable file
@@ -0,0 +1,129 @@
|
||||
#!/bin/bash
|
||||
# Download automotive make logos from vehapi.com
|
||||
# Usage: ./scripts/download-make-logos.sh
|
||||
|
||||
set -e
|
||||
|
||||
# Output directory
|
||||
OUTPUT_DIR="frontend/public/images/makes"
|
||||
mkdir -p "$OUTPUT_DIR"
|
||||
|
||||
# Base URL
|
||||
BASE_URL="https://vehapi.com/img/car-logos"
|
||||
|
||||
# List of common automotive makes
|
||||
# Format: "output_filename:url_name" (if same, just use the name)
|
||||
# vehapi uses underscores for multi-word makes: alfa_romeo, aston_martin, etc.
|
||||
MAKES=(
|
||||
"acura"
|
||||
"alfa-romeo:alfa_romeo"
|
||||
"aston-martin:aston_martin"
|
||||
"audi"
|
||||
"bentley"
|
||||
"bmw"
|
||||
"buick"
|
||||
"cadillac"
|
||||
"chevrolet"
|
||||
"chrysler"
|
||||
"dodge"
|
||||
"ferrari"
|
||||
"fiat"
|
||||
"ford"
|
||||
"genesis"
|
||||
"gmc"
|
||||
"honda"
|
||||
"hummer"
|
||||
"hyundai"
|
||||
"infiniti"
|
||||
"isuzu"
|
||||
"jaguar"
|
||||
"jeep"
|
||||
"kia"
|
||||
"lamborghini"
|
||||
"land-rover:land_rover"
|
||||
"lexus"
|
||||
"lincoln"
|
||||
"lotus"
|
||||
"maserati"
|
||||
"mazda"
|
||||
"mercedes-benz:mercedes_benz"
|
||||
"mercury"
|
||||
"mini"
|
||||
"mitsubishi"
|
||||
"nissan"
|
||||
"oldsmobile"
|
||||
"plymouth"
|
||||
"polestar"
|
||||
"pontiac"
|
||||
"porsche"
|
||||
"ram"
|
||||
"rivian"
|
||||
"rolls-royce:rolls_royce"
|
||||
"saab"
|
||||
"scion"
|
||||
"smart"
|
||||
"subaru"
|
||||
"tesla"
|
||||
"toyota"
|
||||
"volkswagen"
|
||||
"volvo"
|
||||
)
|
||||
|
||||
echo "Downloading make logos to $OUTPUT_DIR..."
|
||||
echo ""
|
||||
|
||||
SUCCESS_COUNT=0
|
||||
FAIL_COUNT=0
|
||||
FAILED_MAKES=()
|
||||
|
||||
for entry in "${MAKES[@]}"; do
|
||||
# Parse entry - format is "output_name:url_name" or just "name"
|
||||
if [[ "$entry" == *":"* ]]; then
|
||||
OUTPUT_NAME="${entry%%:*}"
|
||||
URL_NAME="${entry##*:}"
|
||||
else
|
||||
OUTPUT_NAME="$entry"
|
||||
URL_NAME="$entry"
|
||||
fi
|
||||
|
||||
OUTPUT_FILE="$OUTPUT_DIR/$OUTPUT_NAME.png"
|
||||
URL="$BASE_URL/$URL_NAME.png"
|
||||
|
||||
echo -n "Downloading $OUTPUT_NAME... "
|
||||
|
||||
# Use curl with -f to fail on HTTP errors, -s for silent, -o for output
|
||||
if curl -fsSL "$URL" -o "$OUTPUT_FILE" 2>/dev/null; then
|
||||
# Verify it's actually an image (check for PNG magic bytes)
|
||||
if file "$OUTPUT_FILE" | grep -q "PNG image"; then
|
||||
echo "OK"
|
||||
((SUCCESS_COUNT++))
|
||||
else
|
||||
echo "FAILED (not a valid PNG)"
|
||||
rm -f "$OUTPUT_FILE"
|
||||
((FAIL_COUNT++))
|
||||
FAILED_MAKES+=("$OUTPUT_NAME")
|
||||
fi
|
||||
else
|
||||
echo "FAILED (HTTP error)"
|
||||
rm -f "$OUTPUT_FILE"
|
||||
((FAIL_COUNT++))
|
||||
FAILED_MAKES+=("$OUTPUT_NAME")
|
||||
fi
|
||||
done
|
||||
|
||||
echo ""
|
||||
echo "================================"
|
||||
echo "Download complete!"
|
||||
echo "Success: $SUCCESS_COUNT"
|
||||
echo "Failed: $FAIL_COUNT"
|
||||
|
||||
if [ ${#FAILED_MAKES[@]} -gt 0 ]; then
|
||||
echo ""
|
||||
echo "Failed makes:"
|
||||
for make in "${FAILED_MAKES[@]}"; do
|
||||
echo " - $make"
|
||||
done
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Logos saved to: $OUTPUT_DIR"
|
||||