Clean up client code
This commit is contained in:
parent
e524fe6107
commit
e72668402f
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<img src="https://picsum.photos/400" alt="" class="image-block">
|
<img src="https://picsum.photos/400?random" alt="" class="image-block">
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import store from '@/store/index';
|
|
||||||
|
|
||||||
import MODULE_DETAILS_QUERY from '@/graphql/gql/moduleDetailsQuery.gql';
|
import MODULE_DETAILS_QUERY from '@/graphql/gql/moduleDetailsQuery.gql';
|
||||||
import ASSIGNMENTS_QUERY from '@/graphql/gql/assignmentsQuery.gql';
|
import ASSIGNMENTS_QUERY from '@/graphql/gql/assignmentsQuery.gql';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,38 +33,7 @@
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
modules: [
|
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?'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@ const routes = [
|
||||||
{path: '/', redirect: '/book/topic'},
|
{path: '/', redirect: '/book/topic'},
|
||||||
{
|
{
|
||||||
path: '/module/:slug',
|
path: '/module/:slug',
|
||||||
name: 'moduleBase',
|
|
||||||
component: moduleBase,
|
component: moduleBase,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue