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,6 +1,6 @@
import { PageBackground } from '../page/background/background';
import { Image } from '../page/basics/image/image';
import { PageFooter } from '../page/footer/footer';
import { Image } from '../page/basics/image/image.html';
import { Footer } from '../page/footer/footer.html';
import { PageHeader } from '../page/header/header';
import { PageImageViewer } from '../page/image-viewer/image-viewer';
import { Main } from '../page/main/main';
@ -28,7 +28,11 @@ export const create = (): Array<PageElement> => [
new PageBackground(1, 1),
new PageHeader({
name: `András Schmelczer`,
photo: new Image(meWebP, meJpeg, `a picture of me`, false),
photo: Image({
imageWebP: meWebP,
imageJpeg: meJpeg,
alt: `a picture of me`,
}),
about: [
`
I have always been fascinated by the engineering feats that surround us and pervade every aspect
@ -62,7 +66,7 @@ export const create = (): Array<PageElement> => [
ledsTimelineElement,
],
}),
new PageFooter({
Footer({
title: `Learn more`,
curriculaVitae: [{ name: `Curriculum vitae`, url: cvEnglish }],
email: `andras@schmelczer.dev`,