diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-30 10:36:23 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-30 10:36:23 +0200 |
commit | 021b6e975f6a263b96074502cabe4baf0eb6f875 (patch) | |
tree | 0ebe5c4ac8c8bf4817845df632b1fcbe1746e5a3 /components/Footer.vue | |
parent | 4f0d4d224e2d77a257e90d64d17d7218011f8613 (diff) | |
download | puszcza-021b6e975f6a263b96074502cabe4baf0eb6f875.tar.gz puszcza-021b6e975f6a263b96074502cabe4baf0eb6f875.zip |
Add testing
Diffstat (limited to 'components/Footer.vue')
-rw-r--r-- | components/Footer.vue | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/components/Footer.vue b/components/Footer.vue index 1cdad44..69ea76a 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -2,14 +2,10 @@ <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> + <nuxt-link v-for="route in routes" :key="route.name" :to="route.path">{{route.name}}</nuxt-link> </div> <div class="routes"> - <router-link - v-for="route in specialRoutes" - :key="route.name" - :to="route.path" - >{{route.name}}</router-link> + <nuxt-link v-for="route in specialRoutes" :key="route.name" :to="route.path">{{route.name}}</nuxt-link> </div> </div> <div class="space"></div> @@ -34,15 +30,15 @@ export default { specialRoutes: Array, color: { type: String, - default: "#507b34" + default: '#507b34' } }, computed: { style() { - return `background-color: ${this.color}`; + return `background-color: ${this.color}` } } -}; +} </script> <style scoped> |