adding cards

This commit is contained in:
José Conde
2023-06-12 19:21:22 +02:00
parent 783b0f18c8
commit ce649bc711
11 changed files with 504 additions and 38 deletions

View File

@ -5,16 +5,11 @@ export default {
title: String,
description: String
},
methods: {
getImage(image) {
return new URL(`/src/assets/images/${image}`, import.meta.url).href;
},
}
}
</script>
<template>
<div class="origin-box">
<img :src="getImage(image)" class="image" />
<img :src="$helper.getImage(image)" class="image" />
<h3 class="title">{{ title }}</h3>
<p class="description">{{ description }}</p>
</div>