Skip to content

Commit b91b8cf

Browse files
Add custom favicon
1 parent 2108f61 commit b91b8cf

File tree

9 files changed

+12
-5
lines changed

9 files changed

+12
-5
lines changed

web/components/Layout.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,16 @@ function Layout(props) {
4949

5050
<title>Jason Roundtree - Blog</title>
5151
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
52-
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400&display=swap" rel="stylesheet"></link>
53-
<link href="https://fonts.googleapis.com/css2?family=Nanum+Gothic+Coding&display=swap" rel="stylesheet"></link>
54-
<link href="https://fonts.googleapis.com/css2?family=Cuprum&family=Fjalla+One&display=swap" rel="stylesheet"></link>
55-
<link href="https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap" rel="stylesheet"></link>
56-
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap" rel="stylesheet"></link>
52+
{/* TODO: check to see if favicons load after build */}
53+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/>
54+
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/>
55+
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/>
56+
<link rel="manifest" href="/site.webmanifest"/>
57+
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400&display=swap" rel="stylesheet"/>
58+
<link href="https://fonts.googleapis.com/css2?family=Nanum+Gothic+Coding&display=swap" rel="stylesheet"/>
59+
<link href="https://fonts.googleapis.com/css2?family=Cuprum&family=Fjalla+One&display=swap" rel="stylesheet"/>
60+
<link href="https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap" rel="stylesheet"/>
61+
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap" rel="stylesheet"/>
5762
</Head>
5863

5964
<Header>

web/pages/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ function Index({
153153
<Link
154154
href='/posts/[slug]'
155155
as={`/posts/${slug.current}`}
156+
key={_id}
156157
>
157158
<ListItem key={_id}>
158159
<ListItemLink>{title}</ListItemLink>
7.05 KB
Loading
21.8 KB
Loading

web/public/apple-touch-icon.png

6.6 KB
Loading

web/public/favicon-16x16.png

396 Bytes
Loading

web/public/favicon-32x32.png

886 Bytes
Loading

web/public/favicon.ico

15 KB
Binary file not shown.

web/public/site.webmanifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

0 commit comments

Comments
 (0)