[ref] hub
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
import { getElevenTTSVoices, getWebSpeechTTSVoices, getVOICEVOXVoices } from "src/ts/process/tts";
|
import { getElevenTTSVoices, getWebSpeechTTSVoices, getVOICEVOXVoices } from "src/ts/process/tts";
|
||||||
import { checkCharOrder, getFileSrc } from "src/ts/storage/globalApi";
|
import { checkCharOrder, getFileSrc } from "src/ts/storage/globalApi";
|
||||||
import { addGroupChar, rmCharFromGroup } from "src/ts/process/group";
|
import { addGroupChar, rmCharFromGroup } from "src/ts/process/group";
|
||||||
import HubUpload from "../UI/HubUpload.svelte";
|
import HubUpload from "../UI/Realm/RealmUpload.svelte";
|
||||||
import TextInput from "../UI/GUI/TextInput.svelte";
|
import TextInput from "../UI/GUI/TextInput.svelte";
|
||||||
import NumberInput from "../UI/GUI/NumberInput.svelte";
|
import NumberInput from "../UI/GUI/NumberInput.svelte";
|
||||||
import TextAreaInput from "../UI/GUI/TextAreaInput.svelte";
|
import TextAreaInput from "../UI/GUI/TextAreaInput.svelte";
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { appVer, webAppSubVer } from "src/ts/storage/database";
|
import { appVer, webAppSubVer } from "src/ts/storage/database";
|
||||||
import GithubStars from "../Others/GithubStars.svelte";
|
import GithubStars from "../Others/GithubStars.svelte";
|
||||||
import Hub from "./Hub.svelte";
|
import Hub from "./Realm/RealmMain.svelte";
|
||||||
import { sideBarStore } from "src/ts/stores";
|
import { sideBarStore } from "src/ts/stores";
|
||||||
import { ArrowLeft } from "lucide-svelte";
|
import { ArrowLeft } from "lucide-svelte";
|
||||||
import { isNodeServer, isTauri, openURL } from "src/ts/storage/globalApi";
|
import { isNodeServer, isTauri, openURL } from "src/ts/storage/globalApi";
|
||||||
import { language } from "src/lang";
|
import { language } from "src/lang";
|
||||||
import { getRisuHub } from "src/ts/characterCards";
|
import { getRisuHub } from "src/ts/characterCards";
|
||||||
import RisuHubIcon from "./RisuHubIcon.svelte";
|
import RisuHubIcon from "./Realm/RealmHubIcon.svelte";
|
||||||
let openHub = false
|
let openHub = false
|
||||||
</script>
|
</script>
|
||||||
<div class="h-full w-full flex flex-col overflow-y-auto items-center">
|
<div class="h-full w-full flex flex-col overflow-y-auto items-center">
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
import { alertConfirm, alertInput, alertNormal } from "src/ts/alert";
|
import { alertConfirm, alertInput, alertNormal } from "src/ts/alert";
|
||||||
import { parseMarkdownSafe } from "src/ts/parser";
|
import { parseMarkdownSafe } from "src/ts/parser";
|
||||||
import { language } from "src/lang";
|
import { language } from "src/lang";
|
||||||
import RisuHubIcon from "./RisuHubIcon.svelte";
|
import RisuHubIcon from "./RealmHubIcon.svelte";
|
||||||
import { DataBase } from "src/ts/storage/database";
|
import { DataBase } from "src/ts/storage/database";
|
||||||
import TextInput from "./GUI/TextInput.svelte";
|
import TextInput from "../GUI/TextInput.svelte";
|
||||||
|
|
||||||
let openedData:null|hubType = null
|
let openedData:null|hubType = null
|
||||||
|
|
||||||
@@ -67,9 +67,9 @@
|
|||||||
import { alertError } from "src/ts/alert";
|
import { alertError } from "src/ts/alert";
|
||||||
import { shareRisuHub } from "src/ts/characterCards";
|
import { shareRisuHub } from "src/ts/characterCards";
|
||||||
import { DataBase, type character } from "src/ts/storage/database";
|
import { DataBase, type character } from "src/ts/storage/database";
|
||||||
import TextInput from "./GUI/TextInput.svelte";
|
import TextInput from "../GUI/TextInput.svelte";
|
||||||
import TextAreaInput from "./GUI/TextAreaInput.svelte";
|
import TextAreaInput from "../GUI/TextAreaInput.svelte";
|
||||||
import Button from "./GUI/Button.svelte";
|
import Button from "../GUI/Button.svelte";
|
||||||
export let close = () => {}
|
export let close = () => {}
|
||||||
export let char:character
|
export let char:character
|
||||||
let tags=""
|
let tags=""
|
||||||
Reference in New Issue
Block a user