Add documentation for CLI commands and introduce real-time voice command exploration

- Created a new README.md file detailing CLI commands for synchronization and usage.
- Added a section discussing the potential of real-time voice commands in daily life.
- Introduced a new slides.md file for a presentation on "超级桌面生活指令" (Super Desktop Life Commands).
- Included background and theme settings for the presentation slides.
This commit is contained in:
2025-12-23 19:41:17 +08:00
commit 3653ad5932
13 changed files with 6985 additions and 0 deletions

31
components/GoBack.vue Normal file
View File

@@ -0,0 +1,31 @@
<template>
<div @click="onClick" class="mr-2 py-1 inline text-gray-500" hover:bg="white op-10">
<slot>
<carbon:arrow-left v-if="props.arrow === 'left'" />
<carbon:arrow-right v-else-if="props.arrow === 'right'" />
<carbon:arrow-up v-else-if="props.arrow === 'up'" />
<carbon:arrow-down v-else-if="props.arrow === 'down'" />
<carbon:arrow-left v-else />
</slot>
</div>
</template>
<script setup lang="ts">
import { useSlideContext } from '@slidev/client';
const { $slidev } = useSlideContext();
const props = defineProps({
go: {
default: 1,
type: [Number, String],
},
arrow: {
type: String,
default: 'left', // 'left', 'right', 'up', or 'down'
},
});
const onClick = () => {
const go = props.go;
console.log('GoBack.vue go:', go);
$slidev.nav.go(go);
};
</script>