Skip to content

Commit

Permalink
fix: favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
lishaduck committed Mar 22, 2024
1 parent 96be4fb commit afb3320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/routes/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
appleTouchIconPngUrl,
description,
faviconIcoUrl,
faviconSvgUrl,
keywords,
logoSvgUrl,
} from "../site.ts";

/**
Expand All @@ -15,7 +15,7 @@ import {
const metas = (
<>
<link rel="icon" href={faviconIcoUrl} sizes="48x48" />
<link rel="icon" href={faviconSvgUrl} sizes="any" type="image/svg+xml" />
<link rel="icon" href={logoSvgUrl} sizes="any" type="image/svg+xml" />
<link rel="apple-touch-icon" href={appleTouchIconPngUrl} />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="#005" />
Expand Down
1 change: 0 additions & 1 deletion src/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export function makeTitle<const T extends string>(pageTitle: T): Title<T> {
}

export const faviconIcoUrl = "/favicon.ico" as const;
export const faviconSvgUrl = "/favicon.svg" as const;
export const appleTouchIconPngUrl = "/apple-touch-icon.png" as const;
export const logoSvgUrl = "/logo.svg" as const;
export const logoAlt =
Expand Down

0 comments on commit afb3320

Please sign in to comment.