Add "go up" arrow

This commit is contained in:
Andras Schmelczer 2022-09-26 17:01:02 +02:00
parent 2746f239d7
commit d3927cc13c
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
7 changed files with 132 additions and 47 deletions

View file

@ -6,6 +6,7 @@ import { Link } from '../page/link/link.html';
import { Main } from '../page/main/main';
import { PageElement } from '../page/page-element';
import { TimelineElement } from '../page/timeline-element/timeline-element';
import { UpArrowButton } from '../page/up-arrow-button/up-arrow-button';
import cvEnglish from './media/cv-andras-schmelczer.pdf';
import me from './media/me.jpg';
import { adAstra } from './projects/ad-astra';
@ -23,51 +24,54 @@ import { sdf2d } from './projects/sdf2d';
import { towers } from './projects/towers';
import { CV, Email, GitHubLink, LinkedIn } from './shared';
const main = new Main(
new Background(1, 1),
new Header({
name: 'András Schmelczer',
image: me,
imageAltText: 'a picture of me',
about: [
'With more than six years of professional software engineering experience and a degree in Computer Science, I can confidently undertake any challenge. My interests span diverse areas, allowing me to design complex — even multidisciplinary — systems with a clear understanding.',
"I'm passionate about architecting and building large-scale systems, especially in the context of AI/ML. However, in my free time, I also enjoy working with shaders, data visualisation, and sometimes even microcontrollers.",
`Discover some of my more exciting projects below. And if you'd like to reach out to me, you can find my contact details at ${Link(
'the bottom of the page',
'#contact'
)}.`,
],
}),
...[
greatAi,
declared,
sdf2d,
adAstra,
forex,
myNotes,
towers,
nuclear,
nuclearEditor,
citySimulation,
platformGame,
photos,
leds,
].map((p) => new TimelineElement(p, 'Show details', 'Show less')),
Contact({
title: 'Get in touch',
links: [
CV(cvEnglish),
Email('mailto:andras@schmelczer.dev'),
LinkedIn('https://www.linkedin.com/in/andras-schmelczer'),
GitHubLink('https://github.com/schmelczer'),
],
lastEditText: 'Last modified on',
})
);
export const portfolio: Array<PageElement> = [
new Main(
new Background(1, 1),
new Header({
name: 'András Schmelczer',
image: me,
imageAltText: 'a picture of me',
about: [
'With more than six years of professional software engineering experience and a degree in Computer Science, I can confidently undertake any challenge. My interests span diverse areas, allowing me to design complex &mdash; even multidisciplinary &mdash; systems with a clear understanding.',
"I'm passionate about architecting and building large-scale systems, especially in the context of AI/ML. However, in my free time, I also enjoy working with shaders, data visualisation, and sometimes even microcontrollers.",
`Discover some of my more exciting projects below. And if you'd like to reach out to me, you can find my contact details at ${Link(
'the bottom of the page',
'#contact'
)}.`,
],
}),
...[
greatAi,
declared,
sdf2d,
adAstra,
forex,
myNotes,
towers,
nuclear,
nuclearEditor,
citySimulation,
platformGame,
photos,
leds,
].map((p) => new TimelineElement(p, 'Show details', 'Show less')),
Contact({
title: 'Get in touch',
links: [
CV(cvEnglish),
Email('mailto:andras@schmelczer.dev'),
LinkedIn('https://www.linkedin.com/in/andras-schmelczer'),
GitHubLink('https://github.com/schmelczer'),
],
lastEditText: 'Last modified on',
})
),
main,
new ImageViewer(),
new UpArrowButton(main, 'go up'),
];