[+] Create posting types
This commit is contained in:
@@ -3,7 +3,6 @@ import {Component, Vue} from 'vue-property-decorator';
|
|||||||
import config from '@/content/config.json';
|
import config from '@/content/config.json';
|
||||||
import Responsive from "@/responsive";
|
import Responsive from "@/responsive";
|
||||||
import PhotoSwipper from "@/PhotoSwipper.vue";
|
import PhotoSwipper from "@/PhotoSwipper.vue";
|
||||||
import pWaitFor from "p-wait-for";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Data class for artworks
|
* Data class for artworks
|
||||||
|
|||||||
+8
-26
@@ -15,43 +15,25 @@
|
|||||||
"height": 10,
|
"height": 10,
|
||||||
"background": "lightgray"
|
"background": "lightgray"
|
||||||
},
|
},
|
||||||
"artwork":
|
"post":
|
||||||
{
|
{
|
||||||
"default_title": "Untitled",
|
"default_title": "Untitled",
|
||||||
"default_format": "jpg",
|
"default_format": "jpg",
|
||||||
"author": "Hykilpikonna"
|
"author": "Hykilpikonna"
|
||||||
},
|
},
|
||||||
"artworks":
|
"types":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"date": "2019-10-05",
|
"type": "Drawing and Painting",
|
||||||
"title": "Vibrance",
|
"posts": "@/content/drawing-painting.json"
|
||||||
"format": "png"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"date": "2019-10-17",
|
"type": "Photography",
|
||||||
"title": "Entrance"
|
"posts": "@/content/photography.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"date": "2019-10-23",
|
"type": "Video",
|
||||||
"title": "Flowey"
|
"posts": "@/content/video.json"
|
||||||
},
|
|
||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user