Refactor and minor fixes

This commit is contained in:
Andras Schmelczer 2022-09-21 21:57:58 +02:00
parent 2dc9c45642
commit fe75f9af88
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
31 changed files with 187 additions and 193 deletions

View file

@ -1,4 +1,4 @@
import { Image } from '../../page/basics/image/image';
import { Image } from '../../page/basics/image/image.html';
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
import processSimulatorInputJpeg from '../media/process-simulator-input.jpg?format=jpg';
import processSimulatorInputWebP from '../media/process-simulator-input.jpg?format=webp';
@ -6,11 +6,12 @@ import processSimulatorInputWebP from '../media/process-simulator-input.jpg?form
export const nuclearEditorTimelineElement: TimelineElementParameters = {
title: `Graph editing application`,
date: `2018 October - November`,
figure: new Image(
processSimulatorInputWebP,
processSimulatorInputJpeg,
`a picture of the simulator's UI`
),
figure: Image({
imageWebP: processSimulatorInputWebP,
imageJpeg: processSimulatorInputJpeg,
alt: `a picture of the simulator's UI`,
container: true,
}),
description: `
An intuitive editor to create and edit input for the nuclear facility simulator.
`,