Skip to content

Commit

Permalink
favicon tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
mimecuvalo committed Nov 4, 2023
1 parent c12efd9 commit f5efd79
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/content/ContentHead.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export default function ContentHead(props: {
{contentOwner ? (
<link rel="author" href={contentUrl({ username, section: 'main', album: '', name: 'about' })} />
) : null}
<link rel="icon" href={favicon || `/favicon.jpg`} />
<link rel="shortcut icon" href={favicon || `/favicon.jpg`} />
<link rel="icon" href={favicon || `/favicon.jpg`} sizes="32x32" />
<link rel="icon" href={favicon || `/favicon.svg`} type="image/svg+xml" />
<link rel="apple-touch-icon" href={favicon || `/favicon.jpg`} />
<link
rel="search"
Expand Down
2 changes: 1 addition & 1 deletion pages/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default function Dashboard() {
{user.theme && <link rel="stylesheet" href={user.theme} />}
<title>Dashboard – {user.title}</title>
<link rel="icon" href={user.favicon || `/favicon.jpg`} />
<link rel="shortcut icon" href={user.favicon || `/favicon.jpg`} />
<link rel="apple-touch-icon" href={user.favicon || `/favicon.jpg`} />
</Head>
<Hamburger
aria-label={menuButtonLabel}
Expand Down
30 changes: 30 additions & 0 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f5efd79

Please sign in to comment.