Convert to component based architecture
This commit is contained in:
parent
eb2075aec5
commit
cdaa423b8a
70 changed files with 1942 additions and 484 deletions
36
src/model/portfolio.ts
Normal file
36
src/model/portfolio.ts
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue