about summary refs log tree commit diff
path: root/components/GoogleDriveLink.vue
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-25 22:32:16 +0100
committerGitHub <noreply@github.com>2020-01-25 22:32:16 +0100
commit5305c18b05803bf0d032027e645c71ac59627621 (patch)
tree9d4597e72912c9fe2b4c38b519d8fc3a09948fd5 /components/GoogleDriveLink.vue
parent1b74216fc4afa740991dcc9986eb6843c5b07a59 (diff)
parent32adaba2ded83ab0d69ebeb4d1d839476d94c476 (diff)
downloadpuszcza-5305c18b05803bf0d032027e645c71ac59627621.tar.gz
puszcza-5305c18b05803bf0d032027e645c71ac59627621.zip
Merge pull request #23 from 19pdh/post-image
Post image
Diffstat (limited to 'components/GoogleDriveLink.vue')
-rw-r--r--components/GoogleDriveLink.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/GoogleDriveLink.vue b/components/GoogleDriveLink.vue
index c54c630..ada6eff 100644
--- a/components/GoogleDriveLink.vue
+++ b/components/GoogleDriveLink.vue
@@ -6,7 +6,7 @@
     <div class="text">
       <p v-html="text"></p>
     </div>
-    <a :href="link">
+    <a :href="link" target="_blank" rel="noopener">
       <plain-button text="Przejdź" />
     </a>
   </div>
@@ -21,13 +21,13 @@ export default {
   props: {
     text: {
       type: String,
-      required: true
+      required: true,
     },
     link: {
       type: String,
-      required: true
-    }
-  }
+      required: true,
+    },
+  },
 }
 </script>