Skip to content
Snippets Groups Projects
Commit e716edc6 authored by Zara Mudassar's avatar Zara Mudassar
Browse files

Delete ItemCard.vue

parent 33da2593
No related branches found
No related tags found
2 merge requests!19Item card,!17Item card
Pipeline #176177 passed
<template>
<div class="flex justify-center mt-5">
<div class="w-2/5 rounded overflow-hidden bg-gray-100">
<img
class="w-full"
:src="item.img || require('../assets/default-product.png')"
alt="Item image"
/>
<div class="p-1 m-1">
<p class="text-gray-700 text-xs" id="adress">
{{ item.adresse }}
</p>
<p class="font-bold text-sm" id="title">{{ item.title }}</p>
<p class="text-gray-700 text-xs" id="price">
{{ item.price }}
</p>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
item: {
img: "",
adresse: "adresse",
title: "Tittel",
price: "pris kr",
},
};
},
};
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment