1
0

FunkoCards should use a seperate href prop for link

This commit is contained in:
2022-03-30 01:08:04 +00:00
parent 0ab8cfc17f
commit caab316417
2 changed files with 17 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ export default {
<div class="card-text"> <div class="card-text">
<p v-html="funko.description"></p> <p v-html="funko.description"></p>
</div> </div>
<a :href="funko.title" class="btn btn-primary stretched-link">Read more</a> <a :href="funko.href + '.html'" class="btn btn-primary stretched-link">Read more</a>
</div> </div>
</div> </div>
` `

View File

@@ -4,55 +4,63 @@ const funkos = [
img: 'aouwanda', img: 'aouwanda',
price: 50, price: 50,
description: 'bob', description: 'bob',
rank: 1 rank: 1,
href: 'aouwanda'
}, },
{ {
title: 'Anti Venom', title: 'Anti Venom',
img: 'antivenom', img: 'antivenom',
price: 50, price: 50,
description: 'bob', description: 'bob',
rank: 1 rank: 1,
href: 'antivenom'
}, },
{ {
title: 'Integrated Spiderman Suit', title: 'Integrated Spiderman Suit',
img: 'spidey', img: 'spidey',
price: 50, price: 50,
description: 'bob', description: 'bob',
rank: 1 rank: 1,
href: 'spidey'
}, },
{ {
title: 'Halloween Wanda', title: 'Halloween Wanda',
img: 'halwanda', img: 'halwanda',
price: 50, price: 50,
description: 'bob', description: 'bob',
rank: 1 rank: 1,
href: 'halwanda'
}, },
{ {
title: 'The Scarlet Witch', title: 'The Scarlet Witch',
img: 'floatwanda', img: 'floatwanda',
price: 50, price: 50,
description: 'bob', description: 'bob',
rank: 1 rank: 1,
href: 'floatwanda'
}, },
{ {
title: 'Kate Bishop and Lucky the Dog', title: 'Kate Bishop and Lucky the Dog',
img: 'katebishop', img: 'katebishop',
price: 50, price: 50,
description: 'bob', description: 'bob',
rank: 1 rank: 1,
href: 'katebishop'
}, },
{ {
title: 'Yelena', title: 'Yelena',
img: 'yelena', img: 'yelena',
price: 50, price: 50,
description: 'bob', description: 'bob',
rank: 1 rank: 1,
href: 'yelena'
}, },
{ {
title: 'Civil War Wanda', title: 'Civil War Wanda',
img: 'cwwanda', img: 'cwwanda',
price: 50, price: 50,
description: 'bob', description: 'bob',
rank: 1 rank: 1,
href: 'cwwanda'
} }
]; ];