diff --git a/deploy_to_hetzner.sh b/deploy_to_hetzner.sh index 41dfe77..d3c672c 100644 --- a/deploy_to_hetzner.sh +++ b/deploy_to_hetzner.sh @@ -12,7 +12,11 @@ echo "Uploading website files to $USER@$SERVER:$REMOTE_DIR ..." sshpass -p 'BiLqHib8s5Ag2FmL' sftp -oBatchMode=no -b - $USER@$SERVER <&2 + exit 1 +fi + +# Backup original once +if [[ ! -f "$backup" ]]; then + cp "$orig" "$backup" + echo "Backup created at $backup" +else + echo "Backup already exists at $backup" +fi + +before_size=$(stat -c%s "$orig" 2>/dev/null || wc -c < "$orig") + +opt_tool="" +if command -v pngquant >/dev/null 2>&1; then + opt_tool="pngquant" + # Use pngquant lossy compression with reasonable quality range + pngquant --skip-if-larger --force --quality=65-80 --output "$orig" "$backup" +elif command -v oxipng >/dev/null 2>&1; then + opt_tool="oxipng" + # Lossless optimization + oxipng -o 4 --strip safe -i 0 -Z "$orig" +elif command -v convert >/dev/null 2>&1; then + opt_tool="imagemagick" + # Resize to max width 1200px (keeps aspect), strip metadata; re-encode PNG + convert "$orig" -strip -resize 1200x -define png:compression-level=9 -define png:compression-filter=5 -define png:compression-strategy=1 "$orig.tmp" + mv -f "$orig.tmp" "$orig" +else + echo "No optimizer found (pngquant/oxipng/ImageMagick). Install one and re-run." >&2 + exit 2 +fi + +after_size=$(stat -c%s "$orig" 2>/dev/null || wc -c < "$orig") + +fmt() { num=$1; awk -v n=$num 'BEGIN{ split("B KB MB GB TB",u); s=1; while (n>=1024 && s<5){n/=1024; s++} printf "%.2f %s", n, u[s] }'; } + +echo "Optimizer used: $opt_tool" +echo "Before: $(fmt $before_size)" +echo "After: $(fmt $after_size)" + +if (( after_size < before_size )); then + echo "✅ device.png optimized successfully." +else + echo "ℹ️ No size improvement (tool limitations or already optimized)." +fi diff --git a/src/img/device.png b/src/img/device.png index e815d6d..3c095e5 100644 Binary files a/src/img/device.png and b/src/img/device.png differ diff --git a/src/img/device.webp b/src/img/device.webp new file mode 100644 index 0000000..1638bd1 Binary files /dev/null and b/src/img/device.webp differ diff --git a/src/img/device@orig.png b/src/img/device@orig.png new file mode 100644 index 0000000..e815d6d Binary files /dev/null and b/src/img/device@orig.png differ diff --git a/src/impressum.html b/src/impressum.html new file mode 100644 index 0000000..27f5b6e --- /dev/null +++ b/src/impressum.html @@ -0,0 +1,116 @@ + + + + + + + + + + + + Impressum | SummitWave + + + + + + +
+ + SummitWave Logo + Zur Startseite + + +
+ +
+

Impressum

+ +
+

+ Inhaber
+ Patrick Strübin + ATU82172667 +

+ +

+ Anschrift
+

Hinterwaldnerstrasse 16a, 6020 Innsbruck, Austria
+
+ info@summitwave.eu +

+
+
+ + + + + + + + + diff --git a/src/index.html b/src/index.html index 4420ffc..87ecfe7 100644 --- a/src/index.html +++ b/src/index.html @@ -1,16 +1,35 @@ + + + + + + - SummitWave | Auracast Made Simple + SummitWave | Auracast made easy - + - + @@ -28,7 +47,7 @@

Multichannel audio for everyone.

-

For venues, integrators, and event pros who need flawless sound delivered to personal devices.

+

For venues, integrators, and event pros who need low latency sound delivered to personal devices.

SummitWave Auracast transmitter Request a Demo @@ -76,7 +95,7 @@
-

Auracast in Action

+

Usecases

Universities & Lecture Halls

@@ -100,9 +119,9 @@

Why Auracast?

  • Broadcast Bluetooth – one‑to‑many audio with no pairing headaches.
  • -
  • Widespread adaption – works with any modern device with Bluetooth-Auracast.
  • +
  • Widespread adaption – works with any modern device with Bluetooth-Auracast like Hearing aids, euarbuds and headphones.
  • Device Independence – listeners use their own phones, earbuds, or hearing aids.
  • -
  • Low Latency – lip‑synced speech for presentations and video.
  • +
  • Low Latency – lip‑synced speech for presentations, video and live performances.
@@ -135,7 +154,67 @@
- - + + + + + + +