initial pass at media page

This commit is contained in:
Cory Dransfeldt 2022-06-07 12:30:17 -07:00
parent 5ac22dff6c
commit 84d56cbeaa
11 changed files with 1224 additions and 58 deletions

View file

@ -0,0 +1,18 @@
const YoutubeVideo = (props) => {
const { title, data } = props
return (
<div
className="relative h-0 w-full max-w-full overflow-hidden"
style={{ paddingBottom: '56.25%' }}
>
<iframe
title={title}
src={`https://www.youtube.com/embed/${data}`}
className="absolute top-0 left-0 h-full w-full"
/>
</div>
)
}
export default YoutubeVideo