refactor: move website files to the root level
This commit is contained in:
parent
c2887ecbc5
commit
2cbbfd60ff
590 changed files with 0 additions and 4484 deletions
22
src/components/talk/Slides.astro
Normal file
22
src/components/talk/Slides.astro
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
interface Props {
|
||||
id: string;
|
||||
ratio?: string;
|
||||
}
|
||||
|
||||
const { id, ratio }: Props = Astro.props;
|
||||
---
|
||||
|
||||
<div>
|
||||
<h2 class="mb-2">Slides</h2>
|
||||
|
||||
<div class="slides">
|
||||
<noscript>**Please enable JavaScript to view slides.**</noscript>
|
||||
<script
|
||||
class="speakerdeck-embed"
|
||||
data-id={id}
|
||||
data-ratio={ratio ?? "1.29456384323641"}
|
||||
src="//speakerdeck.com/assets/embed.js"
|
||||
></script>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue