Clean up client code

This commit is contained in:
Ramon Wenger 2018-10-04 13:51:49 +02:00
parent e524fe6107
commit e72668402f
4 changed files with 2 additions and 36 deletions

View File

@ -1,5 +1,5 @@
<template>
<img src="https://picsum.photos/400" alt="" class="image-block">
<img src="https://picsum.photos/400?random" alt="" class="image-block">
</template>
<style scoped lang="scss">

View File

@ -3,8 +3,6 @@
</template>
<script>
import store from '@/store/index';
import MODULE_DETAILS_QUERY from '@/graphql/gql/moduleDetailsQuery.gql';
import ASSIGNMENTS_QUERY from '@/graphql/gql/assignmentsQuery.gql';

View File

@ -33,38 +33,7 @@
data() {
return {
modules: [
{
id: 1,
metaTitle: 'Intro',
title: 'Video',
description: 'Die Berufsbildung ist ein neuer Lebensabschnitt'
},
{
id: 2,
metaTitle: 'Modul 1',
title: 'Mein neues Umfeld',
description: 'Wie erging es Ihnen am ersten Arbeits- und Schultag?'
},
{
id: 3,
metaTitle: 'Modul 2',
title: 'Lehrvertrag',
description: 'Haben Sie etwas in Ihrem Lehrvertrag noch nicht verstanden?'
},
{
id: 4,
metaTitle: 'Modul 3',
title: 'Miteinander reden',
description: 'Welches war Ihre letzte schwierige Gesprächs- situation?'
},
{
id: 5,
metaTitle: 'Modul 4',
title: 'Lerntipps',
description: 'Wie gehen Sie vor, wenn Sie sich auf eine Prüfung vor-bereiten?'
}
]
modules: []
}
}
}

View File

@ -18,7 +18,6 @@ const routes = [
{path: '/', redirect: '/book/topic'},
{
path: '/module/:slug',
name: 'moduleBase',
component: moduleBase,
children: [
{