update favicon
All checks were successful
deploy / build-and-deploy (push) Successful in 22s

This commit is contained in:
2025-05-20 13:26:31 +02:00
parent b7634b5992
commit b610b30a78
3 changed files with 2 additions and 10 deletions

BIN
src/assets/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -1,6 +1,7 @@
---
import { ClientRouter } from 'astro:transitions';
import { BASE_PATH } from 'astro:env/server';
import favicon from '../assets/favicon.png';
interface Props {
title: string;
@ -18,7 +19,7 @@ const { title, description, keywords, viewTransition } = Astro.props;
{viewTransition && <ClientRouter />}
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/png" href={favicon.src} />
<title>{title}</title>
<meta name="og:title" content={title} />
<meta name="description" content={description} />