From b0ccb82447ffd95cf60ddd4763f3aac3ad6e30d7 Mon Sep 17 00:00:00 2001 From: Julie Date: Mon, 6 Jul 2026 14:39:19 +0200 Subject: [PATCH] =?UTF-8?q?lien=20m=C3=A9c=C3=A9nat=20et=20contacts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/ContactSpecifique.vue | 15 +++++++++++++-- app/components/RoundedCard.vue | 12 ++++++++++-- app/pages/mecenat/entreprises.vue | 5 +++-- app/pages/mecenat/mecenes.vue | 12 ++++++------ app/pages/mecenat/particuliers.vue | 7 ++++--- app/pages/mecenat/projets.vue | 5 +++-- 6 files changed, 39 insertions(+), 17 deletions(-) diff --git a/app/components/ContactSpecifique.vue b/app/components/ContactSpecifique.vue index 2765e1f..b763a40 100644 --- a/app/components/ContactSpecifique.vue +++ b/app/components/ContactSpecifique.vue @@ -6,9 +6,10 @@
{{ nom }}, {{ poste }}
-
{{ nom2 }}, {{ poste2 }}
{{ numero }}
{{ mail }}
+
{{ nom2 }}, {{ poste2 }}
+
{{ mail2 }}
{{ adresse }}
@@ -25,6 +26,7 @@ poste2: { type: String, default: '' }, numero: { type: String, default: '' }, mail: { type: String, required: true }, + mail2: { type: String, required: true }, adresse: { type: String, default: ''} }) @@ -52,14 +54,23 @@ .contact_spe_descripion { max-width: 370px; .contact_spe_descripion_item { - padding-bottom: 10px; + //padding-bottom: 10px; &--nom { font-weight: var(--fw-semibold); } &--poste { font-weight: var(--fw-light); } + &--nom { + padding-top: 12px; + } + &--numero { + font-weight: var(--fw-extralight); + color: var(--c-text-black-soft); + } } + + } diff --git a/app/components/RoundedCard.vue b/app/components/RoundedCard.vue index 40ab9a5..b7735fe 100644 --- a/app/components/RoundedCard.vue +++ b/app/components/RoundedCard.vue @@ -8,7 +8,13 @@
- + {{ title }} @@ -34,7 +40,7 @@ import DsButtonArrow from '@root/design-system/primitives/DsButtonArrow.vue' - defineProps({ + const props = defineProps({ id: { type: [String, Number], required: true }, title: { type: String, required: true }, url: { type: String, required: true }, @@ -43,6 +49,8 @@ imgAlt: { type: String, default: '' }, ratio: { type: String, default: 'square' }, }) + + const isExternalUrl = computed(() => /^https?:\/\//i.test(props.url))