Android-Umsetzung der Homepage
Some checks failed
Code Analysis and Production Deploy / analyze (push) Failing after 2m22s
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Has been skipped

This commit is contained in:
Torsten Schulz (local)
2026-05-27 17:54:24 +02:00
parent 817f5e02ca
commit 7e0c92368e
6816 changed files with 111919 additions and 53 deletions

View File

@@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -euo pipefail
# Lädt Inter Regular und Montserrat SemiBold aus dem Google Fonts GitHub-Repo
# Ziel: android-app/app/src/main/res/font/
OUT_DIR="$(dirname "$0")/../app/src/main/res/font"
mkdir -p "$OUT_DIR"
echo "Download fonts into $OUT_DIR"
# URLs (raw GitHub content)
INTER_URL="https://raw.githubusercontent.com/google/fonts/main/ofl/inter/Inter-Regular.ttf"
MONTSERRAT_URL="https://raw.githubusercontent.com/google/fonts/main/ofl/montserrat/Montserrat-SemiBold.ttf"
curl -fL "$INTER_URL" -o "$OUT_DIR/inter_regular.ttf" || { echo "Fehler: Inter konnte nicht heruntergeladen werden."; exit 1; }
curl -fL "$MONTSERRAT_URL" -o "$OUT_DIR/montserrat_semibold.ttf" || { echo "Fehler: Montserrat konnte nicht heruntergeladen werden."; exit 1; }
echo "Fonts heruntergeladen:"
ls -l "$OUT_DIR"/*.ttf
echo "Füge in Android Studio die Fonts als resource-Fonts hinzu oder benutze sie in Compose via R.font.inter_regular."