Skip to content

Commit

Permalink
feature: 🌟 added favicons and manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
vanntile committed Mar 26, 2021
1 parent 870c0c9 commit 7107661
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ export default class MyDocument extends Document {
return (
<Html lang="en" className="dark">
<Head>
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicons/favicon-16x16.png" />
<link rel="manifest" href="/favicons/manifest.json" />
<link rel="shortcut icon" href="/favicons/favicon.ico" />
<meta name="apple-mobile-web-app-title" content="vanntile's portfolio" />
<meta name="application-name" content="vanntile's portfolio" />
<meta name="theme-color" content="#3429aa" />
<link
rel="preload"
href="./fonts/Objectivity-Regular.woff2"
Expand Down
Binary file added public/favicons/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicons/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicons/favicon.ico
Binary file not shown.
22 changes: 22 additions & 0 deletions public/favicons/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "vanntile's portfolio",
"short_name": "vanntile's portfolio",
"icons": [
{
"src": "/favicons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/favicons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#3429aa",
"background_color": "#3429aa",
"display": "standalone",
"start_url": "/",
"scope": "/",
"description": "vanntile's portfolio - Frontend developer and graphic designer."
}

0 comments on commit 7107661

Please sign in to comment.