Refactor components to simplify them
This commit is contained in:
parent
3cf5b14913
commit
077ed9d3bf
36 changed files with 202 additions and 216 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { Video } from '../../page/basics/video/video';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import adAstraJpeg from '../media/ad_astra.jpg?format=jpg';
|
||||
import adAstraWebP from '../media/ad_astra.jpg?format=webp';
|
||||
import adAstraMp4 from '../media/mp4/ad_astra.mp4';
|
||||
|
|
@ -38,5 +38,5 @@ export const adAstraTimelineElement: TimelineElementParameters = {
|
|||
This can also be found on GitHub along with the entire project.
|
||||
`,
|
||||
],
|
||||
links: [new GitHub('https://github.com/schmelczerandras/ad_astra')],
|
||||
links: [GitHub('https://github.com/schmelczerandras/ad_astra')],
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Video } from '../../page/basics/video/video';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import citySimulationMp4 from '../media/mp4/simulation.mp4';
|
||||
import citySimulationPosterJpeg from '../media/simulation.jpg?format=jpg';
|
||||
import citySimulationPosterWebP from '../media/simulation.jpg?format=webp';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Image } from '../../page/basics/image/image';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import colourJpeg from '../media/color.jpg?format=jpg';
|
||||
import colourWebP from '../media/color.jpg?format=webp';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,9 @@
|
|||
import { Preview } from '../../page/basics/preview/preview';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import declaredJpeg from '../media/decla-red.png?format=jpg';
|
||||
import declaredWebP from '../media/decla-red.png?format=webp';
|
||||
import thesis from '../media/thesis-andras-schmelczer.pdf';
|
||||
|
||||
import { Preview } from '../../page/basics/preview/preview';
|
||||
import { GitHub, Thesis, Open } from '../shared';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import bscThesis from '../media/sdf2d-andras-schmelczer.pdf';
|
||||
import { GitHub, Open, Thesis } from '../shared';
|
||||
|
||||
export const declaredTimelineElement: TimelineElementParameters = {
|
||||
title: `Multiplayer game`,
|
||||
|
|
@ -34,8 +33,8 @@ export const declaredTimelineElement: TimelineElementParameters = {
|
|||
`,
|
||||
],
|
||||
links: [
|
||||
new GitHub('https://github.com/schmelczerandras/decla.red'),
|
||||
new Thesis(thesis),
|
||||
new Open('https://decla.red'),
|
||||
GitHub('https://github.com/schmelczerandras/decla.red'),
|
||||
Thesis(bscThesis),
|
||||
Open('https://decla.red'),
|
||||
],
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Video } from '../../page/basics/video/video';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import forexPosterJpeg from '../media/forex.jpg?format=jpg';
|
||||
import forexPosterWebP from '../media/forex.jpg?format=webp';
|
||||
import forexMp4 from '../media/mp4/forex.mp4';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Video } from '../../page/basics/video/video';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import ledPosterJpeg from '../media/led.jpg?format=jpg';
|
||||
import ledPosterWebP from '../media/led.jpg?format=webp';
|
||||
import ledMp4 from '../media/mp4/led.mp4';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Image } from '../../page/basics/image/image';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import myNotesJpeg from '../media/my-notes.png?format=jpg';
|
||||
import myNotesWebP from '../media/my-notes.png?format=webp';
|
||||
import { GitHub } from '../shared';
|
||||
|
|
@ -20,5 +20,5 @@ export const myNotesTimelineElement: TimelineElementParameters = {
|
|||
adventure.
|
||||
`,
|
||||
],
|
||||
links: [new GitHub('https://github.com/schmelczerandras/my-notes')],
|
||||
links: [GitHub('https://github.com/schmelczerandras/my-notes')],
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Image } from '../../page/basics/image/image';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
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';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Image } from '../../page/basics/image/image';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import processSimulatorJpeg from '../media/process-simulator.jpg?format=jpg';
|
||||
import processSimulatorWebP from '../media/process-simulator.jpg?format=webp';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Image } from '../../page/basics/image/image';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import photosJpeg from '../media/photos.jpg?format=jpg';
|
||||
import photosWebP from '../media/photos.jpg?format=webp';
|
||||
import { Open } from '../shared';
|
||||
|
|
@ -20,5 +20,5 @@ export const photosTimelineElement: TimelineElementParameters = {
|
|||
automatic resizing to multiple quality settings is also part of the pipeline.
|
||||
`,
|
||||
],
|
||||
links: [new Open('https://photo.schmelczer.dev')],
|
||||
links: [Open('https://photo.schmelczer.dev')],
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Video } from '../../page/basics/video/video';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import platformMp4 from '../media/mp4/platform.mp4';
|
||||
import platformPosterJpeg from '../media/platform.png?format=jpg';
|
||||
import platformPosterWebP from '../media/platform.png?format=webp';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Preview } from '../../page/basics/preview/preview';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import sdf2dJpeg from '../media/sdf2d.png?format=jpg';
|
||||
import sdf2dWebP from '../media/sdf2d.png?format=webp';
|
||||
import { NPM, Open, Youtube } from '../shared';
|
||||
|
|
@ -34,8 +34,8 @@ export const sdf2dTimelineElement: TimelineElementParameters = {
|
|||
`,
|
||||
],
|
||||
links: [
|
||||
new NPM('https://www.npmjs.com/package/sdf-2d'),
|
||||
new Youtube('https://www.youtube.com/watch?v=K3cEtnZUNR0'),
|
||||
new Open('https://sdf2d.schmelczer.dev'),
|
||||
NPM('https://www.npmjs.com/package/sdf-2d'),
|
||||
Youtube('https://www.youtube.com/watch?v=K3cEtnZUNR0'),
|
||||
Open('https://sdf2d.schmelczer.dev'),
|
||||
],
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Image } from '../../page/basics/image/image';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element';
|
||||
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
|
||||
import towersJpeg from '../media/towers.png?format=jpg';
|
||||
import towersWebP from '../media/towers.png?format=webp';
|
||||
import { GitHub, Open } from '../shared';
|
||||
|
|
@ -22,7 +22,7 @@ export const towersTimelineElement: TimelineElementParameters = {
|
|||
`,
|
||||
],
|
||||
links: [
|
||||
new GitHub('https://github.com/schmelczerandras/life-towers/'),
|
||||
new Open('https://towers.schmelczer.dev'),
|
||||
GitHub('https://github.com/schmelczerandras/life-towers/'),
|
||||
Open('https://towers.schmelczer.dev'),
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue