Add proper favicon
This commit is contained in:
parent
dd71db4efb
commit
df7a34f355
8 changed files with 12 additions and 4 deletions
BIN
public/android-chrome-192x192.png
Normal file
BIN
public/android-chrome-192x192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.3 KiB |
BIN
public/android-chrome-512x512.png
Normal file
BIN
public/android-chrome-512x512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
BIN
public/apple-touch-icon.png
Normal file
BIN
public/apple-touch-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
BIN
public/favicon-16x16.png
Normal file
BIN
public/favicon-16x16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 732 B |
BIN
public/favicon-32x32.png
Normal file
BIN
public/favicon-32x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
public/favicon.ico
Normal file
BIN
public/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
2
public/site.webmanifest
Normal file
2
public/site.webmanifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
{"name":"Michael Bradley's Website","short_name":"Michael Bradley","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#0dcdcd","background_color":"#000000"}
|
||||
|
14
src/Head.tsx
14
src/Head.tsx
|
@ -18,12 +18,8 @@ const Styles = () => (
|
|||
<meta name="theme-color" content="#eaeaea" media="(prefers-color-scheme: light)" />
|
||||
</>
|
||||
);
|
||||
|
||||
// TODO: Find better icon than GH avatar
|
||||
// <link rel="icon" href="https://avatars.githubusercontent.com/u/68788583?s=48&v=4" />
|
||||
const SEO = () => (
|
||||
<>
|
||||
<link rel="icon" href="data:," />
|
||||
<meta name="keywords" content="Michael Bradley,personal website,programmer,coder,software developer" />
|
||||
<meta name="description" content="Michael Bradley's personal website" />
|
||||
<meta name="subject" content="Self-advertisement" />
|
||||
|
@ -60,12 +56,22 @@ const OpenGraph = () => (
|
|||
</>
|
||||
);
|
||||
|
||||
const Favicon = () => (
|
||||
<>
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
||||
<link rel="manifest" href="/site.webmanifest" />
|
||||
</>
|
||||
);
|
||||
|
||||
const Head = () => (
|
||||
<>
|
||||
<Preamble />
|
||||
<Styles />
|
||||
<SEO />
|
||||
<OpenGraph />
|
||||
<Favicon />
|
||||
</>
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue