From 86422c81b7177bd24e8678d413cb426a670e7f64 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 15 Jul 2021 23:35:34 -0600 Subject: [PATCH] Update presenters, improve content warnings --- .../assets/js/components/PostComponent.vue | 16 ++-- resources/assets/js/components/RemotePost.vue | 8 +- .../assets/js/components/RemoteProfile.vue | 90 +++--------------- .../presenter/PhotoAlbumPresenter.vue | 95 +++++++++++++------ .../components/presenter/PhotoPresenter.vue | 24 +++++ 5 files changed, 113 insertions(+), 120 deletions(-) diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue index 38b966ffb..7b4e50456 100644 --- a/resources/assets/js/components/PostComponent.vue +++ b/resources/assets/js/components/PostComponent.vue @@ -57,19 +57,19 @@
- +
- +
- +
- +
@@ -292,19 +292,19 @@
- +
- +
- +
- +
diff --git a/resources/assets/js/components/RemotePost.vue b/resources/assets/js/components/RemotePost.vue index ff6806bb0..d653c6f68 100644 --- a/resources/assets/js/components/RemotePost.vue +++ b/resources/assets/js/components/RemotePost.vue @@ -50,19 +50,19 @@
- +
- +
- +
- +
diff --git a/resources/assets/js/components/RemoteProfile.vue b/resources/assets/js/components/RemoteProfile.vue index 4483bc052..d9f2bd350 100644 --- a/resources/assets/js/components/RemoteProfile.vue +++ b/resources/assets/js/components/RemoteProfile.vue @@ -60,60 +60,10 @@
-
-
-
- -
- {{profile.username}} - -
-
- -
-
- -
-
-
- -

{{status.spoiler_text ? status.spoiler_text : 'CW / NSFW / Hidden Media'}}

-

(click to show)

-
- - - -
-
-
- - - - -
- -
- -
-
-

- - {{profile.username}} - - -

-
-
-

- - - -

-
-
-
+
+
@@ -195,10 +145,17 @@