Move all files to bristol-js/
This commit is contained in:
parent
ea026c10b9
commit
0e96a16c52
22 changed files with 0 additions and 0 deletions
27
bristol-js/src/components/recent-talks/recent-talk.vue
Normal file
27
bristol-js/src/components/recent-talks/recent-talk.vue
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<template>
|
||||
<div class="flex flex-col flex-col-reverse justify-end space-y-5 space-y-reverse">
|
||||
<div class="py-2 text-lg font-bold border-t-2 border-b-2">
|
||||
{{ talk.title }}
|
||||
</div>
|
||||
|
||||
<div class="block relative h-0 overflow-hidden aspect-ratio-16/9">
|
||||
<iframe
|
||||
class="absolute w-full h-full inset-0 border-0"
|
||||
:src="`https://www.youtube.com/embed/${talk.videoId}`"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'RecentTalk',
|
||||
|
||||
props: {
|
||||
talk: {
|
||||
type: Object,
|
||||
required: true
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in a new issue