tayronafoods-web/src/components/DifferentBox.vue
2023-07-26 21:09:28 +02:00

46 lines
767 B
Vue

<script>
export default {
props: {
image: String,
title: String,
description: String
},
}
</script>
<template>
<div class="different-box">
<img :src="$helper.getImage(image)" class="image" />
<h3 class="title">{{ title }}</h3>
<p class="description">{{ description }}</p>
</div>
</template>
<style lang="scss" scoped>
.different-box {
width: 280px;
height: 284px;
background: #E2CAAA;
text-align: center;
padding: 36px 24px 0;
}
.image {
width: 88px;
height: 88px;
}
.title {
margin-top: 24px;
color: #603809;
font-weight: 700;
font-size: 28px;
}
.description {
margin-top: 12px;
font-style: 400;
font-weight: 400;
font-size: 20px;
line-height: 24px;
color: #1E1E1E;
text-align: center;
}
</style>