Skip to content

Commit

Permalink
feat(_documment): add icon links and manifest to Head
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Dec 27, 2021
1 parent d648593 commit aff6e99
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,26 @@ export default class MyDocument extends Document {
return (
<Html lang="pt">
<Head>
<meta charSet="utf-8" />

<link
href="/icons/icon-32x32.png"
rel="icon"
type="image/png"
sizes="32x32"
/>
<link
href="/icons/icon-100x100.png"
rel="icon"
type="image/png"
sizes="100x100"
/>
<link
href="/icons/icon-192x192.png"
rel="icon"
type="image/png"
sizes="192x192"
/>
<link rel="shortcut icon" href="/favicon.png" type="image/png" />
<link rel="manifest" href="/manifest.json" />

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
Expand Down

0 comments on commit aff6e99

Please sign in to comment.