about summary refs log tree commit diff
path: root/components/JoinUs.vue
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-11-27 23:42:38 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-11-27 23:42:38 +0100
commitfe81f3d551f00d8a5ee5ee4c738e02ffc2d06ecb (patch)
treefda4baf4496e2c12f4f3990e04dc34cedc4e43cb /components/JoinUs.vue
parent6e66497bc3e8b00c3f7b741fe6c19d966f877a3b (diff)
downloadpuszcza-fe81f3d551f00d8a5ee5ee4c738e02ffc2d06ecb.tar.gz
puszcza-fe81f3d551f00d8a5ee5ee4c738e02ffc2d06ecb.zip
Add PlainButton
Diffstat (limited to 'components/JoinUs.vue')
-rw-r--r--components/JoinUs.vue15
1 files changed, 12 insertions, 3 deletions
diff --git a/components/JoinUs.vue b/components/JoinUs.vue
index 6ffec91..d8bfadf 100644
--- a/components/JoinUs.vue
+++ b/components/JoinUs.vue
@@ -4,13 +4,22 @@
       <div class="title">
         <div class="text">Rozpocznij swoją harcerską przygodę!</div>
       </div>
-      <div class="button">
-        <nuxt-link to="/kontakt">Dołącz do nas!</nuxt-link>
-      </div>
+      <plain-button @click="$router.push('/kontakt')" text="Dołącz do nas" />
     </div>
   </section>
 </template>
 
+<script>
+import PlainButton from './Buttons/PlainButton'
+
+export default {
+  name: 'JoinUs',
+  components: {
+    PlainButton
+  }
+}
+</script>
+
 <style scoped>
 .joinus {
   width: 100%;