From f738022e89c025dd7ffd24f45f08e3071ebc6c94 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 15 Apr 2024 01:01:51 +0900 Subject: [PATCH] TMP: incomplete 3 columns grid view (need refactoring / do not copy many code in the end!) --- components/status/StatusCardOnlyMedia.vue | 45 ++++++++++++++ .../status/StatusMediaWithoutContainer.vue | 46 ++++++++++++++ .../timeline/TimelineMediaPaginator.vue | 62 +++++++++++++++++++ pages/[[server]]/@[account]/index/media.vue | 2 +- 4 files changed, 154 insertions(+), 1 deletion(-) create mode 100644 components/status/StatusCardOnlyMedia.vue create mode 100644 components/status/StatusMediaWithoutContainer.vue create mode 100644 components/timeline/TimelineMediaPaginator.vue diff --git a/components/status/StatusCardOnlyMedia.vue b/components/status/StatusCardOnlyMedia.vue new file mode 100644 index 00000000..1597e65c --- /dev/null +++ b/components/status/StatusCardOnlyMedia.vue @@ -0,0 +1,45 @@ + + + diff --git a/components/status/StatusMediaWithoutContainer.vue b/components/status/StatusMediaWithoutContainer.vue new file mode 100644 index 00000000..ef14494e --- /dev/null +++ b/components/status/StatusMediaWithoutContainer.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/components/timeline/TimelineMediaPaginator.vue b/components/timeline/TimelineMediaPaginator.vue new file mode 100644 index 00000000..51aaf6a7 --- /dev/null +++ b/components/timeline/TimelineMediaPaginator.vue @@ -0,0 +1,62 @@ + + + diff --git a/pages/[[server]]/@[account]/index/media.vue b/pages/[[server]]/@[account]/index/media.vue index 84da07f7..60f8df58 100644 --- a/pages/[[server]]/@[account]/index/media.vue +++ b/pages/[[server]]/@[account]/index/media.vue @@ -19,6 +19,6 @@ if (account) {