mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-09-14 13:36:36 +00:00
fix: use base path for favicon
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { resolve } from "$app/paths";
|
||||||
import { page } from "$app/state";
|
import { page } from "$app/state";
|
||||||
import Footer from "$lib/components/layout/Footer.svelte";
|
import Footer from "$lib/components/layout/Footer.svelte";
|
||||||
import TopBar from "$lib/components/layout/TopBar.svelte";
|
import TopBar from "$lib/components/layout/TopBar.svelte";
|
||||||
@@ -44,7 +45,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<link rel="icon" href="/favicon.svg" />
|
<link rel="icon" href={`${resolve("/")}favicon.svg`} />
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<main class="preview-root" data-theme={theme}>
|
<main class="preview-root" data-theme={theme}>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { resolve } from "$app/paths";
|
import { resolve } from "$app/paths";
|
||||||
|
import { getTheme, initTheme, setTheme } from "$lib/theme.svelte";
|
||||||
import { LOCALES, type Locale } from "$lib/v1/i18n/dict";
|
import { LOCALES, type Locale } from "$lib/v1/i18n/dict";
|
||||||
import { getLocale, initLocale, setLocale } from "$lib/v1/i18n/locale.svelte";
|
import { getLocale, initLocale, setLocale } from "$lib/v1/i18n/locale.svelte";
|
||||||
import { t } from "$lib/v1/i18n/t";
|
import { t } from "$lib/v1/i18n/t";
|
||||||
import { getTheme, initTheme, setTheme } from "$lib/theme.svelte";
|
|
||||||
import { onMount } from "svelte";
|
import { onMount } from "svelte";
|
||||||
import "../../app_v1.css";
|
import "../../app_v1.css";
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<link rel="icon" href="/favicon.svg" />
|
<link rel="icon" href={`${resolve("/")}favicon.svg`} />
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<div class="app">
|
<div class="app">
|
||||||
|
|||||||
Reference in New Issue
Block a user