Files
Nix-Presentation/src/App.svelte

34 lines
848 B
Svelte
Raw Normal View History

2025-10-07 11:08:04 -04:00
<script lang="ts">
2025-10-08 18:02:47 -04:00
import 'reveal.js/dist/reveal.css'
import 'reveal.js/dist/theme/black.css'
import 'reveal.js/plugin/highlight/monokai.css'
2025-10-07 11:08:04 -04:00
2025-10-08 18:02:47 -04:00
import Reveal from 'reveal.js'
import Markdown from 'reveal.js/plugin/markdown/markdown.esm.js'
import RevealHighlight from 'reveal.js/plugin/highlight/highlight.esm.js'
2025-10-07 11:08:04 -04:00
2025-10-08 18:02:47 -04:00
import { onMount, tick } from 'svelte'
2025-10-07 11:08:04 -04:00
2025-10-08 18:02:47 -04:00
import Title from './slides/Title.svelte'
import PackageGraph from './slides/PackageGraph.svelte'
2025-10-07 11:08:04 -04:00
2025-10-08 18:02:47 -04:00
onMount(async () => {
await tick()
const deck = new Reveal({
plugins: [Markdown, RevealHighlight],
})
deck.initialize()
})
2025-10-07 11:08:04 -04:00
</script>
<svelte:head>
2025-10-08 18:02:47 -04:00
<title>Nix Presentation</title>
2025-10-07 11:08:04 -04:00
</svelte:head>
<div class="reveal">
2025-10-08 18:02:47 -04:00
<div class="slides">
<Title />
<PackageGraph />
</div>
</div>