From 07b8115a37a22b2a7d935154e8231c8a90f199d6 Mon Sep 17 00:00:00 2001
From: dave <starpumadev@gmail.com>
Date: Tue, 19 Mar 2019 14:36:27 -0400
Subject: #444 - show `remote follow` button when logged out

---
 src/components/remote_follow/remote_follow.vue | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 src/components/remote_follow/remote_follow.vue

(limited to 'src/components/remote_follow/remote_follow.vue')

diff --git a/src/components/remote_follow/remote_follow.vue b/src/components/remote_follow/remote_follow.vue
new file mode 100644
index 00000000..db361e49
--- /dev/null
+++ b/src/components/remote_follow/remote_follow.vue
@@ -0,0 +1,26 @@
+<template>
+  <div class="remote-follow">
+    <form method="POST" :action='subscribeUrl'>
+      <input type="hidden" name="nickname" :value="user.screen_name">
+      <input type="hidden" name="profile" value="">
+      <button click="submit" class="remote-button">
+        {{ $t('user_card.remote_follow') }}
+      </button>
+    </form>
+  </div>
+</template>
+
+<script src="./remote_follow.js"></script>
+
+<style lang="scss">
+@import '../../_variables.scss';
+
+.remote-follow {
+  max-width: 220px;
+
+  .remote-button {
+    width: 100%;
+    min-height: 28px;
+  }
+}
+</style>
-- 
cgit v1.2.3-70-g09d2


From 96c88b334c2bf19ed1ffc418f0603d49c5a71652 Mon Sep 17 00:00:00 2001
From: dave <starpumadev@gmail.com>
Date: Tue, 19 Mar 2019 14:41:50 -0400
Subject: #444 - remote follow clean up

---
 src/components/remote_follow/remote_follow.vue | 2 --
 1 file changed, 2 deletions(-)

(limited to 'src/components/remote_follow/remote_follow.vue')

diff --git a/src/components/remote_follow/remote_follow.vue b/src/components/remote_follow/remote_follow.vue
index db361e49..fb2147bd 100644
--- a/src/components/remote_follow/remote_follow.vue
+++ b/src/components/remote_follow/remote_follow.vue
@@ -13,8 +13,6 @@
 <script src="./remote_follow.js"></script>
 
 <style lang="scss">
-@import '../../_variables.scss';
-
 .remote-follow {
   max-width: 220px;
 
-- 
cgit v1.2.3-70-g09d2

