<script setup>
import DashboardLayout from '../layouts/DashboardLayout.vue'

const props = defineProps({
  src: { type: String, required: true }
})

const iframeSrc = `${props.src}?t=${Date.now()}`
</script>

<template>
  <DashboardLayout>
    <iframe
      :src="iframeSrc"
      style="width:100%; height:100vh; border:none; display:block;"
      allowfullscreen
    />
  </DashboardLayout>
</template>
