21 lines
579 B
Markdown
Executable File
21 lines
579 B
Markdown
Executable File
# Hero-Originalbilder
|
|
|
|
Das Tool `npm run hero:prepare` unterstuetzt zwei Eingabeformate:
|
|
|
|
1. Unterordner pro Variante (empfohlen)
|
|
|
|
- `assets/images/hero-originals/<variante>/hero.png`
|
|
|
|
2. Flache Ablage von PNGs
|
|
|
|
- `public/images/hero-originals/hero1.png`
|
|
- `public/images/hero-originals/hero2.png`
|
|
|
|
Ausgabe je Variante in:
|
|
|
|
- `public/images/hero/<variante>/hero_960.webp`
|
|
- `public/images/hero/<variante>/hero_1600.webp`
|
|
- `public/images/hero/<variante>/hero_fallback.png`
|
|
|
|
Die Startseite (`components/Hero.vue`) waehlt danach automatisch zufaellig eine vorhandene Variante aus.
|