1
0
This commit is contained in:
2022-03-29 23:50:01 +00:00
parent e09e453071
commit e9468a9a09
3 changed files with 11 additions and 16 deletions

View File

@@ -1,17 +1,19 @@
export default {
props: ['funko'],
props: {
funko: Object
},
template: `
<div class="card text-center">
<img class='card-img-top' :src="'https://laurenacton.github.io/img/' + funko.img + '.jpg'" :alt="funko.name" width="150" />
<div class="card-header">
<p>{{funko.name}}</p>
<p v-html="funko.title"></p>
</div>
<div class="card-body">
<div class="card-text">
<p>{{funko.desc}}</p>
<p v-html="funko.description"></p>
</div>
<a :href="{{funko.href}}" class="btn btn-primary stretched-link">Read more</a>
<a :href="funko.title" class="btn btn-primary stretched-link">Read more</a>
</div>
</div>
`
}
};