<script setup lang="ts">
import { useCourseSessionsStore } from "@/stores/courseSessions";
import MainNavigationBar from "./MainNavigationBar.vue";

const courseSessionsStore = useCourseSessionsStore();
</script>

<template>
  <CoursePreviewBar v-if="courseSessionsStore.isCourseSessionPreviewActive" />
  <template v-else>
    <MainNavigationBar />
  </template>
</template>
