embedding
This commit is contained in:
parent
9d81666a3c
commit
69fd756a5a
5 changed files with 29 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div v-if="showComponent" class="flex flex-col gap-2 w-full min-h-fit max-w-4xl mx-auto">
|
||||
<h1 class="text-center">{{ data?.title }}</h1>
|
||||
<h1 class="text-center">{{ data.title }}</h1>
|
||||
<iframe v-if="data.file.mime == 'application/pdf'" :src="baseUrl + data.file.url" class="w-full h-[90vh]"></iframe>
|
||||
<NuxtPicture
|
||||
v-if="data.file.mime.includes('image')"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue