Generalise img
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 5.1 MiB After Width: | Height: | Size: 5.1 MiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 6.1 MiB After Width: | Height: | Size: 6.1 MiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
@@ -6,7 +6,7 @@ window.addEventListener('load', () => {
|
|||||||
const elem = funkoTemplate.content.cloneNode(true);
|
const elem = funkoTemplate.content.cloneNode(true);
|
||||||
const special = ['img', 'href'];
|
const special = ['img', 'href'];
|
||||||
|
|
||||||
elem.querySelector('.funko__img').setAttribute('src', `img/${funko.img}.jpg`);
|
elem.querySelector('.funko__img').setAttribute('src', `../img/${funko.img}.jpg`);
|
||||||
elem.querySelector('.funko__readmore').setAttribute('href', `/${funko.href}.html`);
|
elem.querySelector('.funko__readmore').setAttribute('href', `/${funko.href}.html`);
|
||||||
|
|
||||||
for (const [k, v] of Object.entries(funko)) {
|
for (const [k, v] of Object.entries(funko)) {
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 5.1 MiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
@@ -18,41 +18,41 @@
|
|||||||
<div class='row row-cols-2 row-cols-md-3 row-cols-lg-4 gy-5'>
|
<div class='row row-cols-2 row-cols-md-3 row-cols-lg-4 gy-5'>
|
||||||
<div>
|
<div>
|
||||||
<p>Age of Ultron Wanda</p>
|
<p>Age of Ultron Wanda</p>
|
||||||
<img src='https://laurenacton.github.io/img/aouwanda.jpg' alt='Age of Ultron Wanda'
|
<img src='../img/aouwanda.jpg' alt='Age of Ultron Wanda'
|
||||||
width='150px' />
|
width='150px' />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>Anti Venom</p>
|
<p>Anti Venom</p>
|
||||||
<img src='https://laurenacton.github.io/img/antivenom.jpg' alt='Anti Venom'
|
<img src='../img/antivenom.jpg' alt='Anti Venom'
|
||||||
width='150px' />
|
width='150px' />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>Integrated Spiderman Suit</p>
|
<p>Integrated Spiderman Suit</p>
|
||||||
<img src='https://laurenacton.github.io/img/spidey.jpg' alt='Integrated Spiderman Suit'
|
<img src='../img/spidey.jpg' alt='Integrated Spiderman Suit'
|
||||||
width='150px' />
|
width='150px' />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>Halloween Wanda</p>
|
<p>Halloween Wanda</p>
|
||||||
<img src='https://laurenacton.github.io/img/halwanda.jpg' alt='Halloween Wanda'
|
<img src='../img/halwanda.jpg' alt='Halloween Wanda'
|
||||||
width='150px' />
|
width='150px' />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>The Scarlet Witch</p>
|
<p>The Scarlet Witch</p>
|
||||||
<img src='https://laurenacton.github.io/img/floatwanda.jpg' alt='The Scarlet Witch'
|
<img src='../img/floatwanda.jpg' alt='The Scarlet Witch'
|
||||||
width='150px' />
|
width='150px' />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>Kate Bishop and Lucky the Dog</p>
|
<p>Kate Bishop and Lucky the Dog</p>
|
||||||
<img src='https://laurenacton.github.io/img/katebishop.jpg'
|
<img src='../img/katebishop.jpg'
|
||||||
alt='Kate Bishop and Lucky the Dog' width='150px' />
|
alt='Kate Bishop and Lucky the Dog' width='150px' />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>Yelena</p>
|
<p>Yelena</p>
|
||||||
<img src='https://laurenacton.github.io/img/yelena.jpg' alt='Yelena' width='150px' />
|
<img src='../img/yelena.jpg' alt='Yelena' width='150px' />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>Civil War Wanda</p>
|
<p>Civil War Wanda</p>
|
||||||
<img src='https://laurenacton.github.io/img/cwwanda.jpg' alt='Civil War Wanda'
|
<img src='../img/cwwanda.jpg' alt='Civil War Wanda'
|
||||||
width='150px' />
|
width='150px' />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export default {
|
|||||||
},
|
},
|
||||||
template: `
|
template: `
|
||||||
<div class="card text-center">
|
<div class="card text-center">
|
||||||
<img class='card-img-top' :src="'https://laurenacton.github.io/img/' + funko.img + '.jpg'" :alt="funko.name" width="150" />
|
<img class='card-img-top' :src="'../img/' + funko.img + '.jpg'" :alt="funko.name" width="150" />
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<p v-html="funko.title"></p>
|
<p v-html="funko.title"></p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 5.1 MiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 6.1 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |