mirror of
https://codeberg.org/martials/homelab-presentasjon.git
synced 2025-06-27 21:58:49 +00:00
🔥 Removed unused files
This commit is contained in:
@ -1,37 +0,0 @@
|
|||||||
<script setup lang="ts">
|
|
||||||
import { ref } from 'vue'
|
|
||||||
|
|
||||||
const props = defineProps({
|
|
||||||
count: {
|
|
||||||
default: 0,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
const counter = ref(props.count)
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<div flex="~" w="min" border="~ main rounded-md">
|
|
||||||
<button
|
|
||||||
border="r main"
|
|
||||||
p="2"
|
|
||||||
font="mono"
|
|
||||||
outline="!none"
|
|
||||||
hover:bg="gray-400 opacity-20"
|
|
||||||
@click="counter -= 1"
|
|
||||||
>
|
|
||||||
-
|
|
||||||
</button>
|
|
||||||
<span m="auto" p="2">{{ counter }}</span>
|
|
||||||
<button
|
|
||||||
border="l main"
|
|
||||||
p="2"
|
|
||||||
font="mono"
|
|
||||||
outline="!none"
|
|
||||||
hover:bg="gray-400 opacity-20"
|
|
||||||
@click="counter += 1"
|
|
||||||
>
|
|
||||||
+
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
@ -1,27 +0,0 @@
|
|||||||
# Imported Slides
|
|
||||||
|
|
||||||
You can split your slides.md into multiple files and organize them as you want using the `src` attribute.
|
|
||||||
|
|
||||||
#### `slides.md`
|
|
||||||
|
|
||||||
```markdown
|
|
||||||
# Page 1
|
|
||||||
|
|
||||||
Page 2 from main entry.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## src: ./subpage.md
|
|
||||||
```
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
#### `subpage.md`
|
|
||||||
|
|
||||||
```markdown
|
|
||||||
# Page 2
|
|
||||||
|
|
||||||
Page 2 from another file.
|
|
||||||
```
|
|
||||||
|
|
||||||
[Learn more](https://sli.dev/guide/syntax.html#importing-slides)
|
|
@ -1,12 +0,0 @@
|
|||||||
/* eslint-disable no-console */
|
|
||||||
|
|
||||||
// #region snippet
|
|
||||||
// Inside ./snippets/external.ts
|
|
||||||
export function emptyArray<T>(length: number) {
|
|
||||||
return Array.from<T>({ length })
|
|
||||||
}
|
|
||||||
// #endregion snippet
|
|
||||||
|
|
||||||
export function sayHello() {
|
|
||||||
console.log('Hello from snippets/external.ts')
|
|
||||||
}
|
|
Reference in New Issue
Block a user