-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: errors and missing components, use wildcard for CORS headers
- Loading branch information
1 parent
11670ca
commit 8c9ac92
Showing
19 changed files
with
425 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,3 @@ | ||
<script setup lang="ts"> | ||
import { useDark, usePreferredDark } from '@vueuse/core' | ||
const isDark = useDark() | ||
const preferredDark = usePreferredDark() | ||
// const toggleDark = useToggle(isDark) | ||
// https://github.com/vueuse/head | ||
// you can use this to manipulate the document head in any components, | ||
// they will be rendered correctly in the html results with vite-ssg | ||
useHead({ | ||
title: 'Vitesse', | ||
meta: [ | ||
{ | ||
name: 'description', | ||
content: 'Opinionated Vite Starter Template', | ||
}, | ||
{ | ||
name: 'theme-color', | ||
content: () => isDark.value ? '#00aba9' : '#ffffff', | ||
}, | ||
], | ||
link: [ | ||
{ | ||
rel: 'icon', | ||
type: 'image/svg+xml', | ||
href: () => preferredDark.value ? '/favicon-dark.svg' : '/favicon.svg', | ||
}, | ||
], | ||
}) | ||
</script> | ||
|
||
<template> | ||
<ClientOnly> | ||
<RouterView /> | ||
</ClientOnly> | ||
<RouterView /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<script setup lang="ts"> | ||
import { useSettings } from '../stores/settings' | ||
const settings = useSettings() | ||
</script> | ||
|
||
<template> | ||
<div space-x="2" flex="~ row" w-full> | ||
<div flex="~ row" w-full> | ||
<input | ||
v-model="settings.openAiApiBaseURL" | ||
placeholder="Input your API base URL" | ||
p="2" bg="zinc-100 dark:zinc-700" w-full rounded-lg outline-none | ||
> | ||
</div> | ||
<div flex="~ row" w-full> | ||
<input | ||
v-model="settings.openAiApiKey" | ||
placeholder="Input your API key" | ||
p="2" bg="zinc-100 dark:zinc-700" w-full rounded-lg outline-none | ||
> | ||
</div> | ||
<div flex="~ row" w-full> | ||
<input | ||
v-model="settings.elevenLabsApiKey" | ||
placeholder="Input your ElevenLabs API key" | ||
p="2" bg="zinc-100 dark:zinc-700" w-full rounded-lg outline-none | ||
> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
<template> | ||
<div> | ||
<ClientOnly> | ||
<MainStage /> | ||
</ClientOnly> | ||
<MainStage /> | ||
</div> | ||
</template> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,8 +147,6 @@ onMounted(() => { | |
|
||
<template> | ||
<div> | ||
<ClientOnly> | ||
<div /> | ||
</ClientOnly> | ||
<div /> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.