Compare commits

..

No commits in common. "9ca3c60df93e2026648099ecc35f55ffef50e3c3" and "a38c0946fbbf6b9c18e6c5d20491ab51276da086" have entirely different histories.

9 changed files with 18 additions and 46 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

View file

@ -1,12 +0,0 @@
#!/usr/bin/python3
import sys
import pathlib
import subprocess
SIZES = [(320, 240), (480, 360), (640, 480)]
image_path = pathlib.Path(sys.argv[1])
for width, height in SIZES:
thumb_name = image_path.with_name(f"{image_path.stem}_{height}.webp")
print(f"Generating {width}x{height} at {thumb_name}")
subprocess.run(["convert", str(image_path), "-resize", f"{width}x{height}", thumb_name])

View file

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -15,11 +15,11 @@
<div class="header-contact"> <div class="header-contact">
<div class="header-content"> <div class="header-content">
<span> <span>
<img width="16" height="16" class="text-icon" src="static/img/icons/telephone.svg" alt="Telefon"> <img width="16" height="16" class="text-icon" src="static/img/icons/telephone.svg">
<a href="tel:+436641240214">+43 664 1240214</a> <a href="tel:+436641240214">+43 664 1240214</a>
</span> </span>
<span> <span>
<img width="16" height="16" class="text-icon" src="static/img/icons/mail.svg" alt="Email"> <img width="16" height="16" class="text-icon" src="static/img/icons/mail.svg">
<a href="mailto:office@computerschaf.at">office@computerschaf.at</a> <a href="mailto:office@computerschaf.at">office@computerschaf.at</a>
</span> </span>
</div> </div>
@ -27,7 +27,7 @@
<header class="header-nav"> <header class="header-nav">
<nav class="header-content"> <nav class="header-content">
<span class="header-title"> <span class="header-title">
<img src="static/img/logo.svg" alt="" class="nav-img" height="48" width="48" alt=""> <img src="static/img/logo.svg" alt="" class="nav-img" height="48" width="48">
ComputerSchaf ComputerSchaf
</span> </span>
<span class="header-spacer"></span> <span class="header-spacer"></span>
@ -50,9 +50,9 @@
<div class="footer-content"> <div class="footer-content">
<div class="footer-address"> <div class="footer-address">
<h2 id="kontakt">Kontakt</h2> <h2 id="kontakt">Kontakt</h2>
<img width="16" height="16" class="text-icon" src="static/img/icons/telephone.svg" alt="Telefon"> <img width="16" height="16" class="text-icon" src="static/img/icons/telephone.svg">
<a href="tel:+436641240214">+43 664 1240214</a><br> <a href="tel:+436641240214">+43 664 1240214</a><br>
<img width="16" height="16" class="text-icon" src="static/img/icons/mail.svg" alt="Email"> <img width="16" height="16" class="text-icon" src="static/img/icons/mail.svg">
<a href="mailto:office@computerschaf.at">office@computerschaf.at</a><br> <a href="mailto:office@computerschaf.at">office@computerschaf.at</a><br>
Adresse (nur nach Rücksprache):<br> Adresse (nur nach Rücksprache):<br>
Ulmenstraße 65 Ulmenstraße 65
@ -60,14 +60,14 @@
<div class="footer-sep"></div> <div class="footer-sep"></div>
<div class="footer-social"> <div class="footer-social">
<h2>Soziale Medien</h2> <h2>Soziale Medien</h2>
<a href="https://www.facebook.com/people/ComputerSchaf/100090257378708/" aria-label="Computerschaf auf Facebook" class="social-media" target=" _blank"> <a href="https://www.facebook.com/people/ComputerSchaf/100090257378708/" class="social-media" target=" _blank">
<img width="48" height="48" class="social-icon" src="static/img/icons/facebook.svg" alt="Facebook"> <img width="48" height="48" class="social-icon" src="static/img/icons/facebook.svg">
</a> </a>
<a href="https://www.instagram.com/ComputerSchaf/" class="social-media" aria-label="Computerschaf auf Instagram" target=" _blank"> <a href="https://www.instagram.com/ComputerSchaf/" class="social-media" target=" _blank">
<img width="48" height="48" class="social-icon" src="static/img/icons/instagram.svg" alt="Instagram"> <img width="48" height="48" class="social-icon" src="static/img/icons/instagram.svg">
</a> </a>
<a href="https://www.youtube.com/channel/UCocc5i1jn2y8plvUp5SM8vQ" aria-label="Computerschaf auf Youtube" class="social-media" target=" _blank"> <a href="https://www.youtube.com/channel/UCocc5i1jn2y8plvUp5SM8vQ" class="social-media" target=" _blank">
<img width="48" height="48" class="social-icon" src="static/img/icons/youtube.svg" alt="Youtube"> <img width="48" height="48" class="social-icon" src="static/img/icons/youtube.svg">
</a> </a>
</div> </div>
<div class="footer-sep"></div> <div class="footer-sep"></div>

View file

@ -7,7 +7,7 @@
<div class="overview"> <div class="overview">
<div> <div>
<a href="#beratung" class="service-link"> <a href="#beratung" class="service-link">
<img class="service-icon" src="static/img/icons/questionmark.svg" height="256" width="256" alt=""> <img class="service-icon" src="static/img/icons/questionmark.svg" height="256" width="256">
<span class="service-name">Hilfe &amp; Beratung</span> <span class="service-name">Hilfe &amp; Beratung</span>
</a> </a>
<span class="service-desc"> <span class="service-desc">
@ -16,7 +16,7 @@
</div> </div>
<div> <div>
<a href="#reparatur" class="service-link"> <a href="#reparatur" class="service-link">
<img class="service-icon" src="static/img/icons/screwdriver.svg" height="256" width="256" alt=""> <img class="service-icon" src="static/img/icons/screwdriver.svg" height="256" width="256">
<span class="service-name">Reparatur</span> <span class="service-name">Reparatur</span>
</a> </a>
<span class="service-desc"> <span class="service-desc">
@ -25,7 +25,7 @@
</div> </div>
<div> <div>
<a href="#datenrettung" class="service-link"> <a href="#datenrettung" class="service-link">
<img class="service-icon" src="static/img/icons/harddrive.svg" height="256" width="256" alt=""> <img class="service-icon" src="static/img/icons/harddrive.svg" height="256" width="256">
<span class="service-name">Datenrettung</span> <span class="service-name">Datenrettung</span>
</a> </a>
<span class="service-desc"> <span class="service-desc">
@ -34,7 +34,7 @@
</div> </div>
<div> <div>
<a href="#verleih" class="service-link"> <a href="#verleih" class="service-link">
<img class="service-icon" src="static/img/icons/computer.svg" height="256" width="256" alt=""> <img class="service-icon" src="static/img/icons/computer.svg" height="256" width="256">
<span class="service-name">Verleih</span> <span class="service-name">Verleih</span>
</a> </a>
<span class="service-desc"> <span class="service-desc">
@ -77,15 +77,7 @@
</p> </p>
</div> </div>
<div class="split-section-img"> <div class="split-section-img">
<a href="static/img/fotos/laptop_matte.jpeg"> <img width="4896" height="3672" src="static/img/fotos/laptop_matte.jpeg" alt="">
<img
width="320" height="240" src="static/img/fotos/laptop_matte_240.webp"
srcset="static/img/fotos/laptop_matte_240.webp 1x,
static/img/fotos/laptop_matte_360.webp 1.5x,
static/img/fotos/laptop_matte_480.webp 2x"
alt="Laptop zur Reparatur geöffnet auf einer Arbeitsunterlage"
>
</a>
</div> </div>
</div> </div>
</div> </div>
@ -116,15 +108,7 @@
</p> </p>
</div> </div>
<div class="split-section-img"> <div class="split-section-img">
<a href="static/img/fotos/datentraeger.jpeg"> <img width="4896" height="3672" src="static/img/fotos/datentraeger.jpeg" alt="">
<img
width="320" height="240" src="static/img/fotos/datentraeger_240.webp"
srcset="static/img/fotos/datentraeger_240.webp 1x,
static/img/fotos/datentraeger_360.webp 1.5x,
static/img/fotos/datentraeger_480.webp 2x"
alt="Geöffnetes Gehäuse eines SSD Datenträgers"
>
</a>
</div> </div>
</div> </div>
</div> </div>