<script setup lang="ts">
import LearningContentSimpleLayout from "@/pages/learningPath/learningContentPage/layouts/LearningContentSimpleLayout.vue";
import type { LearningContent } from "@/types";

const props = defineProps<{
  content: LearningContent;
}>();
</script>

<template>
  <LearningContentSimpleLayout :learning-content="props.content">
    <div class="h-screen">
      <iframe
        width="100%"
        height="100%"
        scrolling="no"
        :src="props.content.content_url"
      />
    </div>
  </LearningContentSimpleLayout>
</template>
