Make WebP the default image format

This commit is contained in:
Andras Schmelczer 2022-09-22 09:06:51 +02:00
parent 890133d10e
commit 94faabca34
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
23 changed files with 65 additions and 72 deletions

View file

@ -6,7 +6,7 @@ import { Main } from '../page/main/main';
import { PageElement } from '../page/page-element';
import { PageTimeline } from '../page/timeline/timeline';
import cvEnglish from './media/cv-andras-schmelczer.pdf';
import meWebP from './media/me.jpg?format=webp';
import me from './media/me.jpg';
import { adAstraTimelineElement } from './projects/ad-astra';
import { citySimulationTimelineElement } from './projects/city-simulation';
import { declaredTimelineElement } from './projects/declared';
@ -26,7 +26,7 @@ export const create = (): Array<PageElement> => [
new PageBackground(1, 1),
new PageHeader({
name: `András Schmelczer`,
imageWebP: meWebP,
image: me,
imageAltText: `a picture of me`,
about: [
`