chore: run prettier on Astro files
This commit is contained in:
parent
a489a2ca02
commit
40d8e58cce
17 changed files with 1005 additions and 330 deletions
|
@ -1,25 +1,26 @@
|
|||
---
|
||||
interface Props {
|
||||
id: string
|
||||
type: string
|
||||
id: string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
const { id, type }: Props = Astro.props
|
||||
const { id, type }: Props = Astro.props;
|
||||
---
|
||||
|
||||
{type == "youtube" && (
|
||||
<div>
|
||||
<h2 class="mb-2">Video</h2>
|
||||
{
|
||||
type == "youtube" && (
|
||||
<div>
|
||||
<h2 class="mb-2">Video</h2>
|
||||
|
||||
<div class="video-full">
|
||||
<iframe
|
||||
width="678"
|
||||
height="408"
|
||||
src={`https://www.youtube.com/embed/${id}?rel=0&iv_load_policy=3`}
|
||||
frameborder="0"
|
||||
allowfullscreen
|
||||
>
|
||||
</iframe>
|
||||
<div class="video-full">
|
||||
<iframe
|
||||
width="678"
|
||||
height="408"
|
||||
src={`https://www.youtube.com/embed/${id}?rel=0&iv_load_policy=3`}
|
||||
frameborder="0"
|
||||
allowfullscreen
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue