refactor: move website files to the root level

This commit is contained in:
Oliver Davies 2023-03-21 20:44:42 +00:00
parent c2887ecbc5
commit 2cbbfd60ff
590 changed files with 0 additions and 4484 deletions

View file

@ -0,0 +1,25 @@
---
interface Props {
id: string;
type: string;
}
const { id, type }: Props = Astro.props;
---
{
type == "youtube" && (
<div>
<h2 class="mb-2">Video</h2>
<div>
<iframe
allowfullscreen
class="w-full aspect-[16/9]"
frameborder="0"
src={`https://www.youtube.com/embed/${id}?rel=0&iv_load_policy=3`}
/>
</div>
</div>
)
}