Add proof of concept component to module, start a little refactor

This commit is contained in:
Ramon Wenger 2023-12-19 20:23:14 +01:00
parent 485e07067b
commit 50b19c6405
1 changed files with 6 additions and 8 deletions

View File

@ -41,6 +41,8 @@
</h5> </h5>
</div> </div>
<text-to-select />
<div class="module__intro-wrapper"> <div class="module__intro-wrapper">
<bookmark-actions <bookmark-actions
:bookmarked="!!module.bookmark" :bookmarked="!!module.bookmark"
@ -95,12 +97,15 @@
</div> </div>
</template> </template>
<script> <script setup lang="ts">
import ObjectiveGroups from '@/components/objective-groups/ObjectiveGroups.vue'; import ObjectiveGroups from '@/components/objective-groups/ObjectiveGroups.vue';
import Chapter from '@/components/Chapter.vue'; import Chapter from '@/components/Chapter.vue';
import BookmarkActions from '@/components/notes/BookmarkActions.vue'; import BookmarkActions from '@/components/notes/BookmarkActions.vue';
import Pill from '@/components/ui/Pill.vue'; import Pill from '@/components/ui/Pill.vue';
import TextToSelect from '@/components/TextToSelect.vue';
</script>
<script lang="ts">
export default { export default {
props: { props: {
module: { module: {
@ -109,13 +114,6 @@ export default {
}, },
}, },
components: {
Pill,
BookmarkActions,
ObjectiveGroups,
Chapter,
},
computed: { computed: {
languageCommunicationObjectiveGroups() { languageCommunicationObjectiveGroups() {
return this.module.objectiveGroups return this.module.objectiveGroups