diff --git a/src/App.ts b/src/App.ts index 2247a2c..4f0a0d2 100644 --- a/src/App.ts +++ b/src/App.ts @@ -3,7 +3,6 @@ import {Component, Vue} from 'vue-property-decorator'; import config from '@/content/config.json'; import Responsive from "@/responsive"; import PhotoSwipper from "@/PhotoSwipper.vue"; -import pWaitFor from "p-wait-for"; /** * Data class for artworks diff --git a/src/content/config.json b/src/content/config.json index a6cee48..95a7c4e 100644 --- a/src/content/config.json +++ b/src/content/config.json @@ -15,43 +15,25 @@ "height": 10, "background": "lightgray" }, - "artwork": + "post": { "default_title": "Untitled", "default_format": "jpg", "author": "Hykilpikonna" }, - "artworks": + "types": [ { - "date": "2019-10-05", - "title": "Vibrance", - "format": "png" + "type": "Drawing and Painting", + "posts": "@/content/drawing-painting.json" }, { - "date": "2019-10-17", - "title": "Entrance" + "type": "Photography", + "posts": "@/content/photography.json" }, { - "date": "2019-10-23", - "title": "Flowey" - }, - { - "date": "2019-10-30", - "title": "Serial Dilution" - }, - { - "date": "2019-11-10", - "title": "View", - "description": "This is an example description" - }, - { - "date": "2019-11-21", - "title": "Frozen" - }, - { - "date": "2019-12-20", - "title": "Snow Quirrel" + "type": "Video", + "posts": "@/content/video.json" } ] }