diff --git a/docker-compose.yml b/docker-compose.yml index 7a15b89..6347551 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/frontend/public/images/makes/acura.png b/frontend/public/images/makes/acura.png new file mode 100644 index 0000000..b3df9d4 Binary files /dev/null and b/frontend/public/images/makes/acura.png differ diff --git a/frontend/public/images/makes/alfa-romeo.png b/frontend/public/images/makes/alfa-romeo.png new file mode 100644 index 0000000..1c5a6fc Binary files /dev/null and b/frontend/public/images/makes/alfa-romeo.png differ diff --git a/frontend/public/images/makes/aston-martin.png b/frontend/public/images/makes/aston-martin.png new file mode 100644 index 0000000..8187fca Binary files /dev/null and b/frontend/public/images/makes/aston-martin.png differ diff --git a/frontend/public/images/makes/audi.png b/frontend/public/images/makes/audi.png new file mode 100644 index 0000000..df935ba Binary files /dev/null and b/frontend/public/images/makes/audi.png differ diff --git a/frontend/public/images/makes/bentley.png b/frontend/public/images/makes/bentley.png new file mode 100644 index 0000000..7372b5b Binary files /dev/null and b/frontend/public/images/makes/bentley.png differ diff --git a/frontend/public/images/makes/bmw.png b/frontend/public/images/makes/bmw.png new file mode 100644 index 0000000..419f8a3 Binary files /dev/null and b/frontend/public/images/makes/bmw.png differ diff --git a/frontend/public/images/makes/buick.png b/frontend/public/images/makes/buick.png new file mode 100644 index 0000000..7b0c932 Binary files /dev/null and b/frontend/public/images/makes/buick.png differ diff --git a/frontend/public/images/makes/cadillac.png b/frontend/public/images/makes/cadillac.png new file mode 100644 index 0000000..2f87455 Binary files /dev/null and b/frontend/public/images/makes/cadillac.png differ diff --git a/frontend/public/images/makes/chevrolet.png b/frontend/public/images/makes/chevrolet.png new file mode 100644 index 0000000..a8ee76b Binary files /dev/null and b/frontend/public/images/makes/chevrolet.png differ diff --git a/frontend/public/images/makes/chrysler.png b/frontend/public/images/makes/chrysler.png new file mode 100644 index 0000000..4dc1259 Binary files /dev/null and b/frontend/public/images/makes/chrysler.png differ diff --git a/frontend/public/images/makes/dodge.png b/frontend/public/images/makes/dodge.png new file mode 100644 index 0000000..6314891 Binary files /dev/null and b/frontend/public/images/makes/dodge.png differ diff --git a/frontend/public/images/makes/ferrari.png b/frontend/public/images/makes/ferrari.png new file mode 100644 index 0000000..b68fde5 Binary files /dev/null and b/frontend/public/images/makes/ferrari.png differ diff --git a/frontend/public/images/makes/fiat.png b/frontend/public/images/makes/fiat.png new file mode 100644 index 0000000..dc15e30 Binary files /dev/null and b/frontend/public/images/makes/fiat.png differ diff --git a/frontend/public/images/makes/ford.png b/frontend/public/images/makes/ford.png new file mode 100644 index 0000000..a347775 Binary files /dev/null and b/frontend/public/images/makes/ford.png differ diff --git a/frontend/public/images/makes/genesis.png b/frontend/public/images/makes/genesis.png new file mode 100644 index 0000000..3fe6769 Binary files /dev/null and b/frontend/public/images/makes/genesis.png differ diff --git a/frontend/public/images/makes/gmc.png b/frontend/public/images/makes/gmc.png new file mode 100644 index 0000000..f893b37 Binary files /dev/null and b/frontend/public/images/makes/gmc.png differ diff --git a/frontend/public/images/makes/honda.png b/frontend/public/images/makes/honda.png new file mode 100644 index 0000000..89432c8 Binary files /dev/null and b/frontend/public/images/makes/honda.png differ diff --git a/frontend/public/images/makes/hummer.png b/frontend/public/images/makes/hummer.png new file mode 100644 index 0000000..0980974 Binary files /dev/null and b/frontend/public/images/makes/hummer.png differ diff --git a/frontend/public/images/makes/hyundai.png b/frontend/public/images/makes/hyundai.png new file mode 100644 index 0000000..9e7681e Binary files /dev/null and b/frontend/public/images/makes/hyundai.png differ diff --git a/frontend/public/images/makes/infiniti.png b/frontend/public/images/makes/infiniti.png new file mode 100644 index 0000000..80eea62 Binary files /dev/null and b/frontend/public/images/makes/infiniti.png differ diff --git a/frontend/public/images/makes/isuzu.png b/frontend/public/images/makes/isuzu.png new file mode 100644 index 0000000..8d108b2 Binary files /dev/null and b/frontend/public/images/makes/isuzu.png differ diff --git a/frontend/public/images/makes/jaguar.png b/frontend/public/images/makes/jaguar.png new file mode 100644 index 0000000..3b38993 Binary files /dev/null and b/frontend/public/images/makes/jaguar.png differ diff --git a/frontend/public/images/makes/jeep.png b/frontend/public/images/makes/jeep.png new file mode 100644 index 0000000..d9e8621 Binary files /dev/null and b/frontend/public/images/makes/jeep.png differ diff --git a/frontend/public/images/makes/kia.png b/frontend/public/images/makes/kia.png new file mode 100644 index 0000000..8e5cd90 Binary files /dev/null and b/frontend/public/images/makes/kia.png differ diff --git a/frontend/public/images/makes/lamborghini.png b/frontend/public/images/makes/lamborghini.png new file mode 100644 index 0000000..b69b058 Binary files /dev/null and b/frontend/public/images/makes/lamborghini.png differ diff --git a/frontend/public/images/makes/land-rover.png b/frontend/public/images/makes/land-rover.png new file mode 100644 index 0000000..6b39e83 Binary files /dev/null and b/frontend/public/images/makes/land-rover.png differ diff --git a/frontend/public/images/makes/lexus.png b/frontend/public/images/makes/lexus.png new file mode 100644 index 0000000..db082e6 Binary files /dev/null and b/frontend/public/images/makes/lexus.png differ diff --git a/frontend/public/images/makes/lincoln.png b/frontend/public/images/makes/lincoln.png new file mode 100644 index 0000000..905f9c6 Binary files /dev/null and b/frontend/public/images/makes/lincoln.png differ diff --git a/frontend/public/images/makes/lotus.png b/frontend/public/images/makes/lotus.png new file mode 100644 index 0000000..87b4e35 Binary files /dev/null and b/frontend/public/images/makes/lotus.png differ diff --git a/frontend/public/images/makes/maserati.png b/frontend/public/images/makes/maserati.png new file mode 100644 index 0000000..df3415d Binary files /dev/null and b/frontend/public/images/makes/maserati.png differ diff --git a/frontend/public/images/makes/mazda.png b/frontend/public/images/makes/mazda.png new file mode 100644 index 0000000..3ef10f1 Binary files /dev/null and b/frontend/public/images/makes/mazda.png differ diff --git a/frontend/public/images/makes/mercedes-benz.png b/frontend/public/images/makes/mercedes-benz.png new file mode 100644 index 0000000..86b4f2f Binary files /dev/null and b/frontend/public/images/makes/mercedes-benz.png differ diff --git a/frontend/public/images/makes/mercury.png b/frontend/public/images/makes/mercury.png new file mode 100644 index 0000000..74fbcfb Binary files /dev/null and b/frontend/public/images/makes/mercury.png differ diff --git a/frontend/public/images/makes/mini.png b/frontend/public/images/makes/mini.png new file mode 100644 index 0000000..76029b3 Binary files /dev/null and b/frontend/public/images/makes/mini.png differ diff --git a/frontend/public/images/makes/mitsubishi.png b/frontend/public/images/makes/mitsubishi.png new file mode 100644 index 0000000..029bdc3 Binary files /dev/null and b/frontend/public/images/makes/mitsubishi.png differ diff --git a/frontend/public/images/makes/nissan.png b/frontend/public/images/makes/nissan.png new file mode 100644 index 0000000..47c87d2 Binary files /dev/null and b/frontend/public/images/makes/nissan.png differ diff --git a/frontend/public/images/makes/oldsmobile.png b/frontend/public/images/makes/oldsmobile.png new file mode 100644 index 0000000..c5aa09f Binary files /dev/null and b/frontend/public/images/makes/oldsmobile.png differ diff --git a/frontend/public/images/makes/plymouth.png b/frontend/public/images/makes/plymouth.png new file mode 100644 index 0000000..f08faed Binary files /dev/null and b/frontend/public/images/makes/plymouth.png differ diff --git a/frontend/public/images/makes/polestar.png b/frontend/public/images/makes/polestar.png new file mode 100644 index 0000000..7dd4c79 Binary files /dev/null and b/frontend/public/images/makes/polestar.png differ diff --git a/frontend/public/images/makes/pontiac.png b/frontend/public/images/makes/pontiac.png new file mode 100644 index 0000000..2d801e9 Binary files /dev/null and b/frontend/public/images/makes/pontiac.png differ diff --git a/frontend/public/images/makes/porsche.png b/frontend/public/images/makes/porsche.png new file mode 100644 index 0000000..b3ffac6 Binary files /dev/null and b/frontend/public/images/makes/porsche.png differ diff --git a/frontend/public/images/makes/ram.png b/frontend/public/images/makes/ram.png new file mode 100644 index 0000000..0879cdd Binary files /dev/null and b/frontend/public/images/makes/ram.png differ diff --git a/frontend/public/images/makes/rivian.png b/frontend/public/images/makes/rivian.png new file mode 100644 index 0000000..a76fbdc Binary files /dev/null and b/frontend/public/images/makes/rivian.png differ diff --git a/frontend/public/images/makes/rolls-royce.png b/frontend/public/images/makes/rolls-royce.png new file mode 100644 index 0000000..d3b06b9 Binary files /dev/null and b/frontend/public/images/makes/rolls-royce.png differ diff --git a/frontend/public/images/makes/saab.png b/frontend/public/images/makes/saab.png new file mode 100644 index 0000000..ed4ba2e Binary files /dev/null and b/frontend/public/images/makes/saab.png differ diff --git a/frontend/public/images/makes/scion.png b/frontend/public/images/makes/scion.png new file mode 100644 index 0000000..af71549 Binary files /dev/null and b/frontend/public/images/makes/scion.png differ diff --git a/frontend/public/images/makes/smart.png b/frontend/public/images/makes/smart.png new file mode 100644 index 0000000..0617d8b Binary files /dev/null and b/frontend/public/images/makes/smart.png differ diff --git a/frontend/public/images/makes/subaru.png b/frontend/public/images/makes/subaru.png new file mode 100644 index 0000000..778af7c Binary files /dev/null and b/frontend/public/images/makes/subaru.png differ diff --git a/frontend/public/images/makes/tesla.png b/frontend/public/images/makes/tesla.png new file mode 100644 index 0000000..babb12e Binary files /dev/null and b/frontend/public/images/makes/tesla.png differ diff --git a/frontend/public/images/makes/toyota.png b/frontend/public/images/makes/toyota.png new file mode 100644 index 0000000..2401464 Binary files /dev/null and b/frontend/public/images/makes/toyota.png differ diff --git a/frontend/public/images/makes/volkswagen.png b/frontend/public/images/makes/volkswagen.png new file mode 100644 index 0000000..37a070f Binary files /dev/null and b/frontend/public/images/makes/volkswagen.png differ diff --git a/frontend/public/images/makes/volvo.png b/frontend/public/images/makes/volvo.png new file mode 100644 index 0000000..f63c656 Binary files /dev/null and b/frontend/public/images/makes/volvo.png differ diff --git a/scripts/download-make-logos.sh b/scripts/download-make-logos.sh new file mode 100755 index 0000000..c930ae0 --- /dev/null +++ b/scripts/download-make-logos.sh @@ -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"