| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <!--
- Carte "Avantage" de la section Avantages d'une page Logiciel
- -->
- <template>
- <LayoutContainer>
- <div>
- <div class="card-title">
- <h4>
- {{ benefit.title }}
- </h4>
- <span class="number">
- {{ benefit.number }}
- </span>
- </div>
- <v-divider thickness="2"/>
- <div class="description">
- <p class="mr-4">
- {{ benefit.description }}
- </p>
- </div>
- <v-img
- :src="benefit.image"
- cover
- />
- </div>
- </LayoutContainer>
- </template>
- <script setup lang="ts">
- import type { Benefit } from "~/types/interface";
- const props = defineProps({
- benefit: {
- type: Object as PropType<Benefit>,
- required: true
- }
- });
- </script>
- <style scoped lang="scss">
- .v-row {
- width: 90%;
- margin-left: auto;
- margin-right: auto;
- }
- hr {
- opacity: 70%;
- }
- .v-img {
- height: 400px;
- }
- .card-title {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- font-weight: 600;
- font-size: 1.3rem;
- margin-bottom: 1rem;
- h4 {
- font-weight: 300;
- font-size: 1.5rem;
- line-height: 1rem;
- color: #0e2d32;
- }
- .number {
- font-weight: 500;
- font-size: 1.3rem;
- color: var(--on-primary-color-alt);
- }
- }
- .description {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- height: 7rem;
- p {
- font-weight: normal;
- font-size: 1rem;
- color: #091d20;
- margin-top: 1rem;
- height: 5rem;
- }
- ul {
- font-weight: normal;
- font-size: 0.8rem;
- color: #091d20;
- margin-top: 1rem;
- margin-bottom: 1rem;
- }
- }
- </style>
|