Convert to component based architecture

This commit is contained in:
Schmelczer András 2019-12-21 22:59:41 +01:00
parent eb2075aec5
commit cdaa423b8a
70 changed files with 1942 additions and 484 deletions

36
src/model/portfolio.ts Normal file
View file

@ -0,0 +1,36 @@
import { url } from "./misc";
import { Content } from "./content";
export interface Portfolio {
config: Config;
header: Header;
timeline: Array<TimelineElement>;
footer: Footer;
}
export interface Config {
showMore: string;
showLess: string;
aPictureOf: string;
cvName: string;
}
export interface Header {
name: string;
picture: url;
about: Content;
}
export interface TimelineElement {
title: string;
date: string;
picture: url;
description: string;
more?: Content;
link?: url;
}
export interface Footer {
email: string;
cv: url;
}