Commit 5397edcb authored by Mahed's avatar Mahed
Browse files

Administration centrale à la fin des plateformes + Page a propos

parent 549b99c4
......@@ -12,6 +12,9 @@
<nuxt-link to="/bonnes-pratiques" class="navbar-item">
{{ $t('navbar.bonnesPratiques') }}
</nuxt-link>
<nuxt-link to="/a-propos" class="navbar-item">
{{ $t('navbar.aPropos') }}
</nuxt-link>
<div class="navbar-item">
<platform-btn/>
</div>
......
export default `
<h1>À propos</h1>
`;
\ No newline at end of file
......@@ -5,4 +5,5 @@ export {default as bonnesPratiques} from './bonnesPratiques';
export {default as cgu} from './cgu';
export {default as accessibilite} from './accessibilite';
export {default as legal} from './legal';
export {default as donneesPersonnelles} from './donneesPersonnelles';
\ No newline at end of file
export {default as donneesPersonnelles} from './donneesPersonnelles';
export {default as aPropos} from './aPropos';
\ No newline at end of file
......@@ -32,10 +32,6 @@ export default {
"name": "Académie de Dijon",
"url": "https://apps-Dijon.beta.education.fr"
},
{
"name": "Administration centrale",
"url": "https://apps-education.beta.education.fr"
},
{
"name": "Académie de Grenoble",
"url": "https://apps-Grenoble.beta.education.fr"
......@@ -143,7 +139,10 @@ export default {
{
"name":"Académie de Wallis-et-Futuna",
"url":"https://apps-outremer.beta.education.fr"
},
{
"name": "Administration centrale",
"url": "https://apps-education.beta.education.fr"
}
]
}
\ No newline at end of file
......@@ -3,6 +3,7 @@
"navbar": {
"home": "Le projet",
"bonnesPratiques": "Les bonnes pratiques",
"aPropos": "À propos",
"siteLogo": {
"imageAltText": "apps.education.fr"
}
......@@ -51,6 +52,10 @@
"imageAltText": "Liste de cases cochées illustrant les bonnes pratiques de l'usage partagé des outils numériques"
}
},
"aPropos": {
"pageTitle": "À propos",
"title": "À propos"
},
"cgu": {
"pageTitle": "Conditions générales d'utilisation",
"title": "Conditions générales d'utilisation"
......
<template>
<div>
<container class="page-intro">
<div class="content">
<h1 class="page-intro-title is-title is-xl has-text-primary-accent is-mb-0">
{{ $t('aPropos.title') }}
</h1>
<div class="rectangle has-background-white">
</div>
</div>
</container>
<container>
<div class="page-text" v-if="aPropos" v-html="aPropos">
</div>
</container>
</div>
</template>
<script>
import Api from '@/services/Api';
export default {
async asyncData() {
const aPropos = await Api.aPropos();
return {
aPropos
}
},
head() {
return {
title: this.$t('siteTitle') + ' ' + this.$t('aPropos.pageTitle')
}
}
}
</script>
<style lang="scss">
.page-text {
@include texts;
}
</style>
<style lang="scss" scoped>
.page-intro {
@include from ($desktop) {
background: url("~assets/images/background-bp.png");
display: flex;
justify-content: center;
align-items: center;
min-height: 60vh;
}
.content {
position: relative;
}
.page-intro-title {
position: relative;
z-index: 2;
}
.rectangle {
min-height: 50px;
width: 90%;
position: relative;
top: -48px;
z-index: 1;
left: 98px;
}
}
</style>
\ No newline at end of file
......@@ -5,7 +5,8 @@ import {
cgu,
accessibilite,
legal,
donneesPersonnelles
donneesPersonnelles,
aPropos
} from '../data';
export default {
......@@ -48,5 +49,10 @@ export default {
return new Promise((resolve) => {
return resolve(donneesPersonnelles);
})
},
aPropos() {
return new Promise((resolve) => {
return resolve(aPropos);
})
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment