|
|
@@ -5,33 +5,26 @@ Section "Avantages" de la page du logiciel Artist
|
|
|
<AnchoredSection id="benefits">
|
|
|
<div>
|
|
|
<LayoutContainer>
|
|
|
- <v-row class="row-custom">
|
|
|
- <LayoutUISubTitle
|
|
|
- :iconSize="6"
|
|
|
- :iconClasses="iconClasses"
|
|
|
- :titleText="'Découvrez les avantages de la solution'"
|
|
|
- :iconColor="'#fac20a'"
|
|
|
- />
|
|
|
- <LayoutUITitle title="Des avantages concrets" />
|
|
|
+ <v-row>
|
|
|
+ <LayoutUISubTitle>
|
|
|
+ Découvrez les avantages de la solution
|
|
|
+ </LayoutUISubTitle>
|
|
|
+
|
|
|
+ <LayoutUITitle>
|
|
|
+ Des avantages concrets
|
|
|
+ </LayoutUITitle>
|
|
|
</v-row>
|
|
|
|
|
|
- <v-row class="row-custom">
|
|
|
+ <v-row>
|
|
|
<v-col
|
|
|
cols="12"
|
|
|
md="4"
|
|
|
offset-md="1"
|
|
|
- v-for="(card, index) in cards"
|
|
|
+ v-for="(benefit, index) in benefits"
|
|
|
:key="index"
|
|
|
>
|
|
|
- <CommonCardAvantageCard
|
|
|
- :title="card.title"
|
|
|
- :number="card.number"
|
|
|
- :description="card.description"
|
|
|
- :image="card.image"
|
|
|
- :isMemberCMF="card.isMemberCMF"
|
|
|
- :numberColor="card.numberColor"
|
|
|
- :dynamicNumberColor="'#fac20a'"
|
|
|
-
|
|
|
+ <CommonCardBenefit
|
|
|
+ :benefit="benefit"
|
|
|
/>
|
|
|
</v-col>
|
|
|
</v-row>
|
|
|
@@ -40,11 +33,11 @@ Section "Avantages" de la page du logiciel Artist
|
|
|
</AnchoredSection>
|
|
|
</template>
|
|
|
|
|
|
-<script setup>
|
|
|
-import { ref } from "vue";
|
|
|
+<script setup lang="ts">
|
|
|
import AnchoredSection from "~/components/Layout/AnchoredSection.vue";
|
|
|
+import { Benefit } from "~/types/interface";
|
|
|
|
|
|
-const cards = ref([
|
|
|
+const benefits: Ref<Array<Benefit>> = ref([
|
|
|
{
|
|
|
title: "Un gain de temps",
|
|
|
number: "01",
|
|
|
@@ -71,9 +64,9 @@ const cards = ref([
|
|
|
},
|
|
|
]);
|
|
|
</script>
|
|
|
-<style scoped>
|
|
|
|
|
|
-.row-custom{
|
|
|
+<style scoped lang="scss">
|
|
|
+.v-row {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: center;
|
|
|
@@ -82,5 +75,4 @@ const cards = ref([
|
|
|
margin-left: auto;
|
|
|
margin-right: auto;
|
|
|
}
|
|
|
-
|
|
|
</style>
|