Add social sharing buttons back

This commit is contained in:
Jonathan Cremin 2016-10-23 23:36:47 +01:00
parent 0a9ea15b58
commit 1684e8c555
4 changed files with 81 additions and 1 deletions

View file

@ -1,5 +1,6 @@
<template>
<div class="container" v-if="item.name">
<social v-bind:name="item.name" v-bind:artist="item.artist.name" v-bind:url="`https://match.audio/${item.service}/${item.type}/${item.externalId}`"></social>
<div class="share-heading">
<h3 class="title is-3">Matched {{ item.albumName ? 'tracks' : 'albums' }} for</h3>
<h2 class="title is-2"><strong>{{ item.name }}</strong> - {{ item.artist.name }}</h2>
@ -39,10 +40,12 @@
</template>
<script>
import social from '../components/social.vue';
import { fetchItem } from '../store/api';
export default {
name: 'share-view',
components: { social },
data() {
return {
item: {},