| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304 |
- <template>
- <div id="Presentation">
- <LayoutContainer>
- <v-row class="mt-12">
- <v-col cols="4">
- <LayoutUISubTitle
- :iconSize="5"
- :iconColor="iconColor"
- :titleText="titleText"
- />
- <v-img src="/images/logiciels/school/screen.jpg" class="screen-img" />
- <div
- :style="{ backgroundColor: backgroundColor }"
- class="rectangle-4"
- >
- <div :style="{ backgroundColor: circleColor }" class="black-circle">
- <div class="content-flex">
- <v-img :src="logoSrc" class="logo-manager" />
- <div class="pricing-details">
- <p class="pricing-small-text">{{ pricingFromText }}</p>
- <p class="pricing-big-text">
- {{ pricingAmount }}
- <span class="smaller-text">{{ pricingPeriodText }}</span>
- </p>
- <p class="pricing-small-text">
- {{ pricingAnnouncementText }}
- </p>
- </div>
- </div>
- </div>
- </div>
- </v-col>
- <v-col cols="6">
- <LayoutUITitle :title="presentationText.toolTitle" />
- <ul class="outil-ul ml-12 mt-6">
- <li
- class="outil-list"
- v-for="item in presentationText.toolList"
- :key="item"
- >
- {{ item }}
- </li>
- </ul>
- <h2 class="mt-12 ml-6 presentation-caracteristique">
- {{ presentationText.characteristicsTitle }}
- </h2>
- <div class="row-custom">
- <div class="picto-container">
- <div
- class="picto-group"
- v-for="picto in pictoImages"
- :key="picto.text"
- >
- <div
- :style="{ backgroundImage: 'url(' + picto.src + ')' }"
- class="picto-img"
- ></div>
- <p class="picto-text" :style="{ color: pictoColor }">
- {{ picto.text }}
- </p>
- </div>
- </div>
- </div>
- </v-col>
- </v-row>
- </LayoutContainer>
- </div>
- </template>
- <script setup>
- import { onMounted, ref } from "vue";
- import { useRoute } from "vue-router";
- const props = defineProps({
- pictoImages: {
- type: Array,
- default: () => [],
- },
- pictoColor: {
- type: String,
- default: "#000000",
- },
- presentationText: {
- type: Object,
- default: () => ({
- toolTitle: "Default Title",
- toolList: [],
- characteristicsTitle: "Default Characteristics Title",
- }),
- },
- logoSrc: {
- type: String,
- default: "/images/logo_school_white.png",
- },
- pricingFromText: {
- type: String,
- },
- pricingAmount: {
- type: String,
- default: "sur devis",
- },
- pricingPeriodText: {
- type: String,
- },
- pricingAnnouncementText: {
- type: String,
- },
- backgroundColor: {
- type: String,
- default: "rgba(32, 147, 190, 0.2)",
- },
- circleColor: {
- type: String,
- default: "#091d20",
- },
- });
- const titleText = ref("");
- const iconColor = ref("");
- const route = useRoute();
- onMounted(() => {
- if (route.path.includes("opentalent_artist")) {
- titleText.value = "Présentation d'Opentalent Artist";
- iconColor.value = "#fac20a";
- } else if (route.path.includes("opentalent_school")) {
- titleText.value = "Présentation d'Opentalent School";
- iconColor.value = "rgba(32, 147, 190, 0.6)";
- } else if (route.path.includes("opentalent_manager")) {
- titleText.value = "Présentation d'Opentalent Manager";
- iconColor.value = "#d8050b";
- }
- });
- </script>
- <style scoped>
- .picto-img {
- width: 200px;
- height: 200px;
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center;
- }
- .presentation-caracteristique {
- color: #071b1f;
- font-size: 34px;
- font-style: normal;
- font-weight: 400;
- line-height: 38px;
- }
- .row-custom {
- }
- .pricing-details {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- height: 100%;
- color: black;
- font-weight: 500;
- font-size: 1rem;
- margin-left: 7rem;
- margin-top: -4rem;
- width: 10rem;
- }
- .pricing-small-text {
- font-size: 0.6em;
- }
- .pricing-big-text {
- font-size: 2.5rem;
- font-weight: bold;
- line-height: 2rem;
- margin-left: 1rem;
- }
- .smaller-text {
- font-size: 0.6em;
- }
- .presentation-title {
- color: #071b1f;
- font-size: 1rem;
- line-height: 15px;
- letter-spacing: 1.8px;
- text-transform: uppercase;
- }
- .black-circle {
- border-radius: 3rem;
- background: #091d20;
- width: 7rem;
- height: 6rem;
- }
- .devis {
- font-weight: 500;
- font-size: 1rem;
- margin-left: 9rem;
- margin-top: -1rem;
- width: 7rem;
- }
- .logo-manager {
- top: 0.2rem;
- z-index: 1;
- }
- .rectangle-4 {
- width: 20rem;
- height: 6rem;
- background: rgba(32, 147, 190, 0.2);
- border-radius: 3rem;
- margin-left: 5rem;
- margin-top: 2rem;
- }
- .picto-text {
- font-weight: 300;
- font-size: 0.9rem;
- margin-top: -3rem;
- text-align: center;
- width: 50%;
- margin-right: auto;
- margin-left: auto;
- }
- .picto-container {
- display: flex;
- flex-direction: row;
- justify-content: space-around;
- }
- .picto-group {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-left: -4rem;
- }
- .icon-title {
- margin-right: 0.7rem;
- color: rgba(32, 147, 190, 0.6);
- }
- .text-square {
- margin-left: 2rem;
- margin-right: 2rem;
- margin-top: 0.9rem;
- text-align: center;
- }
- .icon {
- margin-top: 1rem;
- }
- .outil-title {
- font-weight: 600;
- font-size: 2.2rem;
- line-height: 18px;
- color: #091d20;
- margin-bottom: 4rem;
- }
- .outil-ul {
- }
- .outil-list {
- margin-left: 1rem;
- font-weight: 300;
- font-size: 1rem;
- line-height: 1.5rem;
- }
- .icon-logiciel {
- color: rgba(32, 147, 190, 0.6);
- margin-right: 1rem;
- }
- .container-green {
- background: linear-gradient(180deg, rgba(14, 45, 50, 0) 26.84%, #0e2d32 100%),
- rgba(7, 27, 31, 0.3);
- height: 40rem;
- }
- .picto-container {
- display: flex;
- flex-direction: row;
- }
- .title {
- display: flex;
- justify-content: center;
- align-items: center;
- font-weight: 600;
- font-size: 1.5rem;
- line-height: 18px;
- color: #091d20;
- width: 25rem;
- margin-left: 2rem;
- }
- .screen-img {
- margin-top: 2rem;
- margin-left: 3rem;
- }
- </style>
|