Skip to content

Commit

Permalink
fix(web): no icon with firefox (immich-app#5679)
Browse files Browse the repository at this point in the history
* fix: no icon with firefox

* remove FaviconHeader.svelte
  • Loading branch information
martabal authored and JW-CH committed Dec 13, 2023
1 parent 3af3fe7 commit c6ab9a4
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 13 deletions.
7 changes: 7 additions & 0 deletions web/src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
/**
Expand Down
11 changes: 0 additions & 11 deletions web/src/lib/components/shared-components/favicon-header.svelte

This file was deleted.

2 changes: 0 additions & 2 deletions web/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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}
Expand Down
File renamed without changes
Binary file added web/static/favicon-144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added web/static/favicon-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added web/static/favicon.ico
Binary file not shown.
File renamed without changes

0 comments on commit c6ab9a4

Please sign in to comment.