1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

fix(web): no icon with firefox (#5679)

* fix: no icon with firefox

* remove FaviconHeader.svelte
This commit is contained in:
martin 2023-12-13 17:04:06 +01:00 committed by GitHub
parent 885eba2b7c
commit 523d01068f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 7 additions and 13 deletions

View File

@ -6,6 +6,13 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png" />
<link rel="icon" type="image/png" sizes="48x48" href="/favicon-48.png" />
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96.png" />
<link rel="icon" type="image/png" sizes="144x144" href="/favicon-144.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180.png" />
%sveltekit.head%
<script>
/**

View File

@ -1,11 +0,0 @@
<script lang="ts">
import IconAppleTouch180 from '$lib/assets/favicon/apple-icon-180.png';
import Icon16 from '$lib/assets/favicon/favicon-16.png';
import Icon32 from '$lib/assets/favicon/favicon-32.png';
import Icon96 from '$lib/assets/favicon/favicon-96.png';
</script>
<link rel="icon" type="image/png" sizes="16x16" href={Icon16} />
<link rel="icon" type="image/png" sizes="32x32" href={Icon32} />
<link rel="icon" type="image/png" sizes="96x96" href={Icon96} />
<link rel="apple-touch-icon" sizes="180x180" href={IconAppleTouch180} />

View File

@ -11,7 +11,6 @@
import UploadCover from '$lib/components/shared-components/drag-and-drop-upload-overlay.svelte';
import FullscreenContainer from '$lib/components/shared-components/fullscreen-container.svelte';
import AppleHeader from '$lib/components/shared-components/apple-header.svelte';
import FaviconHeader from '$lib/components/shared-components/favicon-header.svelte';
import { onMount } from 'svelte';
import { loadConfig } from '$lib/stores/server-config.store';
import { handleError } from '$lib/utils/handle-error';
@ -83,7 +82,6 @@
<title>{$page.data.meta?.title || 'Web'} - Immich</title>
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="currentColor" />
<FaviconHeader />
<AppleHeader />
{#if $page.data.meta}

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

BIN
web/static/favicon-144.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 826 B

After

Width:  |  Height:  |  Size: 826 B

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
web/static/favicon-48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

BIN
web/static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB