Make WebP the default image format
This commit is contained in:
parent
890133d10e
commit
94faabca34
23 changed files with 65 additions and 72 deletions
|
|
@ -1,13 +1,13 @@
|
|||
import { Image } from '../../page/basics/image/image.html';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import myNotesWebP from '../media/my-notes.png?format=webp';
|
||||
import myNotes from '../media/my-notes.png';
|
||||
import { GitHub } from '../shared';
|
||||
|
||||
export const myNotesTimelineElement: TimelineElementParameters = {
|
||||
title: `My Notes`,
|
||||
date: `2019 November`,
|
||||
figure: Image({
|
||||
imageWebP: myNotesWebP,
|
||||
image: myNotes,
|
||||
alt: `two screenshots of the application`,
|
||||
container: true,
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue