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

@ -1,12 +1,12 @@
import { Image } from '../../page/basics/image/image.html';
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
import processSimulatorInputWebP from '../media/process-simulator-input.jpg?format=webp';
import processSimulatorInput from '../media/process-simulator-input.jpg';
export const nuclearEditorTimelineElement: TimelineElementParameters = {
title: `Graph editing application`,
date: `2018 October - November`,
figure: Image({
imageWebP: processSimulatorInputWebP,
image: processSimulatorInput,
alt: `a picture of the simulator's UI`,
container: true,
}),