mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2025-12-11 13:26:16 +00:00
@@ -41,6 +41,7 @@ const config = {
|
||||
"save",
|
||||
"settings_backup_restore",
|
||||
"sort",
|
||||
"shopping_bag",
|
||||
"filter_list",
|
||||
"settings_power",
|
||||
"link",
|
||||
|
||||
1
src/env.d.ts
vendored
1
src/env.d.ts
vendored
@@ -13,6 +13,7 @@ interface ImportMetaEnv {
|
||||
readonly VITE_DOCS_URL: string;
|
||||
readonly VITE_LEARN_URL: string;
|
||||
readonly VITE_LATEST_FIRMWARE: string;
|
||||
readonly VITE_STORE_URL: string;
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
|
||||
@@ -54,11 +54,6 @@
|
||||
><span class="icon">description</span> Docs</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href={import.meta.env.VITE_LEARN_URL} rel="noreferrer" target="_blank"
|
||||
><span class="icon">school</span> Train</a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
{#if !$serialPort}
|
||||
@@ -69,6 +64,16 @@
|
||||
<SyncOverlay />
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
<a href={import.meta.VITE_STORE_URL} rel="noreferrer" target="_blank"
|
||||
><span class="icon">shopping_bag</span> Store</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href={import.meta.env.VITE_LEARN_URL} rel="noreferrer" target="_blank"
|
||||
><span class="icon">school</span> Train</a
|
||||
>
|
||||
</li>
|
||||
<li class="hide-forced-colors">
|
||||
<input
|
||||
use:action={{ title: $LL.profile.theme.COLOR_SCHEME() }}
|
||||
|
||||
@@ -21,6 +21,7 @@ process.env["VITE_DOCS_URL"] = homepage;
|
||||
process.env["VITE_BUGS_URL"] = bugs.url;
|
||||
process.env["VITE_LEARN_URL"] = "https://www.iq-eq.io/";
|
||||
process.env["VITE_LATEST_FIRMWARE"] = "1.1.3";
|
||||
process.env["VITE_STORE_URL"] = "https://www.charachorder.com/";
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
|
||||
Reference in New Issue
Block a user