Files
tayronafoods-web/src/components/Different.vue
2023-09-04 00:52:13 +02:00

55 lines
1.4 KiB
Vue

<script setup>
import DifferentBox from './DifferentBox.vue';
</script>
<template>
<section class="different">
<h2>{{ $t('different.header') }}</h2>
<h3>{{ $t('different.subheader') }}</h3>
<div class="boxes">
<DifferentBox image="coffee-beans1.png" :title="$t('different.beans.title')" :description="$t('different.beans.description')" />
<DifferentBox image="badge1.png" :title="$t('different.quality.title')" :description="$t('different.quality.description')" />
<DifferentBox image="coffee-cup1.png" :title="$t('different.extraordinary.title')" :description="$t('different.extraordinary.description')" />
<DifferentBox image="best-price1.png" :title="$t('different.affordable.title')" :description="$t('different.affordable.description')" />
</div>
<h3>{{ $t('different.subheader1') }}</h3>
</section>
</template>
<style lang="scss" scoped>
.different {
color: #fff;
background-color: #000;
padding: 0 0 0px;
}
h2 {
padding-bottom: 26px !important;
font-size: 52px;
text-align: center;
}
h3 {
margin-top: 24px;
padding: 0 150px;
font-size: 20px;
line-height: 30px;
text-align: center;
font-weight: 200;
margin-bottom: 50px;
}
.boxes {
display: flex;
justify-content: space-between;
}
@media only screen and (max-width: 767px) {
h3 {
padding: 0;
}
.boxes {
flex-direction: column;
}
}
</style>