| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252 |
- <!--
- Section "Présentation" d'une page Logiciel
- -->
- <template>
- <div id="Presentation">
- <LayoutContainer>
- <v-row>
- <!-- Colonne 1 (sous-titre, illustration logiciels, prix) -->
- <v-col cols="5">
- <LayoutUISubTitle class="ml-8" >
- {{ title }}
- </LayoutUISubTitle>
- <v-img
- src="/images/logiciels/Opentalent-disponible-su-Multi-support.png"
- class="w-100"
- />
- <div class="pricing-rectangle rectangle-4 ml-6">
- <div class="logo-circle">
- <div class="content-flex ml-6">
- <v-img
- :src="logoSrc"
- class="software-logo"
- />
- </div>
- </div>
- <div v-if="pricingAmount" class="details">
- <p class="small-text">
- {{ pricingFromText }}
- </p>
- <p class="big-text">
- {{ pricingAmount }}
- <span class="smaller-text">
- {{ pricingPeriodText }}
- </span>
- </p>
- <p class="small-text">
- {{ pricingAnnouncementText }}
- </p>
- </div>
- <div v-else class="details medium-text">
- {{ pricingAltText }}
- </div>
- </div>
- </v-col>
- <!-- Colonne 2 (présentation, pictogrammes des fonctionnalités) -->
- <v-col cols="6">
- <h3>
- {{ section1title }}
- </h3>
- <ul class="ml-12 mt-6">
- <li
- v-for="item in features"
- :key="item"
- >
- {{ item }}
- </li>
- </ul>
- <h3 class="mt-12 ml-6">
- {{ section2title }}
- </h3>
- <div class="d-flex flex-row">
- <div
- v-for="picto in pictos"
- :key="picto.text"
- class="picto"
- >
- <v-img :src="picto.src" class="img" />
- <p class="text">
- {{ picto.text }}
- </p>
- </div>
- </div>
- </v-col>
- </v-row>
- </LayoutContainer>
- </div>
- </template>
- <script setup lang="ts">
- import type { PropType } from "@vue/runtime-core";
- import type { FeaturePicto } from "~/types/interface";
- const route = useRoute();
- const props = defineProps({
- title: {
- type: String,
- required: true
- },
- section1title: {
- type: String,
- required: false,
- default: "Un outil complet en ligne"
- },
- section2title: {
- type: String,
- required: false,
- default: "Des caractéristiques uniques & dédiée"
- },
- features: {
- type: Object as PropType<Array<string>>,
- required: true
- },
- pictos: {
- type: Array as PropType<Array<FeaturePicto>>,
- required: true
- },
- logoSrc: {
- type: String,
- default: "",
- },
- pricingFromText: {
- type: String,
- required: false,
- default: "à partir de"
- },
- pricingAmount: {
- type: String,
- default: ""
- },
- pricingPeriodText: {
- type: String,
- required: false,
- default: "mois"
- },
- pricingAnnouncementText: {
- type: String,
- required: false,
- default: "payable annuellement"
- },
- pricingAltText: {
- required: false,
- default: ""
- }
- });
- </script>
- <style scoped lang="scss">
- .v-row {
- width: 90%;
- margin-left: auto;
- margin-right: auto;
- }
- .pricing-rectangle {
- display: flex;
- flex-direction: row;
- background-color: var(--secondary-color);
- width: 380px;
- height: 6rem;
- border-radius: 3rem;
- margin-top: 2rem;
- .logo-circle {
- background-color: var(--on-primary-color);
- border-radius: 3rem;
- width: 7rem;
- height: 6rem;
- }
- .software-logo {
- display: flex;
- align-items: center;
- justify-content: center;
- top:1rem;
- right: .5rem;
- }
- .details {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- height: 100%;
- color: black;
- font-weight: 500;
- font-size: 1rem;
- width: 10rem;
- margin-left: 18px;
- }
- .small-text {
- font-size: 0.6em;
- }
- .big-text {
- font-size: 2.5rem;
- font-weight: bold;
- line-height: 2rem;
- margin-left: 1rem;
- }
- .smaller-text {
- font-size: 0.6em;
- }
- .medium-text {
- font-size: 1.5rem;
- font-weight: 400;
- }
- }
- .picto {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-left: -4rem;
- .text {
- font-weight: 300;
- font-size: 0.9rem;
- margin-top: -3rem;
- text-align: center;
- width: 60%;
- margin-right: auto;
- margin-left: auto;
- }
- .img {
- width: 200px;
- height: 200px;
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center;
- }
- }
- h3 {
- color: var(--on-primary-color);
- font-size: 34px;
- font-style: normal;
- font-weight: 400;
- line-height: 38px;
- }
- h3:first-child {
- font-weight: 600;
- font-size: 3rem;
- line-height: 3rem;
- margin-left: 1rem;
- width: 35rem;
- }
- </style>
|