Turn instrument button into a link

This commit is contained in:
Ramon Wenger 2021-06-06 19:21:40 +02:00
parent dcd8420419
commit f1db43a092
1 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,7 @@
v-html="value.description"/> v-html="value.description"/>
<router-link <router-link
:to="{name: 'instrument', params: { slug: value.slug }}" :to="{name: 'instrument', params: { slug: value.slug }}"
class="instrument-widget__button button" class="instrument-widget__button button">Instrument anzeigen
tag="button">Instrument anzeigen
</router-link> </router-link>
</div> </div>
</template> </template>
@ -18,7 +17,8 @@
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@import "@/styles/_variables.scss"; @import "~styles/_variables.scss";
.instrument-widget { .instrument-widget {
margin-bottom: $small-spacing; margin-bottom: $small-spacing;