diff --git a/src/Card.vue b/src/Card.vue new file mode 100644 index 0000000..37ba8c3 --- /dev/null +++ b/src/Card.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/src/Deck.vue b/src/Deck.vue index 95a9426..1de1c13 100644 --- a/src/Deck.vue +++ b/src/Deck.vue @@ -1,19 +1,20 @@ - - diff --git a/src/template/hero/input.json b/src/template/hero/input.json deleted file mode 100644 index 1b83ec4..0000000 --- a/src/template/hero/input.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "cardTypes": { - "character": { - "back": { - "inputs": { - "incapacitated": "text" - } - }, - "inputs": { - "hp": "number", - "power": "text", - "powerText": "textarea" - } - }, - "deck": { - "inputs": { - "name": "text", - "hp": "number", - "image": "image", - "keywords": "text", - "text": "textarea", - "quote": "textarea", - "quoteCitation": "text", - "artist": "text" - }, - "hide": { - "hpMark": "hp", - "keywordBox": "keywords" - } - } - } -} diff --git a/src/template/hero/input.yaml b/src/template/hero/input.yaml new file mode 100644 index 0000000..46efe37 --- /dev/null +++ b/src/template/hero/input.yaml @@ -0,0 +1,16 @@ +character: + hp: number + power: text + art: image + powerText: textarea +character-back: + incapacitated: textarea +deck: + name: text + hp: number + art: image + keywords: text + text: textarea + quote: textarea + quoteCitation: text + artist: text diff --git a/src/template/villain/character.svg b/src/template/villain/character.svg index d8b9f7a..91d9999 100644 --- a/src/template/villain/character.svg +++ b/src/template/villain/character.svg @@ -14,9 +14,9 @@ - Villain Title - villain - Villain Name - 000 - Art By + {{ card.title }} + villain + {{ card.name }} + {{ card.hp }} + {{ card.artist }} diff --git a/src/template/villain/deck.svg b/src/template/villain/deck.svg index d7733f1..63337ea 100644 --- a/src/template/villain/deck.svg +++ b/src/template/villain/deck.svg @@ -285,7 +285,7 @@ - + @@ -323,22 +323,22 @@ - Header - + {{ card.name }} + - Keywords + {{ card.keywords }} - Text Here - "Type Quote Here!" - - Name, Comic # - Art By - + + {{ card.quote }} + {{ card.quoteCitation }} + Art By {{ card.artist }} + - 3 + {{ card.hp }} diff --git a/src/template/villain/input.json b/src/template/villain/input.json deleted file mode 100644 index 4d18ced..0000000 --- a/src/template/villain/input.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "cardTypes": { - "character": { - "back": { - "template": "character", - "inputs": { - "name": "text", - "hp": "number", - "title": "text" - } - }, - "inputs": { - "name": "text", - "hp": "number", - "title": "text" - } - }, - "instructions": { - "back": { - "template": "instructions", - "inputs": { - "name": "text", - "title": "text", - "gameplay": "textarea" - }, - "hide": { - "setupBox": "setup" - } - }, - "inputs": { - "name": "text", - "title": "text", - "setup": "textarea", - "gameplay": "textarea", - "advanced": "textarea" - } - }, - "deck": { - "inputs": { - "name": "text", - "hp": "number", - "image": "image", - "keywords": "text", - "text": "textarea", - "quote": "textarea", - "quoteCitation": "text", - "artist": "text" - }, - "hide": { - "hpMark": "hp", - "keywordBox": "keywords" - } - } - } -} diff --git a/src/template/villain/input.yaml b/src/template/villain/input.yaml new file mode 100644 index 0000000..22c184d --- /dev/null +++ b/src/template/villain/input.yaml @@ -0,0 +1,27 @@ +character: + name: text + hp: number + title: text +character-back: + name: text + hp: number + title: text +instructions: + name: text + title: text + setup: textarea + gameplay: textarea + advanced: textarea +instructions-back: + name: text + title: text + gameplay: textarea +deck: + name: text + hp: number + art: image + keywords: text + text: textarea + quote: textarea + quoteCitation: text + artist: text