about summary refs log tree commit diff
path: root/src/components
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-29 15:36:31 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-29 15:36:31 +0200
commit69512e87650730fe7668da80093aafb9eaf87468 (patch)
tree77ad7fb8fb227232cc0ba2ed270439001b8dfa09 /src/components
parent6695e07be17768dd8569a60e09a6ac2823eb2273 (diff)
downloadpuszcza-69512e87650730fe7668da80093aafb9eaf87468.tar.gz
puszcza-69512e87650730fe7668da80093aafb9eaf87468.zip
Add ContactView
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Footer.vue14
-rw-r--r--src/components/JoinUs.vue2
2 files changed, 12 insertions, 4 deletions
diff --git a/src/components/Footer.vue b/src/components/Footer.vue
index 63f8e9a..8288667 100644
--- a/src/components/Footer.vue
+++ b/src/components/Footer.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="footer">
+  <div class="footer" :style="style">
     <div class="map">
       <div class="routes">
         <router-link v-for="route in routes" :key="route.name" :to="route.path">{{route.name}}</router-link>
@@ -31,14 +31,22 @@
 export default {
   props: {
     routes: Array,
-    specialRoutes: Array
+    specialRoutes: Array,
+    color: {
+      type: String,
+      default: "#507b34"
+    }
+  },
+  computed: {
+    style() {
+      return `background-color: ${this.color}`;
+    }
   }
 };
 </script>
 
 <style scoped>
 .footer {
-  background-color: #507b34;
   color: #ffffff;
   min-height: 175px;
   width: 100vw;
diff --git a/src/components/JoinUs.vue b/src/components/JoinUs.vue
index ab2d853..070e7f4 100644
--- a/src/components/JoinUs.vue
+++ b/src/components/JoinUs.vue
@@ -5,7 +5,7 @@
         <h1 class="text">Rozpocznij swoją harcerską przygodę!</h1>
       </div>
       <div class="button">
-        <router-link to="/join-us">Dołącz do nas!</router-link>
+        <router-link to="/kontakt">Dołącz do nas!</router-link>
       </div>
     </div>
   </section>