Skip to content

Commit

Permalink
refactor: split into components
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Dec 13, 2024
1 parent c02e385 commit 2d9cdd2
Show file tree
Hide file tree
Showing 15 changed files with 765 additions and 591 deletions.
6 changes: 6 additions & 0 deletions packages/stage/src/auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ declare global {
const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel']
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
const useCached: typeof import('@vueuse/core')['useCached']
const useChat: typeof import('./composables/chat')['useChat']
const useChatStore: typeof import('./stores/chat')['useChatStore']
const useClipboard: typeof import('@vueuse/core')['useClipboard']
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems']
const useCloned: typeof import('@vueuse/core')['useCloned']
Expand Down Expand Up @@ -250,6 +252,8 @@ declare global {
const useShare: typeof import('@vueuse/core')['useShare']
const useSlots: typeof import('vue')['useSlots']
const useSorted: typeof import('@vueuse/core')['useSorted']
const useSpeak: typeof import('./stores/audio')['useSpeak']
const useSpeakingStore: typeof import('./stores/audio')['useSpeakingStore']
const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition']
const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis']
const useStepper: typeof import('@vueuse/core')['useStepper']
Expand Down Expand Up @@ -448,6 +452,7 @@ declare module 'vue' {
readonly useBroadcastChannel: UnwrapRef<typeof import('@vueuse/core')['useBroadcastChannel']>
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
readonly useChatStore: UnwrapRef<typeof import('./stores/chat')['useChatStore']>
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
Expand Down Expand Up @@ -560,6 +565,7 @@ declare module 'vue' {
readonly useShare: UnwrapRef<typeof import('@vueuse/core')['useShare']>
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
readonly useSorted: UnwrapRef<typeof import('@vueuse/core')['useSorted']>
readonly useSpeakingStore: UnwrapRef<typeof import('./stores/audio')['useSpeakingStore']>
readonly useSpeechRecognition: UnwrapRef<typeof import('@vueuse/core')['useSpeechRecognition']>
readonly useSpeechSynthesis: UnwrapRef<typeof import('@vueuse/core')['useSpeechSynthesis']>
readonly useStepper: UnwrapRef<typeof import('@vueuse/core')['useStepper']>
Expand Down
15 changes: 15 additions & 0 deletions packages/stage/src/components/Layouts/Header.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<script setup lang="ts">
import Settings from '../Settings.vue'
</script>

<template>
<header flex="~" mb-1 w-full gap-2>
<div flex="~ 1" w-full items-center gap-2 text-nowrap text-2xl>
<div i-solar:cat-outline text="[#ed869d]" />
<div font-cute>
<span>アイリ</span>
</div>
</div>
<Settings />
</header>
</template>
Loading

0 comments on commit 2d9cdd2

Please sign in to comment.