Commit b463b46b authored by Mahëd Benzerga's avatar Mahëd Benzerga
Browse files

Ajout des apps de visio sur la page d'accueil

parent 596d28ba
export default [
{
/* {
"id": "webconference",
"title": "Webconférence",
"isDisabled": true,
......@@ -18,9 +18,8 @@ export default [
</ul>
<p>Ce service est compatible avec l'ensemble des navigateurs web récents quel que soit le terminal utilisé. Basé sur le logiciel libre Jitsi Meet, le service peut également être utilisé via une application mobile. Il favorise les interactions, les échanges et la mutualisation au sein d'un large public.</p>
` },
]
},
]
},*/
{
"id": "peertube",
"title": "Peertube",
......
......@@ -71,7 +71,7 @@
"title": "Conditions générales d'utilisation"
},
"applications": {
"listTitle": "Les applications",
"listTitle": "Les applications @apps.education.fr",
"resources": {
"title": "Ressources"
}
......
......@@ -3,6 +3,13 @@
<home-header/>
<container class="applications-container">
<applications-list class="applications-list" :applications="applications"/>
<!-- Visio -->
<applications-list
class="applications-list"
:applications="generalApplicationsByCategory('webconference')"
:show-available="false"
:title="`Services de webconférences et réunions`"
/>
</container>
<container>
<bonnes-pratiques-card/>
......@@ -32,12 +39,22 @@ export default {
},
async asyncData() {
const applications = await Api.findAllApplications();
return {applications}
const generalApplications = await Api.findAllApplicationsGeneral();
return {applications, generalApplications}
},
head() {
return {
title: this.$t('siteTitle') + ' ' + this.$t('home.pageTitle')
}
},
computed: {
generalApplicationsByCategory() {
return function(category) {
return this.generalApplications.filter((application) => {
return application.category && application.category === category;
})
}
}
}
}
</script>
......@@ -47,4 +64,7 @@ export default {
padding-top: 4.2rem;
}
}
.applications-list + .applications-list {
margin-top: 2rem;
}
</style>
\ 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