From 126f80011133d6937311cfd8232a70c8472dac26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Wed, 15 May 2019 01:13:44 +0200 Subject: [PATCH] Card Component --- frontend/src/components/Card.vue | 52 ++++++++++++++++++++++++++++ frontend/src/components/Deck.vue | 28 +++++++-------- frontend/src/components/DeckList.vue | 2 +- 3 files changed, 67 insertions(+), 15 deletions(-) create mode 100644 frontend/src/components/Card.vue diff --git a/frontend/src/components/Card.vue b/frontend/src/components/Card.vue new file mode 100644 index 0000000..c20707e --- /dev/null +++ b/frontend/src/components/Card.vue @@ -0,0 +1,52 @@ + + + diff --git a/frontend/src/components/Deck.vue b/frontend/src/components/Deck.vue index ea512be..6ae7878 100644 --- a/frontend/src/components/Deck.vue +++ b/frontend/src/components/Deck.vue @@ -10,23 +10,17 @@ - + {{ part.count }} {{ part.heading }} - - - {{ card.dbentry.cost }} - - - - {{ card.dbentry.name }} - - - - {{ card.count }} - - + @@ -36,6 +30,8 @@