mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-05 01:22:50 +00:00
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() }}
|
||||
|
||||
Reference in New Issue
Block a user