chore(stage-ui,stage-pages): update WIP to use Callout, add proper WIP for modules WIP

This commit is contained in:
Neko Ayaka
2025-12-21 02:06:14 +08:00
parent 6868550dc8
commit 4cb0384f26
4 changed files with 18 additions and 45 deletions
@@ -1,31 +1,9 @@
<script setup lang="ts">
import { Callout } from '@proj-airi/stage-ui/components'
import { WIP } from '@proj-airi/stage-ui/components'
</script>
<template>
<div>
<Callout
label="In development, needs your help!"
theme="orange"
>
<div>
This functionality is still under development. If you have any suggestions or would like to contribute, please reach out to us on our <a underline decoration-dotted href="https://github.com/moeru-ai/airi/issues">GitHub issues page</a>.
The source code of this page is located at <a underline decoration-dotted href="https://github.com/moeru-ai/airi/tree/main/apps/stage-web/src/pages/settings/memory/index.vue">here</a>.
</div>
</Callout>
</div>
<div
v-motion
text="neutral-200/50 dark:neutral-600/20" pointer-events-none
fixed top="[calc(100dvh-15rem)]" bottom-0 right--5 z--1
:initial="{ scale: 0.9, opacity: 0, y: 15 }"
:enter="{ scale: 1, opacity: 1, y: 0 }"
:duration="500"
size-60
flex items-center justify-center
>
<div text="60" i-solar:leaf-bold-duotone />
</div>
<WIP />
</template>
<route lang="yaml">
@@ -1,11 +1,9 @@
<script setup lang="ts">
// import { useServerStore } from '@proj-airi/stage-ui/stores/server'
// const serverStore = useServerStore()
import { WIP } from '@proj-airi/stage-ui/components'
</script>
<template>
<div />
<WIP />
</template>
<route lang="yaml">
@@ -1,11 +1,9 @@
<script setup lang="ts">
// import { useServerStore } from '@proj-airi/stage-ui/stores/servers'
// const serverStore = useServerStore()
import { WIP } from '@proj-airi/stage-ui/components'
</script>
<template>
<div />
<WIP />
</template>
<route lang="yaml">
+12 -13
View File
@@ -1,24 +1,23 @@
<script setup lang="ts">
import { useI18n } from 'vue-i18n'
import Callout from '../layouts/Callout.vue'
const { t } = useI18n()
</script>
<template>
<div
flex="~ col" gap-3
rounded-lg border="2 orange-200 dark:orange-800"
bg="orange-50 dark:orange-950/30"
p-6
>
<div flex items-center gap-2 text="orange-600 dark:orange-400">
<div i-solar:usb-circle-bold-duotone text-xl />
<h2 text-lg font-semibold>
{{ t('settings.wip.title') }}
</h2>
</div>
<Callout theme="orange">
<template #label>
<div flex items-center gap-2 text="orange-600 dark:orange-400">
<div i-solar:usb-circle-bold-duotone text-xl />
<span font-semibold>
{{ t('settings.wip.title') }}
</span>
</div>
</template>
<p text="sm neutral-700 dark:neutral-300">
{{ t('settings.wip.description') }}
</p>
</div>
</Callout>
</template>