From 7209b6bbeeee9863f69ad70585cc75825fa96ceb Mon Sep 17 00:00:00 2001 From: axolotle Date: Mon, 15 Mar 2021 10:01:59 +0100 Subject: [PATCH] separate TextList into sub components --- src/components/text/TextCard.vue | 62 +++++++++++++++++++++++++++ src/components/text/TextCardBase.vue | 63 +++++++++++----------------- src/components/text/TextMiniCard.vue | 20 +++++++++ 3 files changed, 106 insertions(+), 39 deletions(-) create mode 100644 src/components/text/TextCard.vue create mode 100644 src/components/text/TextMiniCard.vue diff --git a/src/components/text/TextCard.vue b/src/components/text/TextCard.vue new file mode 100644 index 0000000..1ec0a0a --- /dev/null +++ b/src/components/text/TextCard.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/src/components/text/TextCardBase.vue b/src/components/text/TextCardBase.vue index ffe343c..25a7f52 100644 --- a/src/components/text/TextCardBase.vue +++ b/src/components/text/TextCardBase.vue @@ -5,7 +5,7 @@

@@ -14,20 +14,10 @@

- - - {{ child.id }} - - - - +
- + - - {{ $t('siblings') }} - - -
-
- {{ sibling.authors | list }}, - {{ sibling.title }}, - {{ sibling.edition }} -
-
-
+
@@ -63,27 +36,34 @@ + +