|
|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
<div id="Presentation">
|
|
|
<LayoutContainer>
|
|
|
- <v-row class="mt-12 custom-row" >
|
|
|
- <v-col cols="4">
|
|
|
+ <v-row class="mt-12 custom-row">
|
|
|
+ <v-col cols="5">
|
|
|
<LayoutUISubTitle
|
|
|
:iconSize="5"
|
|
|
:iconColor="iconColor"
|
|
|
@@ -15,7 +15,7 @@
|
|
|
class="rectangle-4"
|
|
|
>
|
|
|
<div :style="{ backgroundColor: circleColor }" class="black-circle">
|
|
|
- <div class="content-flex ml-6">
|
|
|
+ <div class="content-flex ml-6">
|
|
|
<v-img :src="logoSrc" class="logo-manager" />
|
|
|
<div class="pricing-details">
|
|
|
<p class="pricing-small-text">{{ pricingFromText }}</p>
|
|
|
@@ -46,21 +46,21 @@
|
|
|
<h2 class="mt-12 ml-6 presentation-caracteristique">
|
|
|
{{ presentationText.characteristicsTitle }}
|
|
|
</h2>
|
|
|
- <div class="picto-container">
|
|
|
+ <div class="picto-container">
|
|
|
+ <div
|
|
|
+ class="picto-group"
|
|
|
+ v-for="picto in pictoImages"
|
|
|
+ :key="picto.text"
|
|
|
+ >
|
|
|
<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>
|
|
|
+ :style="{ backgroundImage: 'url(' + picto.src + ')' }"
|
|
|
+ class="picto-img"
|
|
|
+ ></div>
|
|
|
+ <p class="picto-text" :style="{ color: pictoColor }">
|
|
|
+ {{ picto.text }}
|
|
|
+ </p>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
</v-col>
|
|
|
</v-row>
|
|
|
</LayoutContainer>
|
|
|
@@ -78,7 +78,7 @@ const pricingAmount = computed(() => {
|
|
|
return "14€";
|
|
|
} else if (/^\/opentalent_school(\/|$)/.test(route.path)) {
|
|
|
return "20€";
|
|
|
- }else {
|
|
|
+ } else {
|
|
|
return "Sur devis";
|
|
|
}
|
|
|
});
|
|
|
@@ -101,7 +101,7 @@ const titleText = computed(() => {
|
|
|
} else if (/^\/opentalent_manager(\/|$)/.test(route.path)) {
|
|
|
return "Présentation d'Opentalent Manager";
|
|
|
} else {
|
|
|
- return "Titre par défaut";
|
|
|
+ return "Titre par défaut";
|
|
|
}
|
|
|
});
|
|
|
|
|
|
@@ -113,19 +113,21 @@ const iconColor = computed(() => {
|
|
|
} else if (/^\/opentalent_manager(\/|$)/.test(route.path)) {
|
|
|
return "#d8050b";
|
|
|
} else {
|
|
|
- return "rgba(32, 147, 190, 0.6)";
|
|
|
+ return "rgba(32, 147, 190, 0.6)";
|
|
|
}
|
|
|
});
|
|
|
|
|
|
// on affiche " à partir de" sur opentalent_school et artist
|
|
|
const pricingFromText = computed(() => {
|
|
|
- if (/^\/opentalent_artist(\/|$)/.test(route.path) || /^\/opentalent_school(\/|$)/.test(route.path)) {
|
|
|
+ if (
|
|
|
+ /^\/opentalent_artist(\/|$)/.test(route.path) ||
|
|
|
+ /^\/opentalent_school(\/|$)/.test(route.path)
|
|
|
+ ) {
|
|
|
return "à partir de";
|
|
|
- }else{
|
|
|
- return ''
|
|
|
+ } else {
|
|
|
+ return "";
|
|
|
}
|
|
|
-
|
|
|
-})
|
|
|
+});
|
|
|
const props = defineProps({
|
|
|
pictoImages: {
|
|
|
type: Array,
|
|
|
@@ -148,7 +150,7 @@ const props = defineProps({
|
|
|
default: "",
|
|
|
},
|
|
|
pricingFromText: {
|
|
|
- type: String
|
|
|
+ type: String,
|
|
|
},
|
|
|
pricingAmount: {
|
|
|
type: String,
|
|
|
@@ -169,12 +171,9 @@ const props = defineProps({
|
|
|
default: "#091d20",
|
|
|
},
|
|
|
});
|
|
|
-
|
|
|
-
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
-
|
|
|
.custom-row {
|
|
|
width: 90%;
|
|
|
margin-left: auto;
|
|
|
@@ -230,13 +229,12 @@ const props = defineProps({
|
|
|
height: 6rem;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
.logo-manager {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- top:1rem;
|
|
|
- right: .5rem;
|
|
|
+ top: 1rem;
|
|
|
+ right: 0.5rem;
|
|
|
}
|
|
|
.rectangle-4 {
|
|
|
width: 350px;
|
|
|
@@ -272,5 +270,6 @@ const props = defineProps({
|
|
|
|
|
|
.screen-img {
|
|
|
margin-top: 2rem;
|
|
|
+ width: 70%;
|
|
|
}
|
|
|
</style>
|