Update sidebar version display to use dynamic APP_VERSION import for improved maintainability
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
} from 'lucide-svelte';
|
} from 'lucide-svelte';
|
||||||
import { toast } from '$lib/toast.svelte';
|
import { toast } from '$lib/toast.svelte';
|
||||||
import { slide } from 'svelte/transition';
|
import { slide } from 'svelte/transition';
|
||||||
|
import { APP_VERSION } from '$lib/version';
|
||||||
|
|
||||||
let { onOpenSettings } = $props();
|
let { onOpenSettings } = $props();
|
||||||
|
|
||||||
@@ -502,7 +503,7 @@
|
|||||||
class="flex items-center gap-1.5 text-[11px] text-text-secondary hover:text-accent-blue transition-colors font-medium"
|
class="flex items-center gap-1.5 text-[11px] text-text-secondary hover:text-accent-blue transition-colors font-medium"
|
||||||
>
|
>
|
||||||
<GitBranch size={13} />
|
<GitBranch size={13} />
|
||||||
<span>v0.2.0</span>
|
<span>v{APP_VERSION}</span>
|
||||||
</a>
|
</a>
|
||||||
<p class="text-[11px] text-text-secondary font-medium">
|
<p class="text-[11px] text-text-secondary font-medium">
|
||||||
Created by <a
|
Created by <a
|
||||||
|
|||||||
Reference in New Issue
Block a user