Skip to content

Commit

Permalink
adding favicons and improving performance
Browse files Browse the repository at this point in the history
  • Loading branch information
DerLev committed Aug 2, 2023
1 parent 640bf37 commit 21c87c8
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 2 deletions.
26 changes: 26 additions & 0 deletions homepage/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,32 @@ const Document = () => {
href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="any" />
<link
rel="icon"
href="/favicon-32x32.png"
type="image/png"
sizes="32x32"
/>
<link
rel="icon"
href="/favicon-64x64.png"
type="image/png"
sizes="64x64"
/>
<link
rel="icon"
href="/favicon-128x128.png"
type="image/png"
sizes="128x128"
/>
<link
rel="apple-touch-icon"
href="/apple-touch-icon.png"
type="image/png"
sizes="180x180"
/>
<link rel="manifest" href="/manifest.json" />
</Head>
<body>
<Main />
Expand Down
3 changes: 1 addition & 2 deletions homepage/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ const Index = () => {
alt={'DerLev Profile'}
width={128}
css={styles.profile}
placeholder="blur"
quality={80}
loading="lazy"
priority
/>
<h1 css={styles.title}>
Hi, my name is <span css={styles.derlev}>DerLev</span>!
Expand Down
Binary file added homepage/public/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 homepage/public/favicon-128x128.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 homepage/public/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 homepage/public/favicon-64x64.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 modified homepage/public/favicon.ico
Binary file not shown.
Binary file added homepage/public/manifest-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 homepage/public/manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions homepage/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"$schema": "https://json.schemastore.org/web-manifest-combined.json",
"name": "DerLev",
"short_name": "DerLev",
"icons": [
{
"src": "/manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "/manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
}
],
"theme_color": "#6c01f9",
"background_color": "#050505",
"display": "browser",
"dir": "ltr",
"lang": "en-US"
}

0 comments on commit 21c87c8

Please sign in to comment.