mirror of
https://github.com/bakateam/merakiui.git
synced 2025-12-10 07:25:34 +00:00
46 lines
2.5 KiB
Vue
46 lines
2.5 KiB
Vue
<template>
|
|
<div :id="name | toId">
|
|
<div class="flex max-w-md mx-auto bg-white shadow-lg rounded-lg overflow-hidden">
|
|
<div class="w-1/3 bg-cover"
|
|
style="background-image: url('https://images.unsplash.com/photo-1494726161322-5360d4d0eeae?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=334&q=80')"></div>
|
|
|
|
<div class="w-2/3 p-4 md:p-4">
|
|
<h1 class="text-gray-900 font-bold text-2xl">Backpack</h1>
|
|
<p class="mt-2 text-gray-600 text-sm">Lorem ipsum dolor sit amet consectetur adipisicing elit In odit</p>
|
|
<div class="flex item-center mt-2">
|
|
<svg class="w-5 h-5 fill-current text-gray-700" viewBox="0 0 24 24">
|
|
<path d="M12 17.27L18.18 21L16.54 13.97L22 9.24L14.81 8.63L12 2L9.19 8.63L2 9.24L7.46 13.97L5.82 21L12 17.27Z"/>
|
|
</svg>
|
|
<svg class="w-5 h-5 fill-current text-gray-700" viewBox="0 0 24 24">
|
|
<path d="M12 17.27L18.18 21L16.54 13.97L22 9.24L14.81 8.63L12 2L9.19 8.63L2 9.24L7.46 13.97L5.82 21L12 17.27Z"/>
|
|
</svg>
|
|
<svg class="w-5 h-5 fill-current text-gray-700" viewBox="0 0 24 24">
|
|
<path d="M12 17.27L18.18 21L16.54 13.97L22 9.24L14.81 8.63L12 2L9.19 8.63L2 9.24L7.46 13.97L5.82 21L12 17.27Z"/>
|
|
</svg>
|
|
<svg class="w-5 h-5 fill-current text-gray-500" viewBox="0 0 24 24">
|
|
<path d="M12 17.27L18.18 21L16.54 13.97L22 9.24L14.81 8.63L12 2L9.19 8.63L2 9.24L7.46 13.97L5.82 21L12 17.27Z"/>
|
|
</svg>
|
|
<svg class="w-5 h-5 fill-current text-gray-500" viewBox="0 0 24 24">
|
|
<path d="M12 17.27L18.18 21L16.54 13.97L22 9.24L14.81 8.63L12 2L9.19 8.63L2 9.24L7.46 13.97L5.82 21L12 17.27Z"/>
|
|
</svg>
|
|
</div>
|
|
<div class="flex item-center justify-between mt-3">
|
|
<h1 class="text-gray-700 font-bold text-lg md:text-xl">$220</h1>
|
|
<button class="px-2 py-1 bg-gray-800 text-white text-xs font-bold uppercase rounded hover:bg-gray-700 focus:outline-none focus:bg-gray-700">Add to Card</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
name: 'Product Card With Evaluation',
|
|
}
|
|
}
|
|
}
|
|
</script>
|