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,13 +1,13 @@
import { Preview } from '../../page/basics/preview/preview';
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
import declaredWebP from '../media/decla-red.png?format=webp';
import declared from '../media/decla-red.png';
import bscThesis from '../media/sdf2d-andras-schmelczer.pdf';
import { GitHub, Open, Thesis } from '../shared';
export const declaredTimelineElement: TimelineElementParameters = {
title: `Multiplayer game`,
date: `2020 autumn`,
figure: new Preview(declaredWebP, 'https://decla.red', 'The website of the video game'),
figure: new Preview(declared, 'https://decla.red', 'The website of the video game'),
description: `
Using SDF-2D (my ray tracing graphics library), I created a conquest-style multiplayer browser game.
It even runs on mobiles.