|
|
@@ -1,14 +1,5 @@
|
|
|
<template>
|
|
|
<LayoutContainer>
|
|
|
- <v-row>
|
|
|
- <v-col cols="12">
|
|
|
- <CommonBanner
|
|
|
- imageSrc="/images/actu/pub.png"
|
|
|
- imageAlt="banner"
|
|
|
- />
|
|
|
- </v-col>
|
|
|
- </v-row>
|
|
|
-
|
|
|
<div class="news-section">
|
|
|
<v-row class="mb-6 center-90">
|
|
|
<v-col class="d-flex align-items-center">
|
|
|
@@ -39,15 +30,22 @@
|
|
|
:description="newsItem.leadText"
|
|
|
/>
|
|
|
|
|
|
- <v-row class="center-90">
|
|
|
+ <v-row class="center-90 mb-12">
|
|
|
<v-col cols="12" md="6">
|
|
|
- <v-img :src="getImageUrl(newsItem.attachment)"/>
|
|
|
+ <v-img
|
|
|
+ :src="getImageUrl(newsItem.attachment)"
|
|
|
+ cover
|
|
|
+ />
|
|
|
</v-col>
|
|
|
|
|
|
- <v-col cols="12" md="6">
|
|
|
- <h1>
|
|
|
+ <v-col cols="12" md="6" class="d-flex flex-column justify-center">
|
|
|
+ <h3>
|
|
|
{{ newsItem.title }}
|
|
|
- </h1>
|
|
|
+ </h3>
|
|
|
+
|
|
|
+ <strong>
|
|
|
+ {{ newsItem.leadText }}
|
|
|
+ </strong>
|
|
|
</v-col>
|
|
|
</v-row>
|
|
|
|
|
|
@@ -59,15 +57,17 @@
|
|
|
</v-row>
|
|
|
|
|
|
<v-row class="d-flex justify-center align-center">
|
|
|
- <v-btn prepend-icon="fas fa-info" class="btn-plus mb-12" text>
|
|
|
+ <v-btn class="btn-plus mb-12" text>
|
|
|
En savoir plus
|
|
|
</v-btn>
|
|
|
</v-row>
|
|
|
|
|
|
<v-row class="d-flex justify-space-between center-90">
|
|
|
- <p>
|
|
|
- MOTS CLÉS
|
|
|
- </p>
|
|
|
+ <div>
|
|
|
+ <p v-if="newsItem.tags.length > 0">
|
|
|
+ MOTS CLÉS
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
<div v-if="mdAndUp">
|
|
|
<p>PARTAGER</p>
|
|
|
</div>
|
|
|
@@ -90,8 +90,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
- <CommonAgenda />
|
|
|
</LayoutContainer>
|
|
|
</template>
|
|
|
|
|
|
@@ -124,31 +122,33 @@ const getImageUrl = (attachment: string): string | null => {
|
|
|
<style scoped>
|
|
|
.news {
|
|
|
.v-img {
|
|
|
- width: 80%;
|
|
|
- margin-left: 3.5rem;
|
|
|
+ max-height: 600px;
|
|
|
+ margin-left: auto;
|
|
|
margin-right: auto;
|
|
|
}
|
|
|
|
|
|
- h1 {
|
|
|
- margin-top: 11rem;
|
|
|
+ h3 {
|
|
|
text-decoration: none;
|
|
|
text-transform: uppercase;
|
|
|
font-size: 36px;
|
|
|
font-weight: 600;
|
|
|
+ color: var(--primary-color);
|
|
|
+ }
|
|
|
|
|
|
- @media (max-width: 600px) {
|
|
|
- margin-top: 3rem;
|
|
|
- }
|
|
|
+ strong {
|
|
|
+ font-size: 21px;
|
|
|
+ margin-top: 16px;
|
|
|
}
|
|
|
|
|
|
.description {
|
|
|
color: var(--primary-color);
|
|
|
+ max-width: 80%;
|
|
|
text-align: justify;
|
|
|
- font-size: 30px;
|
|
|
+ font-size: 21px;
|
|
|
font-weight: 500;
|
|
|
line-height: 34px;
|
|
|
- margin-left: 3.5rem;
|
|
|
- margin-right: 3.5rem;
|
|
|
+ margin-left: auto;
|
|
|
+ margin-right: auto;
|
|
|
margin-bottom: 3rem;
|
|
|
}
|
|
|
|