feat(frontend): initialisatie router en bijhorende.vue componenten
This commit is contained in:
parent
c07bb959cf
commit
6beaf77adf
38 changed files with 436 additions and 449 deletions
|
@ -1,16 +0,0 @@
|
|||
<template>
|
||||
<div class="about">
|
||||
<h1>This is an about page</h1>
|
||||
<v-slider></v-slider>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
@media (min-width: 1024px) {
|
||||
.about {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -1,9 +1,12 @@
|
|||
<script setup lang="ts">
|
||||
import TheWelcome from "../components/TheWelcome.vue";
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main>
|
||||
<TheWelcome />
|
||||
<b> Welcome to the dwengo homepage</b>
|
||||
</main>
|
||||
</template>
|
||||
<style scoped>
|
||||
|
||||
</style>
|
18
frontend/src/views/auth/LoginPage.vue
Normal file
18
frontend/src/views/auth/LoginPage.vue
Normal file
|
@ -0,0 +1,18 @@
|
|||
<script setup lang="ts">
|
||||
import {useRoute} from 'vue-router';
|
||||
|
||||
const route = useRoute();
|
||||
const role = route.params.role;
|
||||
|
||||
if (role === "student") { /* Empty */
|
||||
} else { /* Empty */
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
18
frontend/src/views/auth/RegisterPage.vue
Normal file
18
frontend/src/views/auth/RegisterPage.vue
Normal file
|
@ -0,0 +1,18 @@
|
|||
<script setup lang="ts">
|
||||
import {useRoute} from 'vue-router';
|
||||
|
||||
const route = useRoute();
|
||||
const role = route.params.role;
|
||||
|
||||
if (role === "student") { /* Empty */
|
||||
} else { /* Empty */
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/resources/assignment/CreateAssignment.vue
Normal file
11
frontend/src/views/resources/assignment/CreateAssignment.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/resources/assignment/SingleAssignment.vue
Normal file
11
frontend/src/views/resources/assignment/SingleAssignment.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/resources/class/CreateClass.vue
Normal file
11
frontend/src/views/resources/class/CreateClass.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/resources/class/SingleClass.vue
Normal file
11
frontend/src/views/resources/class/SingleClass.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/resources/discussion/CreateDiscussion.vue
Normal file
11
frontend/src/views/resources/discussion/CreateDiscussion.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/resources/discussion/SingleDiscussion.vue
Normal file
11
frontend/src/views/resources/discussion/SingleDiscussion.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/student/StudentAssignments.vue
Normal file
11
frontend/src/views/student/StudentAssignments.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/student/StudentClasses.vue
Normal file
11
frontend/src/views/student/StudentClasses.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/student/StudentDiscussions.vue
Normal file
11
frontend/src/views/student/StudentDiscussions.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/student/StudentHomepage.vue
Normal file
11
frontend/src/views/student/StudentHomepage.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/teacher/TeacherAssignments.vue
Normal file
11
frontend/src/views/teacher/TeacherAssignments.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/teacher/TeacherClasses.vue
Normal file
11
frontend/src/views/teacher/TeacherClasses.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/teacher/TeacherDiscussions.vue
Normal file
11
frontend/src/views/teacher/TeacherDiscussions.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
11
frontend/src/views/teacher/TeacherHomepage.vue
Normal file
11
frontend/src/views/teacher/TeacherHomepage.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main></main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue