From fb7b121103eecf5e9c4109b5f1690b40f02643c2 Mon Sep 17 00:00:00 2001 From: Paul Tirk Date: Thu, 26 Oct 2023 21:45:39 +0200 Subject: use template component for list/content views Signed-off-by: Paul Tirk --- src/components/ContentTemplate.vue | 68 ++++++++++++++++++++++++++++++++++++++ src/components/routes/All.vue | 42 ++++++----------------- src/components/routes/Feed.vue | 46 ++++++++------------------ src/components/routes/Folder.vue | 46 ++++++++------------------ src/components/routes/Starred.vue | 50 ++++++++-------------------- src/components/routes/Unread.vue | 51 +++++++++------------------- 6 files changed, 133 insertions(+), 170 deletions(-) create mode 100644 src/components/ContentTemplate.vue (limited to 'src') diff --git a/src/components/ContentTemplate.vue b/src/components/ContentTemplate.vue new file mode 100644 index 000000000..47af3404a --- /dev/null +++ b/src/components/ContentTemplate.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/src/components/routes/All.vue b/src/components/routes/All.vue index 4bf95e3f6..fda92d593 100644 --- a/src/components/routes/All.vue +++ b/src/components/routes/All.vue @@ -1,38 +1,27 @@