Skip to content

Commit

Permalink
fix: favicon
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jan 3, 2024
1 parent 3b4f23c commit d212c69
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,18 @@ export default async function RootLayout(props: Props) {
<SayHi />
<HydrationEndDetector />

<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link
rel="shortcut icon"
href={themeConfig.config.site.faviconDark}
type="image/x-icon"
media="(prefers-color-scheme: dark)"
/>
<link
rel="shortcut icon"
href={themeConfig.config.site.favicon}
type="image/x-icon"
media="(prefers-color-scheme: light)"
/>
</head>
<body
className={`${sansFont.variable} ${serifFont.variable} m-0 h-full p-0 font-sans`}
Expand Down

1 comment on commit d212c69

@vercel
Copy link

@vercel vercel bot commented on d212c69 Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

innei.in
shiro-git-main-innei.vercel.app
springtide.vercel.app
shiro-innei.vercel.app

Please sign in to comment.