ui: Use a PNG favicon

This commit is contained in:
nemunaire 2022-06-07 12:40:31 +02:00
parent ba096c0af1
commit 6aa0f4da95
3 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,6 @@
<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">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<meta name="robots" content="all"> <meta name="robots" content="all">
<base href="/"> <base href="/">
%sveltekit.head% %sveltekit.head%

View File

@ -148,6 +148,9 @@
{#if $challengeInfo} {#if $challengeInfo}
<title>{$challengeInfo.title}</title> <title>{$challengeInfo.title}</title>
<meta name="author" content="{$challengeInfo.authors}"> <meta name="author" content="{$challengeInfo.authors}">
{#if $challengeInfo.main_logo.length}
<link rel="icon" href="{$challengeInfo.main_logo[0].replace('$FILES$', '/files/')}">
{/if}
{/if} {/if}
</svelte:head> </svelte:head>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB