Skip to content

Commit

Permalink
feature: set color for mobile browser status bar
Browse files Browse the repository at this point in the history
it'll diffirent due to the dark or light mode of mobile devices.
  • Loading branch information
ohplz committed Mar 12, 2023
1 parent d999abd commit 3830c9f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/PageHead.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export const PageHead: React.FC<
content='width=device-width, initial-scale=1, shrink-to-fit=no'
/>

<meta name="theme-color" media="(prefers-color-scheme: light)" content="#fefffe" key="theme-color-light"/>
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#2d3439" key="theme-color-dark"/>

<meta name='robots' content='index,follow' />
<meta property='og:type' content='website' />

Expand Down

0 comments on commit 3830c9f

Please sign in to comment.