aboutsummaryrefslogtreecommitdiff
path: root/Website/scripts/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'Website/scripts/main.ts')
-rw-r--r--Website/scripts/main.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/Website/scripts/main.ts b/Website/scripts/main.ts
index 83712d4..54d61a1 100644
--- a/Website/scripts/main.ts
+++ b/Website/scripts/main.ts
@@ -28,3 +28,10 @@ class Article {
}
let root = document.getElementById('root');
+let articles: Array<Article> = [
+ new Article('title1', 'description1', 'article1', 'image1'),
+ new Article('title2', 'description2', 'article2', 'image2'),
+ new Article('title3', 'description3', 'article3', 'image3')
+];
+
+articles.forEach(article => article.visualise(root));