Fix favicon basepath
This commit is contained in:
parent
b1d9ab3c53
commit
9fb0aa2822
3 changed files with 37 additions and 37 deletions
36
src/app.html
36
src/app.html
|
@ -3,42 +3,6 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link
|
|
||||||
href="/assets/favicon/favicon.ico"
|
|
||||||
type="image/x-icon"
|
|
||||||
rel="icon"
|
|
||||||
media="(prefers-color-scheme: light)"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
href="/assets/favicon-dark/favicon.ico"
|
|
||||||
type="image/x-icon"
|
|
||||||
rel="icon"
|
|
||||||
media="(prefers-color-scheme: dark)"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
href="/assets/favicon/favicon.png"
|
|
||||||
type="image/png"
|
|
||||||
rel="icon"
|
|
||||||
media="(prefers-color-scheme: light)"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
href="/assets/favicon-dark/favicon.png"
|
|
||||||
type="image/png"
|
|
||||||
rel="icon"
|
|
||||||
media="(prefers-color-scheme: dark)"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
href="/assets/favicon/favicon.svg"
|
|
||||||
type="image/svg+xml"
|
|
||||||
rel="icon"
|
|
||||||
media="(prefers-color-scheme: light)"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
href="/assets/favicon-dark/favicon.svg"
|
|
||||||
type="image/svg+xml"
|
|
||||||
rel="icon"
|
|
||||||
media="(prefers-color-scheme: dark)"
|
|
||||||
/>
|
|
||||||
%sveltekit.head%
|
%sveltekit.head%
|
||||||
</head>
|
</head>
|
||||||
<body data-sveltekit-preload-data="hover">
|
<body data-sveltekit-preload-data="hover">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
// import { PUBLIC_BASE_URL } from '$lib/config';
|
import { base } from '$app/paths';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
Container,
|
Container,
|
||||||
|
@ -18,6 +18,42 @@
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<title>OrangeBTClock</title>
|
<title>OrangeBTClock</title>
|
||||||
|
<link
|
||||||
|
href="{base}/assets/favicon/favicon.ico"
|
||||||
|
type="image/x-icon"
|
||||||
|
rel="icon"
|
||||||
|
media="(prefers-color-scheme: light)"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
href="{base}/assets/favicon-dark/favicon.ico"
|
||||||
|
type="image/x-icon"
|
||||||
|
rel="icon"
|
||||||
|
media="(prefers-color-scheme: dark)"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
href="{base}/assets/favicon/favicon.png"
|
||||||
|
type="image/png"
|
||||||
|
rel="icon"
|
||||||
|
media="(prefers-color-scheme: light)"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
href="{base}/assets/favicon-dark/favicon.png"
|
||||||
|
type="image/png"
|
||||||
|
rel="icon"
|
||||||
|
media="(prefers-color-scheme: dark)"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
href="{base}/assets/favicon/favicon.svg"
|
||||||
|
type="image/svg+xml"
|
||||||
|
rel="icon"
|
||||||
|
media="(prefers-color-scheme: light)"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
href="{base}/assets/favicon-dark/favicon.svg"
|
||||||
|
type="image/svg+xml"
|
||||||
|
rel="icon"
|
||||||
|
media="(prefers-color-scheme: dark)"
|
||||||
|
/>
|
||||||
<script
|
<script
|
||||||
type="module"
|
type="module"
|
||||||
src="https://unpkg.com/esp-web-tools@10/dist/web/install-button.js?module"
|
src="https://unpkg.com/esp-web-tools@10/dist/web/install-button.js?module"
|
||||||
|
|
0
static/.nojekyll
Normal file
0
static/.nojekyll
Normal file
Loading…
Reference in a new issue