| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <template>
- <LayoutContainer>
- <v-row>
- <LayoutUISubTitle>
- Découvrez les avantages de la solution
- </LayoutUISubTitle>
- <LayoutUITitle>
- {{ title }}
- </LayoutUITitle>
- </v-row>
- <v-row>
- <v-col
- cols="12"
- md="4"
- offset-md="1"
- v-for="(benefit, index) in benefits"
- :key="index"
- >
- <CommonCardBenefit
- :benefit="benefit"
- />
- </v-col>
- </v-row>
- </LayoutContainer>
- </template>
- <script setup lang="ts">
- import type { Benefit } from "~/types/interface";
- const props = defineProps({
- benefits: {
- type: Array as PropType<Array<Benefit>>,
- required: true
- },
- title: {
- type: String,
- required: false,
- default: "Des avantages concrets"
- }
- })
- </script>
- <style scoped lang="scss">
- .v-row {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- width: 90%;
- margin-left: auto;
- margin-right: auto;
- }
- </style>
|