Make WebP the default image format
This commit is contained in:
parent
890133d10e
commit
94faabca34
23 changed files with 65 additions and 72 deletions
|
|
@ -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: [
|
||||
`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue